|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.persist.jdbc.DBAccess
com.sibvisions.rad.persist.jdbc.OracleDBAccess
public class OracleDBAccess
The OracleDBAccess is the implementation for Oracle databases.
DBAccess| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.persist.jdbc.DBAccess |
|---|
logger, LONGNVARCHAR, NCHAR, NCLOB, NVARCHAR, SQLXML |
| Constructor Summary | |
|---|---|
OracleDBAccess()
Constructs a new OracleDBAccess Object. |
|
| Method Summary | |
|---|---|
String |
getDatabaseSpecificLockStatement(String pWritebackTable,
MetaData pMetaData,
ICondition pPKFilter)
Returns the database specific statement to lock the specified row in the database. |
List<String[]> |
getUKs(String pCatalog,
String pSchema,
String pTable)
It's gets all columns for each Unique Key and return it. |
Object[] |
insertDatabaseSpecific(String pWritenbackTable,
String pInsertStatement,
MetaData pMetaData,
Object[] pNewDataRow,
String pDummyColumn)
Returns the newly inserted row from an Database specific insert statement. |
void |
open()
It opens the database and stores the Connection object. |
| 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, getUrl, getUsername, getWHEREClause, insert, insertAnsiSQL, isOpen, lockRow, quote, registerDBAccessClass, rollback, setColumnsToStore, setDBProperties, setDBProperty, setDriver, setFilterParameter, setMaxTime, setPassword, setQueryTimeOut, setUrl, setUsername, supportsGetGeneratedKeys, toString, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OracleDBAccess()
| Method Detail |
|---|
public String getDatabaseSpecificLockStatement(String pWritebackTable,
MetaData pMetaData,
ICondition pPKFilter)
throws DataSourceException
getDatabaseSpecificLockStatement in class DBAccesspWritebackTable - the table to use.pMetaData - the MetaDataColumn array to use.pPKFilter - the PK filter with the values to use.
DataSourceException - if some parts are missing for the statement
public Object[] insertDatabaseSpecific(String pWritenbackTable,
String pInsertStatement,
MetaData pMetaData,
Object[] pNewDataRow,
String pDummyColumn)
throws DataSourceException
insertDatabaseSpecific in class DBAccesspWritenbackTable - 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.
DataSourceException - if an Exception occur during insert to the storage
public void open()
throws DataSourceException
Connection object.
open in class DBAccessDataSourceException - if the database couldn't opened
public List<String[]> getUKs(String pCatalog,
String pSchema,
String pTable)
throws DataSourceException
getUKs in class DBAccesspCatalog - the catalog to usepSchema - the schema to usepTable - the table to use
DataSourceException - if an error occur during UK search process.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||