Uses of Interface
org.eclipse.persistence.internal.databaseaccess.Accessor
Package
Description
-
Uses of Accessor in org.eclipse.persistence.descriptors.partitioning
Modifier and TypeMethodDescriptionPartitioningPolicy.acquireAccessor
(String poolName, ServerSession session, DatabaseQuery query, boolean returnNullIfDead) INTERNAL: Return an accessor from the pool.PartitioningPolicy.getAccessor
(String poolName, AbstractSession session, DatabaseQuery query, boolean returnNullIfDead) INTERNAL: Return an accessor from the pool for the session.RoundRobinPartitioningPolicy.nextAccessor
(ServerSession session, DatabaseQuery query) INTERNAL: Return the next connection accessor.Modifier and TypeMethodDescriptionCustomPartitioningPolicy.getConnectionsForQuery
(AbstractSession session, DatabaseQuery query, AbstractRecord arguments) INTERNAL: Forward to custom policyHashPartitioningPolicy.getConnectionsForQuery
(AbstractSession session, DatabaseQuery query, AbstractRecord arguments) INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.PartitioningPolicy.getConnectionsForQuery
(AbstractSession session, DatabaseQuery query, AbstractRecord arguments) PinnedPartitioningPolicy.getConnectionsForQuery
(AbstractSession session, DatabaseQuery query, AbstractRecord arguments) INTERNAL: Get a connection from each pool.RangePartitioningPolicy.getConnectionsForQuery
(AbstractSession session, DatabaseQuery query, AbstractRecord arguments) INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.ReplicationPartitioningPolicy.getConnectionsForQuery
(AbstractSession session, DatabaseQuery query, AbstractRecord arguments) INTERNAL: Get a connection from each pool.RoundRobinPartitioningPolicy.getConnectionsForQuery
(AbstractSession session, DatabaseQuery query, AbstractRecord arguments) INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.UnionPartitioningPolicy.getConnectionsForQuery
(AbstractSession session, DatabaseQuery query, AbstractRecord arguments) INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.ValuePartitioningPolicy.getConnectionsForQuery
(AbstractSession session, DatabaseQuery query, AbstractRecord arguments) INTERNAL: Get a connection from one of the pools in a round robin rotation fashion. -
Uses of Accessor in org.eclipse.persistence.eis
Modifier and TypeClassDescriptionclass
EISAccessor
is an implementation of theAccessor
interface.Modifier and TypeMethodDescriptionEISLogin.connectToDatasource
(Accessor accessor, Session session) Connect to the EIS adapter and return the Connection. -
Uses of Accessor in org.eclipse.persistence.eis.interactions
Modifier and TypeMethodDescriptionEISInteraction.getLogString
(Accessor accessor) Return the string for logging purposes.QueryStringInteraction.getLogString
(Accessor accessor) Return the string for logging purposes.XMLInteraction.getLogString
(Accessor accessor) Return the string for logging purposes.XQueryInteraction.getLogString
(Accessor accessor) Return the string for logging purposes. -
Uses of Accessor in org.eclipse.persistence.exceptions
Modifier and TypeMethodDescriptionstatic QueryException
QueryException.invalidDatabaseAccessor
(Accessor accessor) void
DatabaseException.setAccessor
(Accessor accessor) INTERNAL: Set the Accessor.static DatabaseException
DatabaseException.sqlException
(SQLException exception, Accessor accessor, AbstractSession session, boolean isCommunicationFailure) static DatabaseException
DatabaseException.sqlException
(SQLException exception, Call call, Accessor accessor, AbstractSession session, boolean isCommunicationFailure) -
Uses of Accessor in org.eclipse.persistence.internal.databaseaccess
Modifier and TypeClassDescriptionclass
INTERNAL: DatabaseAccessor is private to EclipseLink.class
INTERNAL:DatasourceAccessor
is an abstract implementation of theAccessor
interface providing common functionality to the concrete database and EIS accessors.Modifier and TypeMethodDescriptionstatic void
DatabaseCall.appendLogParameters
(Collection parameters, Accessor accessor, StringWriter writer, AbstractSession session) Print the parameters to the write for logging purposes.DatasourcePlatform.createConnectionCustomizer
(Accessor accessor, AbstractSession session) INTERNAL:DatabaseCall.getLogString
(Accessor accessor) Return the SQL string for logging purposes.abstract String
DatasourceCall.getLogString
(Accessor accessor) Return the SQL string for logging purposes.ModifierConstructorDescriptionprotected
ConnectionCustomizer
(Accessor accessor, Session session) INTERNAL: Constructor accepts the accessor to which the customizer will be applied and the session that used for customization. -
Uses of Accessor in org.eclipse.persistence.internal.helper
ModifierConstructorDescriptionLOBValueWriter
(Accessor accessor) This is the default constructor for the class. -
Uses of Accessor in org.eclipse.persistence.internal.oxm
-
Uses of Accessor in org.eclipse.persistence.internal.sequencing
Modifier and TypeMethodDescriptionvoid
SequencingCallback.afterCommit
(Accessor accessor) INTERNAL: Called after transaction has committed by the object that owns it: Accessor in non-jta case, SynchronizationListener in jta case. -
Uses of Accessor in org.eclipse.persistence.internal.sessions
Modifier and TypeFieldDescriptionprotected Collection
<Accessor> AbstractSession.accessors
The connection to the data store.Modifier and TypeMethodDescriptionAbstractSession.getAccessor()
INTERNAL: This should normally not be used, most sessions do not have a single accessor.UnitOfWorkImpl.getAccessor()
INTERNAL: The uow does not store a local accessor but shares its parents.Modifier and TypeMethodDescriptionAbstractSession.getAccessors()
INTERNAL: This should normally not be used, most sessions do not have specific accessors.AbstractSession.getAccessors
(Call call, AbstractRecord translationRow, DatabaseQuery query) INTERNAL: Return the connections to use for the query execution.ExclusiveIsolatedClientSession.getAccessors()
INTERNAL: Always use writeConnection.UnitOfWorkImpl.getAccessors()
INTERNAL: The uow does not store a local accessor but shares its parents.UnitOfWorkImpl.getAccessors
(Call call, AbstractRecord translationRow, DatabaseQuery query) INTERNAL: Return the connections to use for the query execution.Modifier and TypeMethodDescriptionprotected void
AbstractSession.basicBeginTransaction
(Accessor accessor) INTERNAL: Called by beginTransaction() to start a transaction.void
PUBLIC:void
AbstractSession.log
(int level, String category, String message, Object[] params, Accessor accessor, boolean shouldTranslate) PUBLIC:void
AbstractSession.postAcquireConnection
(Accessor accessor) INTERNAL: This method rises appropriate for the session event(s) right after connection is acquired.void
ExclusiveIsolatedClientSession.postAcquireConnection
(Accessor accessor) INTERNAL: This method rises appropriate for the session event(s) right after connection is acquired.void
AbstractSession.preReleaseConnection
(Accessor accessor) INTERNAL: This method rises appropriate for the session event(s) right before the connection is released.void
ExclusiveIsolatedClientSession.preReleaseConnection
(Accessor accessor) INTERNAL: This method rises appropriate for the session event(s) right before the connection is released.void
AbstractSession.releaseReadConnection
(Accessor connection) INTERNAL:void
UnitOfWorkImpl.releaseReadConnection
(Accessor connection) INTERNAL: Release the read connection to the read connection pool.AbstractSession.retryTransaction
(Accessor accessor, DatabaseException databaseException, int retryCount, AbstractSession executionSession) INTERNAL: A begin transaction failed.void
AbstractSession.setAccessor
(Accessor accessor) INTERNAL: Set the accessor.void
ExclusiveIsolatedClientSession.setAccessor
(Accessor accessor) INTERNAL: Provided for consistency. -
Uses of Accessor in org.eclipse.persistence.logging
Modifier and TypeMethodDescriptionEclipseLinkLogRecord.getConnection()
SessionLogEntry.getConnection()
Return the connection that generated the log entry.Modifier and TypeMethodDescriptionprotected String
AbstractSessionLog.getConnectionString
(Accessor connection) Return the specified connection information.void
EclipseLinkLogRecord.setConnection
(Accessor connection) void
SessionLogEntry.setConnection
(Accessor connection) Set the connection that generated the log entry.ModifierConstructorDescriptionSessionLogEntry
(int level, String category, AbstractSession session, String message, Object[] params, Accessor connection, boolean shouldTranslate) Create a new session log entry for a request level, a category, a session, a message, parameters and an accessor.SessionLogEntry
(int level, AbstractSession session, String message, Object[] params, Accessor connection, boolean shouldTranslate) Create a new session log entry for a request level, a session, a message, parameters and an accessor.SessionLogEntry
(AbstractSession session, String message, Accessor connection) Create a new session log entry for a session, a message and an accessor. -
Uses of Accessor in org.eclipse.persistence.nosql.adapters.mongo
Modifier and TypeMethodDescriptionOIDSequence.getGeneratedValue
(Accessor accessor, AbstractSession writeSession, String seqName) Vector
<?> OIDSequence.getGeneratedVector
(Accessor accessor, AbstractSession writeSession, String seqName, int size) -
Uses of Accessor in org.eclipse.persistence.oxm
Modifier and TypeMethodDescriptionXMLLogin.buildAccessor()
INTERNAL: Returns the appropriate accessor -
Uses of Accessor in org.eclipse.persistence.platform.database.oracle
Modifier and TypeMethodDescriptionOracle9Platform.createConnectionCustomizer
(Accessor accessor, AbstractSession session) INTERNAL:ModifierConstructorDescriptionOracleJDBC_10_1_0_2ProxyConnectionCustomizer
(Accessor accessor, Session session) INTERNAL: Should be instantiated only if session.getProperty(PersistenceUnitProperties.ORACLE_PROXY_TYPE) != null. -
Uses of Accessor in org.eclipse.persistence.platform.database.oracle.plsql
Modifier and TypeMethodDescriptionPLSQLStoredProcedureCall.getLogString
(Accessor accessor) INTERNAL: Build the log string for the call. -
Uses of Accessor in org.eclipse.persistence.platform.server
Modifier and TypeMethodDescriptionboolean
ServerPlatform.wasFailureCommunicationBased
(SQLException exception, Accessor connection, AbstractSession sessionForProfile) INTERNAL: A call to this method will perform a platform based check on the connection and exception error code to determine if the connection is still valid or if a communication error has occurred.boolean
ServerPlatformBase.wasFailureCommunicationBased
(SQLException exception, Accessor connection, AbstractSession sessionForProfile) INTERNAL: A call to this method will perform a platform based check on the connection and exception error code to determine if the connection is still valid or if a communication error has occurred. -
Uses of Accessor in org.eclipse.persistence.queries
Modifier and TypeFieldDescriptionprotected Collection
<Accessor> DatabaseQuery.accessors
Connection to use for database access, required for server session connection pooling.Modifier and TypeMethodDescriptionCall.getLogString
(Accessor accessor) INTERNAL: Return a string appropriate for the session log.JPQLCall.getLogString
(Accessor accessor) INTERNAL: Return the SQL string for this call.StoredProcedureCall.getLogString
(Accessor accessor) Return the SQL string for logging purposes.void
DatabaseQuery.setAccessor
(Accessor accessor) INTERNAL: Set the accessor, the query must always use the same accessor for database access.Modifier and TypeMethodDescriptionvoid
DatabaseQuery.setAccessors
(Collection<Accessor> accessors) INTERNAL: Set the list of connection accessors to execute the query on. -
Uses of Accessor in org.eclipse.persistence.sequencing
Modifier and TypeMethodDescriptionDefaultSequence.getGeneratedValue
(Accessor accessor, AbstractSession writeSession, String seqName) INTERNAL: Return the newly-generated sequencing value.Sequence.getGeneratedValue
(Accessor accessor, AbstractSession writeSession) INTERNAL: Return the newly-generated sequencing value.abstract Object
Sequence.getGeneratedValue
(Accessor accessor, AbstractSession writeSession, String seqName) INTERNAL: Return the newly-generated sequencing value.StandardSequence.getGeneratedValue
(Accessor accessor, AbstractSession writeSession, String seqName) UUIDSequence.getGeneratedValue
(Accessor accessor, AbstractSession writeSession, String seqName) Vector
<?> DefaultSequence.getGeneratedVector
(Accessor accessor, AbstractSession writeSession, String seqName, int size) INTERNAL: Return a Vector of newly-generated sequencing values.Vector
<?> Sequence.getGeneratedVector
(Accessor accessor, AbstractSession writeSession) INTERNAL: Return a Vector of newly-generated sequencing values.abstract Vector
<?> Sequence.getGeneratedVector
(Accessor accessor, AbstractSession writeSession, String seqName, int size) INTERNAL: Return a Vector of newly-generated sequencing values.Vector
<?> StandardSequence.getGeneratedVector
(Accessor accessor, AbstractSession writeSession, String seqName, int size) Vector
<?> UUIDSequence.getGeneratedVector
(Accessor accessor, AbstractSession writeSession, String seqName, int size) protected Object
QuerySequence.select
(Accessor accessor, AbstractSession writeSession, String seqName, Integer size) INTERNAL:protected void
QuerySequence.update
(Accessor accessor, AbstractSession writeSession, String seqName, Number sizeOrNewValue) INTERNAL:protected Number
QuerySequence.updateAndSelectSequence
(Accessor accessor, AbstractSession writeSession, String seqName, int size) INTERNAL:protected abstract Number
StandardSequence.updateAndSelectSequence
(Accessor accessor, AbstractSession writeSession, String seqName, int size) -
Uses of Accessor in org.eclipse.persistence.sessions
Modifier and TypeMethodDescriptionDatabaseLogin.buildAccessor()
INTERNAL: Build and return an appropriate Accessor.Login.buildAccessor()
INTERNAL: Build the correct datasource Accessor for this login instance.Modifier and TypeMethodDescriptionDatasourceLogin.connectToDatasource
(Accessor accessor, Session session) INTERNAL: Connect to the datasource, and return the driver level connection object.Login.connectToDatasource
(Accessor accessor, Session session) INTERNAL: Connect to the datasource, and return the driver level connection object.void
SessionEventManager.postAcquireConnection
(Accessor accessor) INTERNAL: Raised after acquire a connection from a connection pool.void
SessionEventManager.postAcquireExclusiveConnection
(ClientSession clientSession, Accessor accessor) INTERNAL: Raised after acquire a connection from a connection pool.void
SessionEventManager.postConnect
(Accessor accessor) INTERNAL: Raised after connecting.void
SessionEventManager.preReleaseConnection
(Accessor accessor) INTERNAL: Raised before release a connection to a connection pool.void
SessionEventManager.preReleaseExclusiveConnection
(ClientSession clientSession, Accessor accessor) INTERNAL: This event is fired just before a Client Session, with isolated data, releases its Exclusive Connection -
Uses of Accessor in org.eclipse.persistence.sessions.broker
Modifier and TypeMethodDescriptionSessionBroker.getAccessors
(Call call, AbstractRecord translationRow, DatabaseQuery query) INTERNAL: Return the low-level database accessors. -
Uses of Accessor in org.eclipse.persistence.sessions.server
Modifier and TypeFieldDescriptionConnectionPool.connectionsAvailable
ConnectionPool.connectionsUsed
ClientSession.writeConnections
Modifier and TypeMethodDescriptionConnectionPool.acquireConnection()
INTERNAL: Wait until a connection is available and allocate the connection for the client.ExternalConnectionPool.acquireConnection()
INTERNAL: When we acquire a connection from an ExternalConnectionPool we build a new connection (retrieve it from the external pool).ReadConnectionPool.acquireConnection()
INTERNAL: Wait until a connection is available and allocate the connection for the client.ClientSession.addWriteConnection
(String poolName, Accessor writeConnection) INTERNAL: Add the connection to the client session.ServerSession.allocateReadConnection()
INTERNAL: Return a read connection from the read pool.protected Accessor
ConnectionPool.buildConnection()
INTERNAL: Create a new connection, accessors are used as connections.ConnectionPool.failover()
INTERNAL: The connection pool is dead fail over to the fail-over pool.ClientSession.getAccessor()
INTERNAL: This should normally not be used, getAccessors() should be used to support partitioning.protected Accessor
ExternalConnectionPool.getCachedConnection()
INTERNAL: Return the currently cached connection to the external connection poolClientSession.getWriteConnection()
INTERNAL: Return the connection to be used for database modification.Modifier and TypeMethodDescriptionClientSession.getAccessors()
INTERNAL: Return the write connections if in a transaction.ServerSession.getAccessors
(Call call, AbstractRecord translationRow, DatabaseQuery query) INTERNAL: Return the connections to use for the query execution.ConnectionPool.getConnectionsAvailable()
INTERNAL: returns the connections currently available for use in the poolConnectionPool.getConnectionsUsed()
Return a list of the connections that are being used.ClientSession.getWriteConnections()
INTERNAL: Return the map of write connections.Modifier and TypeMethodDescriptionClientSession.addWriteConnection
(String poolName, Accessor writeConnection) INTERNAL: Add the connection to the client session.void
INTERNAL: Connect the session only (this must be the write connection as the read is shared).void
ClientSession.disconnect
(Accessor accessor) INTERNAL: Disconnect the accessor only (this must be the write connection as the read is shared).void
ConnectionPool.releaseConnection
(Accessor connection) INTERNAL: Add the connection as single that a new connection is available.void
ExternalConnectionPool.releaseConnection
(Accessor connection) INTERNAL: When you release an external connection, you simply let it go.void
ReadConnectionPool.releaseConnection
(Accessor connection) INTERNAL: Because connections are not exclusive nothing is required.void
ClientSession.releaseReadConnection
(Accessor connection) INTERNAL: Release the cursor query's connection.void
ServerSession.releaseReadConnection
(Accessor connection) INTERNAL: Release the read connection back into the read pool.ClientSession.retryTransaction
(Accessor writeConnection, DatabaseException databaseException, int retryCount, AbstractSession executionSession) INTERNAL: A begin transaction failed.protected void
ExternalConnectionPool.setCachedConnection
(Accessor cachedConnection) Set the currently cached connection to the external connection pool.void
ClientSession.setWriteConnection
(Accessor writeConnection) INTERNAL: Set the connection to be used for database modification.Modifier and TypeMethodDescriptionvoid
ClientSession.setWriteConnections
(Map<String, Accessor> writeConnections) INTERNAL: Set the connection to be used for database modification.