|
Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions 11g Release 1 (11.1.1) E17787-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.sigmadynamics.server.DataServices.DatabaseProvider.DatabaseTable
public abstract class DatabaseTable
Field Summary | |
---|---|
protected DatabaseProviderInterface |
database |
protected static SDCategory |
log |
protected java.lang.String |
sqlString |
protected TableCacheEntry |
tableCacheEntry |
protected java.lang.String |
tableName |
Method Summary | |
---|---|
DeadlockHandler |
getDeadlockHandler() |
java.lang.String |
getName() Returns the name of the database object, which can be a table or a stored procedure. |
abstract java.lang.String |
getOperationName() Returns SQL operation name, which can be INSERT, UPDATE, DELETE for a table, or EXECUTE for a stored procedure. |
DatabaseProviderInterface |
getProvider() |
java.lang.String |
getQualifiedName() Returns a string like "table table_name" or "stored procedure stored_procedure_name". |
java.lang.String |
getSql() |
java.lang.String |
getSQLStatement() Returns the SQL string that was prepared. |
void |
initializeFromRefreshedCache() Tells the object that it needs to refresh itself from cache because an error occurred and maybe newer cache information will help it succeed. |
java.sql.PreparedStatement |
prepareStatement(java.sql.Connection conn) |
abstract void |
rebuildSql() |
void |
reportRetries(int retryCount) Generates a warning that execution was successful but required at least one retry. |
void |
setSqlString(java.lang.String sqlString) |
java.lang.String[] |
translateColumnNames(java.lang.String[] colNames) Translate column names so that they will work on databases that are or are not case sensitive. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final DatabaseProviderInterface database
protected java.lang.String sqlString
protected java.lang.String tableName
protected TableCacheEntry tableCacheEntry
protected static final SDCategory log
Method Detail |
---|
public java.lang.String getName()
BatchUpdaterClient
getName
in interface BatchUpdaterClient
public java.lang.String getQualifiedName()
BatchUpdaterClient
getQualifiedName
in interface BatchUpdaterClient
public DatabaseProviderInterface getProvider()
getProvider
in interface BatchUpdaterClient
public java.lang.String getSql()
public java.sql.PreparedStatement prepareStatement(java.sql.Connection conn)
prepareStatement
in interface BatchUpdaterClient
public java.lang.String[] translateColumnNames(java.lang.String[] colNames)
The solution used here is to do a case insensitive match of the columns with the names of the columns in the database and then use the names from the database.
colNames
- the names of the columns to translatepublic DeadlockHandler getDeadlockHandler()
public void setSqlString(java.lang.String sqlString)
public void reportRetries(int retryCount)
BatchUpdaterClient
reportRetries
in interface BatchUpdaterClient
public void initializeFromRefreshedCache()
BatchUpdaterClient
initializeFromRefreshedCache
in interface BatchUpdaterClient
public abstract void rebuildSql()
rebuildSql
in interface BatchUpdaterClient
public abstract java.lang.String getOperationName()
BatchUpdaterClient
getOperationName
in interface BatchUpdaterClient
public java.lang.String getSQLStatement()
BatchUpdaterClient
getSQLStatement
in interface BatchUpdaterClient
|
Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions 11g Release 1 (11.1.1) E17787-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |