Methods Summary |
---|
public void | afterJTSTransaction()To be called after JTS transaction has been completed (committed or rolled back)
|
public void | beginTransaction(oracle.toplink.essentials.internal.sessions.AbstractSession session)Begin a transaction on the data store.
|
public java.lang.Object | clone()Return a clone of the accessor.
|
public void | closeConnection()Close the accessor's connection.
This is used only for external connection pooling
when it is intended for the connection to be reconnected in the future.
|
public void | commitTransaction(oracle.toplink.essentials.internal.sessions.AbstractSession session)Commit a transaction on the data store.
|
public void | connect(oracle.toplink.essentials.sessions.Login login, oracle.toplink.essentials.internal.sessions.AbstractSession session)Connect to the data store using the configuration
information in the login.
|
public void | decrementCallCount()Decrement the number of calls in progress.
Used for external pooling.
|
public void | disconnect(oracle.toplink.essentials.internal.sessions.AbstractSession session)Disconnect from the data store.
|
public java.lang.Object | executeCall(oracle.toplink.essentials.queryframework.Call call, oracle.toplink.essentials.internal.sessions.AbstractRecord translationRow, oracle.toplink.essentials.internal.sessions.AbstractSession session)Execute the call.
The actual behavior of the execution depends on the type of call.
The call may be parameterized where the arguments are in the translation row.
The row will be empty if there are no parameters.
|
public void | flushSelectCalls(oracle.toplink.essentials.internal.sessions.AbstractSession session)Execute any deferred select calls. This method will generally be called
after one or more select calls have been collected in a LOBValueWriter (to be
executed after all insert calls are executed).
Bug 2804663.
|
public int | getCallCount()Return the number of calls currently in progress.
Used for load balancing and external pooling.
|
public java.util.Vector | getColumnInfo(java.lang.String catalog, java.lang.String schema, java.lang.String tableName, java.lang.String columnName, oracle.toplink.essentials.internal.sessions.AbstractSession session)Return the column metadata for the specified
selection criteria.
|
public java.sql.Connection | getConnection()Return the JDBC connection for relational accessors.
This will fail for non-relational accessors.
|
public java.lang.Object | getDatasourceConnection()Return the driver level connection,
this will need to be cast to the implementation class for the data access type being used.
|
public java.util.Vector | getTableInfo(java.lang.String catalog, java.lang.String schema, java.lang.String tableName, java.lang.String[] types, oracle.toplink.essentials.internal.sessions.AbstractSession session)Return the table metadata for the specified
selection criteria.
|
public void | incrementCallCount(oracle.toplink.essentials.internal.sessions.AbstractSession session)Increment the number of calls in progress.
Used for external pooling.
|
public boolean | isConnected()Return whether the accessor is connected to the data store.
|
public void | reestablishConnection(oracle.toplink.essentials.internal.sessions.AbstractSession session)Reconnect to the database. This can be used if the connection was
temporarily disconnected or if it timed out.
|
public void | rollbackTransaction(oracle.toplink.essentials.internal.sessions.AbstractSession session)Roll back a transaction on the data store.
|
public boolean | usesExternalTransactionController()Return whether the accessor uses an external
transaction controller (e.g. JTS).
|
public void | writesCompleted(oracle.toplink.essentials.internal.sessions.AbstractSession session)This method will be called after a series of writes have been issued to
mark where a particular set of writes has completed. It will be called
from commitTransaction and may be called from writeChanges. Its main
purpose is to ensure that the batched statements have been executed
|