Uses of Interface
org.eclipse.persistence.internal.databaseaccess.Accessor
Packages that use Accessor
Package
Description
-
Uses of Accessor in org.eclipse.persistence.descriptors.partitioning
Methods in org.eclipse.persistence.descriptors.partitioning that return AccessorModifier 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.Methods in org.eclipse.persistence.descriptors.partitioning that return types with arguments of type AccessorModifier 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
Classes in org.eclipse.persistence.eis that implement AccessorModifier and TypeClassDescriptionclassEISAccessoris an implementation of theAccessorinterface.Methods in org.eclipse.persistence.eis that return AccessorMethods in org.eclipse.persistence.eis with parameters of type AccessorModifier 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
Methods in org.eclipse.persistence.eis.interactions with parameters of type AccessorModifier 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
Fields in org.eclipse.persistence.exceptions declared as AccessorMethods in org.eclipse.persistence.exceptions that return AccessorMethods in org.eclipse.persistence.exceptions with parameters of type AccessorModifier and TypeMethodDescriptionstatic QueryExceptionQueryException.invalidDatabaseAccessor(Accessor accessor) voidDatabaseException.setAccessor(Accessor accessor) INTERNAL: Set the Accessor.static DatabaseExceptionDatabaseException.sqlException(SQLException exception, Accessor accessor, AbstractSession session, boolean isCommunicationFailure) static DatabaseExceptionDatabaseException.sqlException(SQLException exception, Call call, Accessor accessor, AbstractSession session, boolean isCommunicationFailure) -
Uses of Accessor in org.eclipse.persistence.internal.databaseaccess
Classes in org.eclipse.persistence.internal.databaseaccess that implement AccessorModifier and TypeClassDescriptionclassINTERNAL: DatabaseAccessor is private to EclipseLink.classINTERNAL:DatasourceAccessoris an abstract implementation of theAccessorinterface providing common functionality to the concrete database and EIS accessors.Fields in org.eclipse.persistence.internal.databaseaccess declared as AccessorMethods in org.eclipse.persistence.internal.databaseaccess that return AccessorMethods in org.eclipse.persistence.internal.databaseaccess with parameters of type AccessorModifier and TypeMethodDescriptionstatic voidDatabaseCall.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 StringDatasourceCall.getLogString(Accessor accessor) Return the SQL string for logging purposes.Constructors in org.eclipse.persistence.internal.databaseaccess with parameters of type AccessorModifierConstructorDescriptionprotectedConnectionCustomizer(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
Fields in org.eclipse.persistence.internal.helper with type parameters of type AccessorConstructors in org.eclipse.persistence.internal.helper with parameters of type AccessorModifierConstructorDescriptionLOBValueWriter(Accessor accessor) This is the default constructor for the class. -
Uses of Accessor in org.eclipse.persistence.internal.oxm
Classes in org.eclipse.persistence.internal.oxm that implement Accessor -
Uses of Accessor in org.eclipse.persistence.internal.sequencing
Methods in org.eclipse.persistence.internal.sequencing with parameters of type AccessorModifier and TypeMethodDescriptionvoidSequencingCallback.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
Fields in org.eclipse.persistence.internal.sessions with type parameters of type AccessorModifier and TypeFieldDescriptionprotected Collection<Accessor> AbstractSession.accessorsThe connection to the data store.Methods in org.eclipse.persistence.internal.sessions that return AccessorModifier 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.Methods in org.eclipse.persistence.internal.sessions that return types with arguments of type AccessorModifier 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.Methods in org.eclipse.persistence.internal.sessions with parameters of type AccessorModifier and TypeMethodDescriptionprotected voidAbstractSession.basicBeginTransaction(Accessor accessor) INTERNAL: Called by beginTransaction() to start a transaction.voidPUBLIC:voidAbstractSession.log(int level, String category, String message, Object[] params, Accessor accessor, boolean shouldTranslate) PUBLIC:voidAbstractSession.postAcquireConnection(Accessor accessor) INTERNAL: This method rises appropriate for the session event(s) right after connection is acquired.voidExclusiveIsolatedClientSession.postAcquireConnection(Accessor accessor) INTERNAL: This method rises appropriate for the session event(s) right after connection is acquired.voidAbstractSession.preReleaseConnection(Accessor accessor) INTERNAL: This method rises appropriate for the session event(s) right before the connection is released.voidExclusiveIsolatedClientSession.preReleaseConnection(Accessor accessor) INTERNAL: This method rises appropriate for the session event(s) right before the connection is released.voidAbstractSession.releaseReadConnection(Accessor connection) INTERNAL:voidUnitOfWorkImpl.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.voidAbstractSession.setAccessor(Accessor accessor) INTERNAL: Set the accessor.voidExclusiveIsolatedClientSession.setAccessor(Accessor accessor) INTERNAL: Provided for consistency. -
Uses of Accessor in org.eclipse.persistence.logging
Fields in org.eclipse.persistence.logging declared as AccessorMethods in org.eclipse.persistence.logging that return AccessorModifier and TypeMethodDescriptionEclipseLinkLogRecord.getConnection()SessionLogEntry.getConnection()Return the connection that generated the log entry.Methods in org.eclipse.persistence.logging with parameters of type AccessorModifier and TypeMethodDescriptionprotected StringAbstractSessionLog.getConnectionString(Accessor connection) Return the specified connection information.voidEclipseLinkLogRecord.setConnection(Accessor connection) voidSessionLogEntry.setConnection(Accessor connection) Set the connection that generated the log entry.Constructors in org.eclipse.persistence.logging with parameters of type AccessorModifierConstructorDescriptionSessionLogEntry(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
Methods in org.eclipse.persistence.nosql.adapters.mongo with parameters of type AccessorModifier 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
Methods in org.eclipse.persistence.oxm that return AccessorModifier and TypeMethodDescriptionXMLLogin.buildAccessor()INTERNAL: Returns the appropriate accessor -
Uses of Accessor in org.eclipse.persistence.platform.database.oracle
Methods in org.eclipse.persistence.platform.database.oracle with parameters of type AccessorModifier and TypeMethodDescriptionOracle9Platform.createConnectionCustomizer(Accessor accessor, AbstractSession session) INTERNAL:Constructors in org.eclipse.persistence.platform.database.oracle with parameters of type AccessorModifierConstructorDescriptionOracleJDBC_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
Methods in org.eclipse.persistence.platform.database.oracle.plsql with parameters of type AccessorModifier and TypeMethodDescriptionPLSQLStoredProcedureCall.getLogString(Accessor accessor) INTERNAL: Build the log string for the call. -
Uses of Accessor in org.eclipse.persistence.platform.server
Methods in org.eclipse.persistence.platform.server with parameters of type AccessorModifier and TypeMethodDescriptionbooleanServerPlatform.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.booleanServerPlatformBase.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
Fields in org.eclipse.persistence.queries with type parameters of type AccessorModifier and TypeFieldDescriptionprotected Collection<Accessor> DatabaseQuery.accessorsConnection to use for database access, required for server session connection pooling.Methods in org.eclipse.persistence.queries that return AccessorMethods in org.eclipse.persistence.queries that return types with arguments of type AccessorMethods in org.eclipse.persistence.queries with parameters of type AccessorModifier 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.voidDatabaseQuery.setAccessor(Accessor accessor) INTERNAL: Set the accessor, the query must always use the same accessor for database access.Method parameters in org.eclipse.persistence.queries with type arguments of type AccessorModifier and TypeMethodDescriptionvoidDatabaseQuery.setAccessors(Collection<Accessor> accessors) INTERNAL: Set the list of connection accessors to execute the query on. -
Uses of Accessor in org.eclipse.persistence.sequencing
Methods in org.eclipse.persistence.sequencing with parameters of type AccessorModifier 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 ObjectSequence.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 ObjectQuerySequence.select(Accessor accessor, AbstractSession writeSession, String seqName, Integer size) INTERNAL:protected voidQuerySequence.update(Accessor accessor, AbstractSession writeSession, String seqName, Number sizeOrNewValue) INTERNAL:protected NumberQuerySequence.updateAndSelectSequence(Accessor accessor, AbstractSession writeSession, String seqName, int size) INTERNAL:protected abstract NumberStandardSequence.updateAndSelectSequence(Accessor accessor, AbstractSession writeSession, String seqName, int size) -
Uses of Accessor in org.eclipse.persistence.sessions
Methods in org.eclipse.persistence.sessions that return AccessorModifier and TypeMethodDescriptionDatabaseLogin.buildAccessor()INTERNAL: Build and return an appropriate Accessor.Login.buildAccessor()INTERNAL: Build the correct datasource Accessor for this login instance.Methods in org.eclipse.persistence.sessions with parameters of type AccessorModifier 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.voidSessionEventManager.postAcquireConnection(Accessor accessor) INTERNAL: Raised after acquire a connection from a connection pool.voidSessionEventManager.postAcquireExclusiveConnection(ClientSession clientSession, Accessor accessor) INTERNAL: Raised after acquire a connection from a connection pool.voidSessionEventManager.postConnect(Accessor accessor) INTERNAL: Raised after connecting.voidSessionEventManager.preReleaseConnection(Accessor accessor) INTERNAL: Raised before release a connection to a connection pool.voidSessionEventManager.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
Methods in org.eclipse.persistence.sessions.broker that return types with arguments of type AccessorModifier 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
Fields in org.eclipse.persistence.sessions.server declared as AccessorFields in org.eclipse.persistence.sessions.server with type parameters of type AccessorModifier and TypeFieldDescriptionConnectionPool.connectionsAvailableConnectionPool.connectionsUsedClientSession.writeConnectionsMethods in org.eclipse.persistence.sessions.server that return AccessorModifier 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 AccessorConnectionPool.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 AccessorExternalConnectionPool.getCachedConnection()INTERNAL: Return the currently cached connection to the external connection poolClientSession.getWriteConnection()INTERNAL: Return the connection to be used for database modification.Methods in org.eclipse.persistence.sessions.server that return types with arguments of type AccessorModifier 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.Methods in org.eclipse.persistence.sessions.server with parameters of type AccessorModifier and TypeMethodDescriptionClientSession.addWriteConnection(String poolName, Accessor writeConnection) INTERNAL: Add the connection to the client session.voidINTERNAL: Connect the session only (this must be the write connection as the read is shared).voidClientSession.disconnect(Accessor accessor) INTERNAL: Disconnect the accessor only (this must be the write connection as the read is shared).voidConnectionPool.releaseConnection(Accessor connection) INTERNAL: Add the connection as single that a new connection is available.voidExternalConnectionPool.releaseConnection(Accessor connection) INTERNAL: When you release an external connection, you simply let it go.voidReadConnectionPool.releaseConnection(Accessor connection) INTERNAL: Because connections are not exclusive nothing is required.voidClientSession.releaseReadConnection(Accessor connection) INTERNAL: Release the cursor query's connection.voidServerSession.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 voidExternalConnectionPool.setCachedConnection(Accessor cachedConnection) Set the currently cached connection to the external connection pool.voidClientSession.setWriteConnection(Accessor writeConnection) INTERNAL: Set the connection to be used for database modification.Method parameters in org.eclipse.persistence.sessions.server with type arguments of type AccessorModifier and TypeMethodDescriptionvoidClientSession.setWriteConnections(Map<String, Accessor> writeConnections) INTERNAL: Set the connection to be used for database modification.