|
EclipseLink 1.1.0_ 1.1.0.r3634 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.persistence.internal.databaseaccess.DatasourceAccessor
org.eclipse.persistence.eis.EISAccessor
public class EISAccessor
EISAccessor is an implementation of the Accessor
interface. It is responsible for:
EISInteraction,
EISLogin| Field Summary | |
|---|---|
protected javax.resource.cci.Connection |
cciConnection
|
protected javax.resource.cci.RecordFactory |
recordFactory
|
| Fields inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor |
|---|
callCount, currentSession, customizer, datasourceConnection, isConnected, isInTransaction, isValid, login, platform, READ_STATEMENTS_COUNT_PROPERTY, readStatementsCount, sequencingCallback, shouldCheckConnection, STOREDPROCEDURE_STATEMENTS_COUNT_PROPERTY, storedProcedureStatementsCount, usesExternalConnectionPooling, WRITE_STATEMENTS_COUNT_PROPERTY, writeStatementsCount |
| Constructor Summary | |
|---|---|
EISAccessor()
Default Constructor. |
|
| Method Summary | |
|---|---|
protected void |
basicBeginTransaction(org.eclipse.persistence.internal.sessions.AbstractSession session)
Begin a local transaction. |
protected void |
basicCommitTransaction(org.eclipse.persistence.internal.sessions.AbstractSession session)
Commit the local transaction. |
java.lang.Object |
basicExecuteCall(Call call,
org.eclipse.persistence.internal.sessions.AbstractRecord translationRow,
org.eclipse.persistence.internal.sessions.AbstractSession session)
Execute the interaction. |
void |
basicRollbackTransaction(org.eclipse.persistence.internal.sessions.AbstractSession session)
Rollback the local transaction on the datasource. |
protected void |
buildConnectLog(org.eclipse.persistence.internal.sessions.AbstractSession session)
If logging is turned on and the CCI implementation supports meta data then display connection info. |
protected void |
closeDatasourceConnection()
Close the connection. |
java.lang.Object |
executeCall(Call call,
org.eclipse.persistence.internal.sessions.AbstractRecord translationRow,
org.eclipse.persistence.internal.sessions.AbstractSession session)
Avoid super to have logging occur after possible manual auto-commit. |
javax.resource.cci.Connection |
getCCIConnection()
Return the CCI connection to the EIS resource adapter. |
EISPlatform |
getEISPlatform()
Return and cast the platform. |
javax.resource.cci.RecordFactory |
getRecordFactory()
Return the RecordFactory. |
protected boolean |
isDatasourceConnected()
Return if the connection to the "data source" is connected. |
void |
setRecordFactory(javax.resource.cci.RecordFactory recordFactory)
Set the RecordFactory. |
| Methods inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor |
|---|
beginTransaction, clone, closeConnection, closeJTSConnection, commitTransaction, connect, connectInternal, createCustomizer, decrementCallCount, disconnect, flushSelectCalls, getCallCount, getColumnInfo, getConnection, getDatasourceConnection, getDatasourcePlatform, getLogin, getReadStatementsCount, getSequencingCallback, getStoredProcedureStatementsCount, getTableInfo, getWriteStatementsCount, incrementCallCount, isConnected, isInTransaction, isValid, reconnect, reestablishConnection, reestablishCustomizer, releaseCustomizer, releaseCustomizer, resetStatmentsCount, rollbackTransaction, setCallCount, setCustomizer, setDatasourceConnection, setDatasourcePlatform, setIsConnected, setIsInTransaction, setIsValid, setLogin, usesExternalConnectionPooling, usesExternalTransactionController, writesCompleted |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.resource.cci.Connection cciConnection
protected javax.resource.cci.RecordFactory recordFactory
| Constructor Detail |
|---|
public EISAccessor()
| Method Detail |
|---|
protected void basicBeginTransaction(org.eclipse.persistence.internal.sessions.AbstractSession session)
throws EISException
basicBeginTransaction in class org.eclipse.persistence.internal.databaseaccess.DatasourceAccessorEISExceptionprotected void closeDatasourceConnection()
closeDatasourceConnection in class org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor
protected void basicCommitTransaction(org.eclipse.persistence.internal.sessions.AbstractSession session)
throws EISException
basicCommitTransaction in class org.eclipse.persistence.internal.databaseaccess.DatasourceAccessorEISExceptionprotected void buildConnectLog(org.eclipse.persistence.internal.sessions.AbstractSession session)
buildConnectLog in class org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor
public java.lang.Object executeCall(Call call,
org.eclipse.persistence.internal.sessions.AbstractRecord translationRow,
org.eclipse.persistence.internal.sessions.AbstractSession session)
throws DatabaseException
executeCall in interface org.eclipse.persistence.internal.databaseaccess.AccessorexecuteCall in class org.eclipse.persistence.internal.databaseaccess.DatasourceAccessorDatabaseException
public java.lang.Object basicExecuteCall(Call call,
org.eclipse.persistence.internal.sessions.AbstractRecord translationRow,
org.eclipse.persistence.internal.sessions.AbstractSession session)
throws DatabaseException
basicExecuteCall in class org.eclipse.persistence.internal.databaseaccess.DatasourceAccessorDatabaseExceptionpublic javax.resource.cci.Connection getCCIConnection()
public EISPlatform getEISPlatform()
public javax.resource.cci.RecordFactory getRecordFactory()
public void setRecordFactory(javax.resource.cci.RecordFactory recordFactory)
public void basicRollbackTransaction(org.eclipse.persistence.internal.sessions.AbstractSession session)
throws DatabaseException
basicRollbackTransaction in class org.eclipse.persistence.internal.databaseaccess.DatasourceAccessorDatabaseExceptionprotected boolean isDatasourceConnected()
isDatasourceConnected in class org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor
|
EclipseLink 1.1.0_ 1.1.0.r3634 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||