|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.sdk.SDKAccessor
SDKAccessor
is a facile implementation of the Accessor
interface. The only things of real substance it does is:
SDKCall
sSDKCall
, SDKLogin
Constructor Summary | |
SDKAccessor() Default Constructor. |
Method Summary | |
void |
afterJTSTransaction() To be called after JTS transaction has been completed (committed or rolled back) |
void |
beginTransaction(oracle.toplink.publicinterface.Session session) Begin a transaction on the "data store". |
java.lang.Object |
clone() Clone the accessor. |
void |
closeConnection() Close the accessor's connection. |
void |
commitTransaction(oracle.toplink.publicinterface.Session session) Commit the current transaction on the "data store". |
void |
connect(DatabaseLogin login, oracle.toplink.publicinterface.Session session) Establish a connection to the "data store". |
void |
decrementCallCount() Decrement the number of calls in progress. |
void |
disconnect(oracle.toplink.publicinterface.Session session) Drop the connection to the "data store". |
java.lang.Object |
executeCall(Call call, DatabaseRow translationRow, oracle.toplink.publicinterface.Session session) Execute the specified call with the specified parameter row. |
void |
flushSelectCalls(oracle.toplink.publicinterface.Session session) Added as a result of Bug 2804663 - satisfy the Accessor interface implementation. |
int |
getCallCount() Return the number of calls currently in progress. |
java.util.Vector |
getColumnInfo(java.lang.String catalog, java.lang.String schema, java.lang.String tableName, java.lang.String columnName, oracle.toplink.publicinterface.Session session) Return column information for the specified database objects. |
java.sql.Connection |
getConnection() Deprecated. replaced by ((oracle.toplink.internal.databaseaccess.DatabaseAccessor) accessor).getConnection() This has been deprecated as the data accessor is now generic (i.e. JDBC, XML, EIS, SDK). This method cannot be used for SDK accessors and is only implemented for backward compatibility. |
java.util.Vector |
getTableInfo(java.lang.String catalog, java.lang.String schema, java.lang.String tableName, java.lang.String[] types, oracle.toplink.publicinterface.Session session) Return table information for the specified database objects. |
void |
incrementCallCount(oracle.toplink.publicinterface.Session session) Increment the number of calls in progress. |
boolean |
isConnected() Return whether the accessor has a connection to the "data store". |
void |
logMessage(java.lang.String message, oracle.toplink.publicinterface.Session session) |
void |
reestablishConnection(oracle.toplink.publicinterface.Session session) Reconnect to the database. |
void |
rollbackTransaction(oracle.toplink.publicinterface.Session session) Roll back the current transaction on the "data store". |
java.lang.String |
toString() Call #toString(PrintWriter) , to allow subclasses to insert additional information. |
boolean |
usesExternalTransactionController() Return whether the accessor uses an external transaction controller (e.g. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SDKAccessor()
Method Detail |
public void afterJTSTransaction()
oracle.toplink.internal.databaseaccess.Accessor
afterJTSTransaction
in interface oracle.toplink.internal.databaseaccess.Accessor
public void beginTransaction(oracle.toplink.publicinterface.Session session) throws SDKDataStoreException
beginTransaction
in interface oracle.toplink.internal.databaseaccess.Accessor
SDKDataStoreException
public java.lang.Object clone()
clone
in interface oracle.toplink.internal.databaseaccess.Accessor
public void closeConnection()
closeConnection
in interface oracle.toplink.internal.databaseaccess.Accessor
public void commitTransaction(oracle.toplink.publicinterface.Session session) throws SDKDataStoreException
commitTransaction
in interface oracle.toplink.internal.databaseaccess.Accessor
SDKDataStoreException
public void connect(DatabaseLogin login, oracle.toplink.publicinterface.Session session) throws SDKDataStoreException
connect
in interface oracle.toplink.internal.databaseaccess.Accessor
SDKDataStoreException
public void decrementCallCount()
decrementCallCount
in interface oracle.toplink.internal.databaseaccess.Accessor
public void disconnect(oracle.toplink.publicinterface.Session session) throws SDKDataStoreException
disconnect
in interface oracle.toplink.internal.databaseaccess.Accessor
SDKDataStoreException
public java.lang.Object executeCall(Call call, DatabaseRow translationRow, oracle.toplink.publicinterface.Session session) throws SDKDataStoreException
executeCall
in interface oracle.toplink.internal.databaseaccess.Accessor
SDKDataStoreException
public int getCallCount()
getCallCount
in interface oracle.toplink.internal.databaseaccess.Accessor
public java.util.Vector getColumnInfo(java.lang.String catalog, java.lang.String schema, java.lang.String tableName, java.lang.String columnName, oracle.toplink.publicinterface.Session session) throws SDKDataStoreException
getColumnInfo
in interface oracle.toplink.internal.databaseaccess.Accessor
SDKDataStoreException
public java.sql.Connection getConnection()
getConnection
in interface oracle.toplink.internal.databaseaccess.Accessor
public java.util.Vector getTableInfo(java.lang.String catalog, java.lang.String schema, java.lang.String tableName, java.lang.String[] types, oracle.toplink.publicinterface.Session session) throws SDKDataStoreException
getTableInfo
in interface oracle.toplink.internal.databaseaccess.Accessor
SDKDataStoreException
public void incrementCallCount(oracle.toplink.publicinterface.Session session)
incrementCallCount
in interface oracle.toplink.internal.databaseaccess.Accessor
public boolean isConnected()
isConnected
in interface oracle.toplink.internal.databaseaccess.Accessor
public void logMessage(java.lang.String message, oracle.toplink.publicinterface.Session session)
public void reestablishConnection(oracle.toplink.publicinterface.Session session) throws SDKDataStoreException
reestablishConnection
in interface oracle.toplink.internal.databaseaccess.Accessor
SDKDataStoreException
public void rollbackTransaction(oracle.toplink.publicinterface.Session session) throws SDKDataStoreException
rollbackTransaction
in interface oracle.toplink.internal.databaseaccess.Accessor
SDKDataStoreException
public java.lang.String toString()
#toString(PrintWriter)
, to allow subclasses to insert additional information.public boolean usesExternalTransactionController()
usesExternalTransactionController
in interface oracle.toplink.internal.databaseaccess.Accessor
public void flushSelectCalls(oracle.toplink.publicinterface.Session session)
flushSelectCalls
in interface oracle.toplink.internal.databaseaccess.Accessor
LOBValueWriter.buildAndExecuteCallForLocator(DatabaseCall,Session,Accessor)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |