com.sibvisions.rad.persist.jdbc
Class PostgreSQLDBAccess
java.lang.Object
com.sibvisions.rad.persist.jdbc.DBAccess
com.sibvisions.rad.persist.jdbc.PostgreSQLDBAccess
- All Implemented Interfaces:
- IDBAccess
public class PostgreSQLDBAccess
- extends DBAccess
The PostgreSQLDBAccess is the implementation for Postgres databases.
- See Also:
DBAccess
| Methods inherited from class com.sibvisions.rad.persist.jdbc.DBAccess |
close, commit, delete, executeFunction, executeProcedure, executeUpdate, fetch, getAutomaticLinkColName, getColumnMetaData, getConnection, getDBAccess, getDBProperties, getDBProperty, getDriver, getFKs, getFromClause, getMaxTime, getPassword, getPK, getPreparedStatement, getQueryColumns, getSelectStatement, getUKs, getUrl, getUsername, getWHEREClause, insert, insertAnsiSQL, isOpen, lockRow, open, quote, registerDBAccessClass, rollback, setColumnsToStore, setDBProperties, setDBProperty, setDriver, setFilterParameter, setMaxTime, setPassword, setQueryTimeOut, setUrl, setUsername, supportsGetGeneratedKeys, toString, update |
PostgreSQLDBAccess
public PostgreSQLDBAccess()
- Constructs a new OracleDBAccess Object.
getDatabaseSpecificLockStatement
public String getDatabaseSpecificLockStatement(String pWritebackTable,
MetaData pMetaData,
ICondition pPKFilter)
throws DataSourceException
- Returns the database specific statement to lock the specified row in the database.
- Overrides:
getDatabaseSpecificLockStatement in class DBAccess
- Parameters:
pWritebackTable - the table to use.pMetaData - the MetaDataColumn array to use.pPKFilter - the PK filter with the values to use.
- Returns:
- the database specific statement to lock the specified row in the database.
- Throws:
DataSourceException - if some parts are missing for the statement
insertDatabaseSpecific
public Object[] insertDatabaseSpecific(String pWritebackTable,
String pInsertStatement,
MetaData pMetaData,
Object[] pNewDataRow,
String pDummyColumn)
throws DataSourceException
- Returns the newly inserted row from an Database specific insert statement.
Database specific derivations of DBAcces need to implement it database specific.
- Overrides:
insertDatabaseSpecific in class DBAccess
- Parameters:
pWritebackTable - the table to use for the insertpInsertStatement - the SQL Statement to use for the insertpMetaData - the meta data to use.pNewDataRow - the new row (Object[]) with the values to insertpDummyColumn - null, if all writeable columns are null, but for a correct INSERT it have
to be minimum one column to use in the syntax.
- Returns:
- the newly inserted row from an Oracle Database.
- Throws:
DataSourceException - if an Exception occur during insert to the storage
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.