Module org.eclipse.persistence.core
Interface SequencingServer
- All Superinterfaces:
Sequencing
Purpose: Define interface for sequencing server.
Description: This interface accessed through ServerSession.getSequencingServer() method. Used for creation of ClientSessionSequencing object and for access to sequencing connection pool. Note that if session is disconnected ServerSession.getSequencingServer() always returns null. Setup of SequencingConnectionPool is done only through SequencingControl interface. Even if getSequencingControl().setShouldUseSeparateConnection(true) is specified, SequencingConnectionPool is NOT created unless the session has at least one Sequence object that requires transaction.
Responsibilities:
- Connects sequencing on ClientSession with sequencing on ServerSession.
- See Also:
-
Field Summary
Fields inherited from interface org.eclipse.persistence.internal.sequencing.Sequencing
AFTER_INSERT, BEFORE_INSERT, UNDEFINED
-
Method Summary
Methods inherited from interface org.eclipse.persistence.internal.sequencing.Sequencing
getNextValue, whenShouldAcquireValueForAll
-
Method Details
-
getNextValue
-
getConnectionPool
ConnectionPool getConnectionPool()
-