Uses of Interface
org.eclipse.persistence.internal.databaseaccess.Accessor
-
-
Uses of Accessor in org.eclipse.persistence.descriptors.partitioning
Methods in org.eclipse.persistence.descriptors.partitioning that return Accessor Modifier and Type Method Description AccessorPartitioningPolicy. acquireAccessor(String poolName, ServerSession session, DatabaseQuery query, boolean returnNullIfDead)INTERNAL: Return an accessor from the pool.AccessorPartitioningPolicy. getAccessor(String poolName, AbstractSession session, DatabaseQuery query, boolean returnNullIfDead)INTERNAL: Return an accessor from the pool for the session.AccessorRoundRobinPartitioningPolicy. 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 Accessor Modifier and Type Method Description List<Accessor>CustomPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Forward to custom policyList<Accessor>HashPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.abstract List<Accessor>PartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)List<Accessor>PinnedPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from each pool.List<Accessor>RangePartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.List<Accessor>ReplicationPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from each pool.List<Accessor>RoundRobinPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.List<Accessor>UnionPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.List<Accessor>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 Accessor Modifier and Type Class Description classEISAccessorEISAccessoris an implementation of theAccessorinterface.Methods in org.eclipse.persistence.eis that return Accessor Modifier and Type Method Description AccessorEISLogin. buildAccessor()Build and return the EIS accessorr.Methods in org.eclipse.persistence.eis with parameters of type Accessor Modifier and Type Method Description ObjectEISLogin. 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 Accessor Modifier and Type Method Description StringEISInteraction. getLogString(Accessor accessor)Return the string for logging purposes.StringQueryStringInteraction. getLogString(Accessor accessor)Return the string for logging purposes.StringXMLInteraction. getLogString(Accessor accessor)Return the string for logging purposes.StringXQueryInteraction. 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 Accessor Modifier and Type Field Description protected AccessorDatabaseException. accessorMethods in org.eclipse.persistence.exceptions that return Accessor Modifier and Type Method Description AccessorDatabaseException. getAccessor()PUBLIC: Return the accessor.Methods in org.eclipse.persistence.exceptions with parameters of type Accessor Modifier and Type Method Description static 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 Accessor Modifier and Type Class Description classDatabaseAccessorINTERNAL: DatabaseAccessor is private to EclipseLink.classDatasourceAccessorINTERNAL: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 Accessor Modifier and Type Field Description protected AccessorConnectionCustomizer. accessorMethods in org.eclipse.persistence.internal.databaseaccess that return Accessor Modifier and Type Method Description AccessorConnectionCustomizer. getAccessor()INTERNAL:Methods in org.eclipse.persistence.internal.databaseaccess with parameters of type Accessor Modifier and Type Method Description static voidDatabaseCall. appendLogParameters(Collection parameters, Accessor accessor, StringWriter writer, AbstractSession session)Print the parameters to the write for logging purposes.ConnectionCustomizerDatasourcePlatform. createConnectionCustomizer(Accessor accessor, AbstractSession session)INTERNAL:StringDatabaseCall. 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 Accessor Constructor Description 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
Fields in org.eclipse.persistence.internal.helper with type parameters of type Accessor Modifier and Type Field Description static Class<Accessor>ClassConstants. Accessor_ClassConstructors in org.eclipse.persistence.internal.helper with parameters of type Accessor Constructor Description LOBValueWriter(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 Modifier and Type Class Description classXMLAccessorINTERNAL: -
Uses of Accessor in org.eclipse.persistence.internal.sequencing
Methods in org.eclipse.persistence.internal.sequencing with parameters of type Accessor Modifier and Type Method Description voidSequencingCallback. 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 Accessor Modifier and Type Field Description protected Collection<Accessor>AbstractSession. accessorsThe connection to the data store.Methods in org.eclipse.persistence.internal.sessions that return Accessor Modifier and Type Method Description AccessorAbstractSession. getAccessor()INTERNAL: This should normally not be used, most sessions do not have a single accessor.AccessorUnitOfWorkImpl. 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 Accessor Modifier and Type Method Description Collection<Accessor>AbstractSession. getAccessors()INTERNAL: This should normally not be used, most sessions do not have specific accessors.Collection<Accessor>AbstractSession. getAccessors(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Return the connections to use for the query execution.Collection<Accessor>ExclusiveIsolatedClientSession. getAccessors()INTERNAL: Always use writeConnection.Collection<Accessor>UnitOfWorkImpl. getAccessors()INTERNAL: The uow does not store a local accessor but shares its parents.Collection<Accessor>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 Accessor Modifier and Type Method Description protected voidAbstractSession. basicBeginTransaction(Accessor accessor)INTERNAL: Called by beginTransaction() to start a transaction.voidAbstractSession. log(int level, String category, String message, Object[] params, Accessor accessor)PUBLIC: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.DatabaseExceptionAbstractSession. 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 Accessor Modifier and Type Field Description protected AccessorSessionLogEntry. connectionMethods in org.eclipse.persistence.logging that return Accessor Modifier and Type Method Description AccessorEclipseLinkLogRecord. getConnection()AccessorSessionLogEntry. getConnection()Return the connection that generated the log entry.Methods in org.eclipse.persistence.logging with parameters of type Accessor Modifier and Type Method Description protected 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 Accessor Constructor Description SessionLogEntry(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.oxm
Methods in org.eclipse.persistence.oxm that return Accessor Modifier and Type Method Description AccessorXMLLogin. buildAccessor()INTERNAL: Returns the appropriate accessor -
Uses of Accessor in org.eclipse.persistence.platform.database.oracle.plsql
Methods in org.eclipse.persistence.platform.database.oracle.plsql with parameters of type Accessor Modifier and Type Method Description StringPLSQLStoredProcedureCall. 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 Accessor Modifier and Type Method Description booleanServerPlatform. 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 Accessor Modifier and Type Field Description protected Collection<Accessor>DatabaseQuery. accessorsConnection to use for database access, required for server session connection pooling.Methods in org.eclipse.persistence.queries that return Accessor Modifier and Type Method Description AccessorDatabaseQuery. getAccessor()INTERNAL: Return the accessor.Methods in org.eclipse.persistence.queries that return types with arguments of type Accessor Modifier and Type Method Description Collection<Accessor>DatabaseQuery. getAccessors()INTERNAL: Return the accessors.Methods in org.eclipse.persistence.queries with parameters of type Accessor Modifier and Type Method Description StringCall. getLogString(Accessor accessor)INTERNAL: Return a string appropriate for the session log.StringJPQLCall. getLogString(Accessor accessor)INTERNAL: Return the SQL string for this call.StringStoredProcedureCall. 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 Accessor Modifier and Type Method Description voidDatabaseQuery. 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 Accessor Modifier and Type Method Description ObjectDefaultSequence. getGeneratedValue(Accessor accessor, AbstractSession writeSession, String seqName)INTERNAL: Return the newly-generated sequencing value.ObjectSequence. 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.ObjectStandardSequence. getGeneratedValue(Accessor accessor, AbstractSession writeSession, String seqName)ObjectUUIDSequence. 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 Accessor Modifier and Type Method Description AccessorDatabaseLogin. buildAccessor()INTERNAL: Build and return an appropriate Accessor.AccessorLogin. buildAccessor()INTERNAL: Build the correct datasource Accessor for this login instance.Methods in org.eclipse.persistence.sessions with parameters of type Accessor Modifier and Type Method Description ObjectDatasourceLogin. connectToDatasource(Accessor accessor, Session session)INTERNAL: Connect to the datasource, and return the driver level connection object.ObjectLogin. 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 Accessor Modifier and Type Method Description Collection<Accessor>SessionBroker. 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 Accessor Modifier and Type Field Description protected AccessorExternalConnectionPool. cachedConnectionFields in org.eclipse.persistence.sessions.server with type parameters of type Accessor Modifier and Type Field Description protected List<Accessor>ConnectionPool. connectionsAvailableprotected List<Accessor>ConnectionPool. connectionsUsedprotected Map<String,Accessor>ClientSession. writeConnectionsMethods in org.eclipse.persistence.sessions.server that return Accessor Modifier and Type Method Description AccessorConnectionPool. acquireConnection()INTERNAL: Wait until a connection is available and allocate the connection for the client.AccessorExternalConnectionPool. acquireConnection()INTERNAL: When we acquire a connection from an ExternalConnectionPool we build a new connection (retrieve it from the external pool).AccessorReadConnectionPool. acquireConnection()INTERNAL: Wait until a connection is available and allocate the connection for the client.AccessorClientSession. addWriteConnection(String poolName, Accessor writeConnection)INTERNAL: Add the connection to the client session.AccessorServerSession. allocateReadConnection()INTERNAL: Return a read connection from the read pool.protected AccessorConnectionPool. buildConnection()INTERNAL: Create a new connection, accessors are used as connections.AccessorConnectionPool. failover()INTERNAL: The connection pool is dead fail over to the fail-over pool.AccessorClientSession. 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 poolAccessorClientSession. 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 Accessor Modifier and Type Method Description Collection<Accessor>ClientSession. getAccessors()INTERNAL: Return the write connections if in a transaction.List<Accessor>ServerSession. getAccessors(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Return the connections to use for the query execution.List<Accessor>ConnectionPool. getConnectionsAvailable()INTERNAL: returns the connections currently available for use in the poolprotected List<Accessor>ConnectionPool. getConnectionsUsed()Return a list of the connections that are being used.Map<String,Accessor>ClientSession. getWriteConnections()INTERNAL: Return the map of write connections.Methods in org.eclipse.persistence.sessions.server with parameters of type Accessor Modifier and Type Method Description AccessorClientSession. addWriteConnection(String poolName, Accessor writeConnection)INTERNAL: Add the connection to the client session.voidClientSession. connect(Accessor accessor)INTERNAL: 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.DatabaseExceptionClientSession. 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 Accessor Modifier and Type Method Description voidClientSession. setWriteConnections(Map<String,Accessor> writeConnections)INTERNAL: Set the connection to be used for database modification.
-