Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- absolute(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Moves the cursor to the given row number in this
ResultSetobject. - absolutePath() - Method in class org.tentackle.dbms.prefs.DbPreferences
- AbstractDbObject<P> - Class in org.tentackle.dbms
-
A persistent low-level database object.
- AbstractDbObject() - Constructor for class org.tentackle.dbms.AbstractDbObject
-
Creates a database object not associated with a session.
The session must be set viaAbstractDbObject.setSession(Session)in order to use it. - AbstractDbObject(Db) - Constructor for class org.tentackle.dbms.AbstractDbObject
-
Creates a database object.
- AbstractDbObjectRemoteDelegate<P> - Interface in org.tentackle.dbms.rmi
-
Delegate for the AbstractDbObject class.
Notice: in this class we cut off generics! - AbstractDbObjectRemoteDelegateImpl<P> - Class in org.tentackle.dbms.rmi
-
Base class for the remote delegate of AbstractDbObject.
All other subclasses of AbstractDbObject should extend AbstractDbObjectRemoteDelegateImpl to reflect the class hierarchy below AbstractDbObject. - AbstractDbObjectRemoteDelegateImpl(RemoteDbSessionImpl, Class) - Constructor for class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
-
Creates a delegate on the serverSession socket.
- AbstractDbOperation<P> - Class in org.tentackle.dbms
-
A
AbstractDbOperationprovides methods that are not part ofAbstractDbObjects and is associated to aDb-session. - AbstractDbOperation() - Constructor for class org.tentackle.dbms.AbstractDbOperation
-
Creates an operation object not associated to a session.
The session must be set viaAbstractDbOperation.setSession(Session)in order to use it. - AbstractDbOperation(Db) - Constructor for class org.tentackle.dbms.AbstractDbOperation
-
Creates an operation object.
- AbstractDbOperationRemoteDelegate<P> - Interface in org.tentackle.dbms.rmi
-
Delegate for the DbOperation class.
- AbstractDbOperationRemoteDelegateImpl<P> - Class in org.tentackle.dbms.rmi
-
Base class for the remote delegate of AbstractDbOperation.
All other subclasses of AbstractDbOperation should extend AbstractDbOperationRemoteDelegateImpl to reflect the class hierarchy below AbstractDbOperation. - AbstractDbOperationRemoteDelegateImpl(RemoteDbSessionImpl, Class) - Constructor for class org.tentackle.dbms.rmi.AbstractDbOperationRemoteDelegateImpl
-
Creates a delegate on the serverSession socket.
- AbstractIdSource - Class in org.tentackle.dbms
-
Base implementation for IdSources.
- AbstractIdSource(String) - Constructor for class org.tentackle.dbms.AbstractIdSource
-
Creates an idsource.
- acceptPersistenceVisitor(PersistenceVisitor, ModificationType) - Method in class org.tentackle.dbms.AbstractDbObject
-
Accepts a persistence operation visitor.
- add(int, CharSequence, Object...) - Method in class org.tentackle.dbms.Query
-
Appends an SQL-part and corresponding parameters to this query.
- add(int, CharSequence, List) - Method in class org.tentackle.dbms.Query
-
Appends an SQL-part and corresponding parameters to this query.
Same asQuery.add(int, CharSequence, Object...)but with aListof parameters instead of an array or varargs. - add(int, SqlSupplier) - Method in class org.tentackle.dbms.Query
-
Appends a backend-specific SQL-part to this query.
- add(CharSequence, Object...) - Method in class org.tentackle.dbms.Query
-
Appends an SQL-part and corresponding parameters to this query.
- add(CharSequence, List) - Method in class org.tentackle.dbms.Query
-
Appends an SQL-part and corresponding parameters to this query.
Same asQuery.add(CharSequence, Object...)but with aListof parameters instead of an array or varargs. - add(AbstractDbObject) - Method in class org.tentackle.dbms.DbBatchStatement
-
Adds a persistence object to the batch.
- add(ModificationType, PreparedStatementWrapper, AbstractDbObject, int) - Method in class org.tentackle.dbms.DbBatch
-
Adds a statement and its related PDO to this batch.
- add(SqlSupplier) - Method in class org.tentackle.dbms.Query
-
Appends a backend-specific SQL-part to this query.
- addBatch() - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Adds a set of parameters to this
PreparedStatement's batch of commands. - addBatch(String) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- addBatch(String) - Method in class org.tentackle.dbms.StatementWrapper
-
Adds the given SQL command to the current list of commands.
- addChild(DbPreferences) - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Adds a child node.
- addConnection(ManagedConnection) - Method in class org.tentackle.dbms.DefaultConnectionManager
-
Adds a connection to the list.
- addDeletion(Session, String, long, long) - Method in class org.tentackle.dbms.DbModificationTracker
- addDeletion(Session, IdSerialTuple) - Method in class org.tentackle.dbms.ModificationTally
-
Adds a deletion.
A deletion is represented by anIdSerialTuplewhile the serial is the tableserial indicating the modification count of the whole table.
Deletions are - addExpiration(long, long, Collection, boolean) - Method in class org.tentackle.dbms.TableSerialExpirationBacklog
-
Adds an expiration set to the backlog.
- addMasterSerialEvent(MasterSerialEvent) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Adds a master serial event.
- addModificationListener(ModificationListener) - Method in class org.tentackle.dbms.DbModificationTracker
-
Adds a modification listener.
- addNodeChangeListener(NodeChangeListener) - Method in class org.tentackle.dbms.prefs.DbPreferences
- addNodeChangeListener(DbPreferences, NodeChangeListener) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Adds a node listener.
- addPreferenceChangeListener(PreferenceChangeListener) - Method in class org.tentackle.dbms.prefs.DbPreferences
- addPreferenceChangeListener(DbPreferences, PreferenceChangeListener) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Adds a preferences changed listener.
- addPropertyListener(String, PropertyListener) - Method in class org.tentackle.dbms.AbstractDbObject
-
Adds a
PropertyListenerto the listener list for a specific property. - addPropertyListener(PropertyListener) - Method in class org.tentackle.dbms.AbstractDbObject
-
Adds a
PropertyListenerto the listener list.
The listener is registered for all bound properties of this class. - addReferencingClass(Class, String) - Method in class org.tentackle.dbms.DbObjectClassVariables
-
Adds a PDO class referencing the class of this class variable holder.
- addRegex(String) - Method in class org.tentackle.dbms.StatementTracer
-
Adds a regular expression to the list of traced statements.
- addResultSet(ResultSetWrapper) - Method in class org.tentackle.dbms.ManagedConnection
-
Adds a pending result set.
- addRunningStatement(StatementWrapper) - Method in class org.tentackle.dbms.ManagedConnection
-
Remembers a statement as running.
- addSavepoint(SavepointHandle, Savepoint) - Method in class org.tentackle.dbms.DbTransaction
-
Adds a savepoint to the transaction.
- addShutdownRunnable(Runnable) - Method in class org.tentackle.dbms.DbModificationTracker
-
Adds a shutdown runnable.
The runnables will be executed on termination of this tracker. - addSql(String) - Method in class org.tentackle.dbms.StatementTracer
-
Adds a SQL statement to the list of traced statements.
- addToBatch(ModificationType, PreparedStatementWrapper, AbstractDbObject, int) - Method in class org.tentackle.dbms.Db
-
Adds a statement with its related PDO to the current batch.
Does nothing if there is no batched transaction running. - addToModificationTable() - Method in class org.tentackle.dbms.ModificationTally
-
Adds this counter to the modification table.
- addToModificationTable(boolean, String) - Method in class org.tentackle.dbms.DbModification
-
Adds an entry for this counter (== database object class) to the modification table.
The tableserial is derived from the highest serial of all objects in the table this counter refers to. - addToSessionGroup(Db, int, boolean) - Method in class org.tentackle.dbms.DbUtilities
-
Adds a session to a session group.
Creates a new group if the session with the given groupId does not belong to a group yet. - afterLast() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Moves the cursor to the end of this
ResultSetobject, just after the last row. - alignComponents() - Method in class org.tentackle.dbms.AbstractDbObject
-
Prepares the attributes concerning composite relations.
Overridden, for example, to update list counts. - alignExceptionCause(Throwable) - Method in class org.tentackle.dbms.DbSessionUtilities
- alignTemporaryExceptionStatus(PersistenceException) - Method in class org.tentackle.dbms.DbSessionUtilities
- alwaysPrepare - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
true if prepared statements should always be prepared (i.e., if the statement is changing for some reason, e.g., the table name).
- AN_CLASSID - Static variable in class org.tentackle.dbms.AbstractDbObject
-
name of class-ID attribute.
- AN_ID - Static variable in class org.tentackle.dbms.AbstractDbObject
-
name of ID attribute.
- AN_SERIAL - Static variable in class org.tentackle.dbms.AbstractDbObject
-
name of serial attribute.
- AN_TABLESERIAL - Static variable in class org.tentackle.dbms.AbstractDbObject
-
name of tableserial attribute.
- apply(Db, PreparedStatementWrapper) - Method in class org.tentackle.dbms.Query
-
Applies the query parameters to the statement.
Optionally applies limit, offset as well. - applyBackendConfiguration(BackendConfiguration, EncryptedProperties) - Method in class org.tentackle.dbms.DbUtilities
-
Applies the given backend configuration to properties.
- applyColumnIndex(int) - Method in class org.tentackle.dbms.ResultSetSkipBlock
-
Applies the used column index to this skip block.
- applyDbObjectResult(DbObjectResult) - Method in class org.tentackle.dbms.AbstractDbObject
-
Applies a
DbObjectResultto this persistence object. - applyFetch(TimeKeeper, int) - Method in class org.tentackle.dbms.StatementHistory
-
Applies the fetch duration and number of rows fetched if statement is a query.
- applyParameters(PreparedStatementWrapper, int) - Method in class org.tentackle.dbms.Query
-
Apply the query parameters only.
- assertDbNotRemote(Db) - Method in class org.tentackle.dbms.AbstractIdSource
-
Assert the correct Db.
- assertMutable() - Method in class org.tentackle.dbms.AbstractDbObject
-
Asserts that the object is mutable.
- assertNew() - Method in class org.tentackle.dbms.AbstractDbObject
-
Asserts that the object is new.
- assertNotNew() - Method in class org.tentackle.dbms.AbstractDbObject
-
Asserts that the object is not new.
- assertNotOverloaded() - Method in class org.tentackle.dbms.AbstractDbObject
-
Asserts that this object is not overloaded.
- assertNotReadOnly() - Method in class org.tentackle.dbms.StatementWrapper
-
Asserts db is writable.
- assertNotRemote() - Method in class org.tentackle.dbms.AbstractDbObject
-
asserts that this object does not belong to a remote session.
- assertNotRemote() - Method in class org.tentackle.dbms.Db
-
asserts that this is not a remote session
- assertNoTxRunning() - Method in class org.tentackle.dbms.Db
-
Asserts that no transaction is running.
- assertNumberOfRowsAffected(int, int) - Method in class org.tentackle.dbms.AbstractDbObject
-
Checks the correct number of rows affected.
- assertOneRowAffected(Db, int) - Method in class org.tentackle.dbms.AbstractIdSource
-
Asserts that exactly one row is affected by an update.
- assertOpen() - Method in class org.tentackle.dbms.Db
-
Asserts that the database is open.
- assertOpen() - Method in class org.tentackle.dbms.StatementWrapper
-
Asserts the statement is open.
- assertOwnerThread() - Method in class org.tentackle.dbms.Db
-
Asserts this session is not used by another thread than the owner thread.
- assertPersistable() - Method in class org.tentackle.dbms.AbstractDbObject
-
Asserts that this object is savable.
- assertRemote() - Method in class org.tentackle.dbms.AbstractDbObject
-
asserts that this object belongs to a remote session.
- assertRemote() - Method in class org.tentackle.dbms.Db
-
asserts that this is a remote session
- assertRequestedIfPooled() - Method in class org.tentackle.dbms.Db
-
Asserts that a pooled session is requested from the pool (in use).
- assertSessionBelongsToMe(Db) - Method in class org.tentackle.dbms.DefaultConnectionManager
-
Asserts that the session belongs to this manager.
- assertThisRowAffected(int) - Method in class org.tentackle.dbms.AbstractDbObject
-
Checks that exactly one row is affected.
- assertTxRunning() - Method in class org.tentackle.dbms.Db
-
Asserts that a transaction with the given voucher is running.
- assertValidTxVoucher(long) - Method in class org.tentackle.dbms.DbTransaction
-
Asserts the validity of the given voucher.
If the voucher does not match, aPersistenceExceptionis thrown. - attach(Db) - Method in interface org.tentackle.dbms.ConnectionManager
-
Attaches a
Dbto a connection.
A Db must be attached before it can use any statements. - attach(Db) - Method in class org.tentackle.dbms.DefaultConnectionManager
- attach(Db) - Method in class org.tentackle.dbms.MpxConnectionManager
- attachSession(Db) - Method in class org.tentackle.dbms.ManagedConnection
-
Attaches a connection to a session.
- attributesModified() - Method in class org.tentackle.dbms.AbstractDbObject
-
Determines whether this object got some of its attributes modified.
It does not check whether some of its components are modified!
B
- backendInfo - Variable in class org.tentackle.dbms.MpxConnectionManager
-
the backend info.
- batch(PreparedStatementWrapper) - Method in class org.tentackle.dbms.DbBatch
-
Batches a statement for execution.
When the session's batchsize is reached, all pending statements are executed in the order of registration up to the given statement. - BATCHSIZE - Static variable in class org.tentackle.dbms.Db
-
Property key to enable batching for this session.
- beforeFirst() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Moves the cursor to the front of this
ResultSetobject, just before the first row. - begin() - Method in class org.tentackle.dbms.Db
- begin(String) - Method in class org.tentackle.dbms.Db
- begin(String, TransactionIsolation, TransactionWritability) - Method in class org.tentackle.dbms.Db
- begin(String, TransactionIsolation, TransactionWritability) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- begin(String, TransactionIsolation, TransactionWritability) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- BEGIN - Enum constant in enum class org.tentackle.dbms.DbModificationType
-
begin transaction.
- buildInnerSql(Backend) - Method in class org.tentackle.dbms.Query
-
Builds the inner sql query string.
C
- cancel() - Method in class org.tentackle.dbms.StatementWrapper
-
Cancels a statement.
- cancelled - Variable in class org.tentackle.dbms.StatementWrapper
-
flag if statement has been cancelled.
- cancelRunningStatements() - Method in class org.tentackle.dbms.ManagedConnection
-
Cancels the(all) currently running statement(s).
May be invoked from any thread. - canonicalize(Canonicalizer, Canonicalizer) - Method in class org.tentackle.dbms.ModificationLog
-
Canonicalize the strings in this modlog.
Used to reduce communication bandwidth when sending larger collections of modlogs via RMI. - checkAllPreferences(Db) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Checks all preferences and tries to fix if possible.
The method is provided sinceDbPreferencesNodeandDbPreferencesKeyprovide no referential integrity via database-enforced foreign keys, but only at application level.
Invoke this method, whenever the database has been modified manually via SQL. - checkClientVersion(String) - Method in class org.tentackle.dbms.rmi.RemoteDbConnectionImpl
-
Checks the client's version.
- checkForDeadLink(SQLException) - Method in class org.tentackle.dbms.ManagedConnection
-
Checks for a dead communications link.
If the link is down, for example, the database server closed it, the connection is marked dead. - childrenNames() - Method in class org.tentackle.dbms.prefs.DbPreferences
- CIPHER_SUITES - Static variable in class org.tentackle.dbms.Db
-
Property key for the SSL cipher suites.
- classBaseName - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
the base-classname.
- classId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
The unique class id.
- className - Variable in class org.tentackle.dbms.DbOperationClassVariables
-
the full classname.
- CLASSVARIABLES - Static variable in class org.tentackle.dbms.DbModification
-
Variables common to all instances of
DbModification. - CLASSVARIABLES - Static variable in class org.tentackle.dbms.ModificationLog
-
Variables common to all instances of
ModificationLog. - CLASSVARIABLES - Static variable in class org.tentackle.dbms.prefs.DbPreferencesKey
-
Variables common to all instances of
DbPreferencesKey. - CLASSVARIABLES - Static variable in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Variables common to all instances of
DbPreferencesNode. - clazz - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
the class.
- clazz - Variable in class org.tentackle.dbms.DbOperationClassVariables
-
the class.
- cleanup() - Method in class org.tentackle.dbms.DbModificationTracker
- cleanup(boolean) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Cleanup the session.
- cleanup(int, ManagedConnection) - Method in interface org.tentackle.dbms.ConnectionManager
-
Cleans up any resources for the given session ID.
Connection managers should not keep references to the sessions. - cleanup(int, ManagedConnection) - Method in class org.tentackle.dbms.DefaultConnectionManager
- cleanup(int, ManagedConnection) - Method in class org.tentackle.dbms.MpxConnectionManager
- cleanupDbAfterException(Throwable) - Method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Cleans up the db after an exception.
Invoked fromRemoteDelegateInvocationHandler.handleInvocationException(Object, Method, Object[], Throwable). - cleanupRemoteSession(RemoteDbSessionImpl) - Method in class org.tentackle.dbms.DbUtilities
-
Performs any cleanup when a remote user session is closed.
- cleanupSession(RemoteDbSessionImpl) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionCleanupThread
-
Cleans up a session.
- cleanupZombieSession(RemoteDbSessionImpl) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionCleanupThread
-
Cleans up a zombie session.
- cleanupZombieSessions() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionCleanupThread
-
Cleans up all zombie sessions.
- clear() - Method in class org.tentackle.dbms.prefs.DbPreferences
- clearBatch() - Method in class org.tentackle.dbms.PreparedStatementWrapper
- clearBatch() - Method in class org.tentackle.dbms.StatementWrapper
-
Empties this
Statementobject's current list of batched SQL commands. - clearCloned() - Method in class org.tentackle.dbms.Db
-
Clears the cloned state.
- clearLazyObject() - Method in class org.tentackle.dbms.ModificationLog
-
Clears the lazyObject.
- clearMDC() - Method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Clears the MDC.
- clearOnRemoteSave() - Method in class org.tentackle.dbms.AbstractDbObject
-
Clears some references to reduce bandwidth.
Invoked for remote objects only. - clearParameters() - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Clears the current parameter values immediately.
- clearStatistics() - Static method in class org.tentackle.dbms.StatementStatistics
-
Clears the counters.
- clearTransactionProperties() - Method in class org.tentackle.dbms.Db
-
Clears all transaction properties.
- CLIENT_AUTH - Static variable in class org.tentackle.dbms.rmi.RmiServer
-
The property key for the SSL client authentication.
- clone() - Method in class org.tentackle.dbms.Db
- clone(String) - Method in class org.tentackle.dbms.Db
- close() - Method in class org.tentackle.dbms.Db
- close() - Method in class org.tentackle.dbms.ManagedConnection
-
Closes the connection.
Closing an already closed connection is allowed. - close() - Method in class org.tentackle.dbms.PooledDb
-
Closes a pooled db.
- close() - Method in class org.tentackle.dbms.PreparedStatementWrapper
- close() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Closes the resultset.
- close() - Method in interface org.tentackle.dbms.rmi.RemoteDbSession
-
Closes a session.
- close() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
- close() - Method in class org.tentackle.dbms.StatementWrapper
-
Closes this statement.
- close(SessionInfo) - Method in class org.tentackle.dbms.MultiUserDbPool
- closeDb(boolean) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Closes the database connection (and thus rolls back any pending transaction).
- closeGroupsOfSession(Db) - Method in class org.tentackle.dbms.DbUtilities
-
Close session groups if the session is a root session of a group.
- closePreparedStatements(boolean) - Method in class org.tentackle.dbms.ManagedConnection
-
Closes prepared statements.
- CN_CLASSID - Static variable in class org.tentackle.dbms.AbstractDbObject
-
name of class-ID column.
- CN_ID - Static variable in class org.tentackle.dbms.AbstractDbObject
-
name of ID column.
- CN_KEY - Static variable in class org.tentackle.dbms.prefs.DbPreferencesKey
-
database column name for 'key'.
- CN_MESSAGE - Static variable in class org.tentackle.dbms.ModificationLog
-
database column name for 'message'.
- CN_MODTYPE - Static variable in class org.tentackle.dbms.ModificationLog
-
database column name for 'modType'.
- CN_NAME - Static variable in class org.tentackle.dbms.prefs.DbPreferencesNode
-
database column name for 'name'.
- CN_NODEID - Static variable in class org.tentackle.dbms.prefs.DbPreferencesKey
-
database column name for 'nodeId'.
- CN_OBJECTCLASSID - Static variable in class org.tentackle.dbms.ModificationLog
-
database column name for 'objectClassId'.
- CN_OBJECTCLASSNAME - Static variable in class org.tentackle.dbms.ModificationLog
-
database column name for 'objectClassName'.
- CN_OBJECTID - Static variable in class org.tentackle.dbms.ModificationLog
-
database column name for 'objectId'.
- CN_PARENTID - Static variable in class org.tentackle.dbms.prefs.DbPreferencesNode
-
database column name for 'parentId'.
- CN_PROCESSED - Static variable in class org.tentackle.dbms.ModificationLog
-
database column name for 'processed'.
- CN_ROOTNODEID - Static variable in class org.tentackle.dbms.prefs.DbPreferencesKey
-
database column name for 'rootNodeId'.
- CN_ROOTNODEID - Static variable in class org.tentackle.dbms.prefs.DbPreferencesNode
-
database column name for 'rootNodeId'.
- CN_SERIAL - Static variable in class org.tentackle.dbms.AbstractDbObject
-
name of serial column.
- CN_TABLESERIAL - Static variable in class org.tentackle.dbms.AbstractDbObject
-
name of tableserial column.
- CN_TRACKEDNAME - Static variable in class org.tentackle.dbms.DbModification
-
database column name for 'trackedName'.
- CN_TXID - Static variable in class org.tentackle.dbms.ModificationLog
-
database column name for 'txId'.
- CN_TXNAME - Static variable in class org.tentackle.dbms.ModificationLog
-
database column name for 'txName'.
- CN_USER - Static variable in class org.tentackle.dbms.prefs.DbPreferencesNode
-
database column name for 'user'.
- CN_USERID - Static variable in class org.tentackle.dbms.ModificationLog
-
database column name for 'userId'.
- CN_VALUE - Static variable in class org.tentackle.dbms.prefs.DbPreferencesKey
-
database column name for 'value'.
- CN_WHEN - Static variable in class org.tentackle.dbms.ModificationLog
-
database column name for 'when'.
- collect(StatementHistory) - Static method in class org.tentackle.dbms.StatementStatistics
-
Collects the statistics from a statement history.
- columnCount - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
Number of columns in a resultset.
- commit() - Method in class org.tentackle.dbms.DbTransaction
-
Performs the commit.
Finishes any pending batched statements.
Executes all commit runnables and removes them. - commit() - Method in class org.tentackle.dbms.ManagedConnection
-
Performs a commit.
- commit(long) - Method in class org.tentackle.dbms.Db
-
Commits a transaction if the corresponding "begin()" has started it.
- commit(long) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- commit(long) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- COMMIT - Enum constant in enum class org.tentackle.dbms.DbModificationType
-
commit transaction.
- compareTo(DbObjectClassVariables.ForeignReference) - Method in record class org.tentackle.dbms.DbObjectClassVariables.ForeignReference
-
Sorted by priority + method.
- compareTo(StatementStatistics) - Method in class org.tentackle.dbms.StatementStatistics
- compareTo(Session) - Method in class org.tentackle.dbms.Db
-
Compares two session instances.
Since the instance number is unique, it is used for the comparison. - compareTo(P) - Method in class org.tentackle.dbms.AbstractDbObject
-
Compare two objects.
Comparison makes only sense between objects of the same type. - con - Variable in class org.tentackle.dbms.StatementWrapper
-
the managed connection.
- configure(EncryptedProperties) - Method in class org.tentackle.dbms.DbTransactionFactory
-
Configures the factory from the main session properties.
- configure(Db, String) - Method in class org.tentackle.dbms.DefaultIdSourceConfigurator
- configure(Db, String) - Method in interface org.tentackle.dbms.IdSourceConfigurator
-
Connect to the ID-Source.
- configureColumn(String) - Method in class org.tentackle.dbms.ResultSetSection
-
Configures a column for automatic retrieval.
- configureColumn(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Configures a column of the current section for automatic retrieval.
The method can only be used for predefined types! - configureColumns(DataType, String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Configures all columns for the given name and datatype.
The method is mainly provided for backend-specific datatypes, but can be used for any datatype. - configureSection(Object) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Configures a section within this resultset for retrieval.
- conList - Variable in class org.tentackle.dbms.DefaultConnectionManager
-
managed connections.
- connection() - Method in class org.tentackle.dbms.Db
-
Gets the currently attached connection.
- CONNECTION_CLASS - Static variable in class org.tentackle.dbms.rmi.RmiServer
-
The property key for the connection class to export.
- ConnectionManager - Interface in org.tentackle.dbms
-
Connection Manager for local connections.
JDBC-connections are never used directly. - ConnectionManagerProvider - Interface in org.tentackle.dbms
-
A provider for a connection manager.
- consume() - Method in class org.tentackle.dbms.StatementWrapper
-
Consume a statement without executing it.
The method is invoked if a rollback is performed prior to consuming the statement. - countFetch(TimeKeeper, int) - Method in class org.tentackle.dbms.StatementStatisticsResult
-
Counts the fetch statistics.
- countForClearWarnings() - Method in class org.tentackle.dbms.ManagedConnection
-
Increments a counter and empties the warnings on the connection and all prepared statements if a trigger value is reached.
- countInvocation(StatementHistory) - Method in class org.tentackle.dbms.StatementStatistics
-
Counts an invocation with optional fetch statistics.
- countInvocation(TimeKeeper) - Method in class org.tentackle.dbms.StatementStatistics
-
Count a statement execution duration.
- countInvocation(TimeKeeper, int) - Method in class org.tentackle.dbms.StatementStatistics
-
Count invocations and duration of a statement.
- countMethodInvocation(Method, Class, TimeKeeper) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Counts the invocation of a delegate method.
- countModification() - Method in class org.tentackle.dbms.AbstractDbObject
-
Counts a modification for the class of this object.
- countModification() - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- countModification() - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- countModification(long) - Method in class org.tentackle.dbms.DbModification
-
Counts modifications.
Adds the count to the table's entry and the master entry. - countModification(Session, String) - Method in class org.tentackle.dbms.DbModificationTracker
-
Counts the modification for a table.
Used by the persistence layer to update the modification table.
Never invoked for remote sessions! - countPending(Session) - Method in class org.tentackle.dbms.ModificationTally
-
Adds a pending modification count.
- countRollback() - Method in class org.tentackle.dbms.TransactionStatisticsResult
-
Counts a rollback.
- countStatements(int) - Method in class org.tentackle.dbms.TransactionStatisticsResult
-
Counts the statements statistics.
- countTransaction(DbTransaction, boolean) - Method in class org.tentackle.dbms.TransactionStatistics
-
Counts the invocation of a transaction.
- create() - Method in class org.tentackle.dbms.DbFactory
- create(Character) - Method in class org.tentackle.dbms.ModificationTypeFactory
-
Maps an external character value to a modification type.
Throws aPersistenceExceptionif unknown external value. - create(Class) - Static method in class org.tentackle.dbms.DbObjectClassVariables
-
Creates a classvariable for a db object.
Classid and tablename are derived from mapped services in META-INF. - create(Class) - Static method in class org.tentackle.dbms.DbOperationClassVariables
-
Creates a classvariable for a db operation.
- create(Class, int, String) - Static method in class org.tentackle.dbms.DbObjectClassVariables
-
Creates a classvariable for a db object.
- create(String, Session, int, int, int, int, long, long) - Method in class org.tentackle.dbms.DbPoolFactory
- create(String, Session, int, int, long, long) - Method in class org.tentackle.dbms.DbPoolFactory
- create(Db, String, boolean) - Method in class org.tentackle.dbms.DbTransactionFactory
-
Creates a transaction.
Notice that this method is only invoked for local sessions, never for remote sessions. - create(RemoteDbSession) - Method in class org.tentackle.dbms.DbRemoteSessionFactory
- create(RemoteDbSession) - Method in interface org.tentackle.dbms.RemoteSessionFactory
-
Creates the remote session.
- create(SessionInfo) - Method in class org.tentackle.dbms.DbFactory
- create(SessionPool, SessionInfo) - Method in class org.tentackle.dbms.DbFactory
- CREATE_REGISTRY - Static variable in class org.tentackle.dbms.rmi.RmiServer
-
The property key whether to create a registry or use an external one.
- createBacklog() - Method in class org.tentackle.dbms.DbObjectClassVariables
-
Creates the table serial backlog.
- createBatch() - Method in class org.tentackle.dbms.DbTransaction
-
Creates the statement batch for this transaction.
- createBatchStatement(PreparedStatementWrapper, ModificationType) - Method in class org.tentackle.dbms.DbBatch
-
Creates a batched statement.
- createConnection(BackendInfo) - Method in class org.tentackle.dbms.DefaultConnectionManager
-
Creates a managed connection.
- createConnection(BackendInfo) - Method in class org.tentackle.dbms.MpxConnectionManager
- createConnections(int) - Method in class org.tentackle.dbms.MpxConnectionManager
-
Create spare connections.
- createDbInstances(int) - Method in class org.tentackle.dbms.DbPool
-
Creates Db instances.
The number of created instances is at least 1. - createDeleteAllSql() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL text to delete objects.
- createDeleteSql(Backend) - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL code for the delete statement.
- createDummyUpdateSql() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL code for the fake update statement.
Useful to get an exclusive lock within a transaction. - createException(Throwable) - Method in class org.tentackle.dbms.rmi.RemoteDelegateImpl
-
Creates a remote exception.
- createFromSqlException(String, SQLException) - Method in class org.tentackle.dbms.ManagedConnection
-
Creates a
PersistenceExceptionorSessionClosedExceptiondepending on the SQL error.
If the session was reconnected, aReconnectedExceptionis thrown. - createInsertSql(Backend) - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL code for the insert statement.
- createInsertSql(Backend) - Method in class org.tentackle.dbms.DbModification
- createInsertSql(Backend) - Method in class org.tentackle.dbms.ModificationLog
- createInsertSql(Backend) - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
- createInsertSql(Backend) - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
- createLazyExceptionMessage(String, Throwable, Identifiable, Session) - Method in class org.tentackle.dbms.DbSessionUtilities
- createMasterSerial(long) - Method in class org.tentackle.dbms.rmi.DbModificationTrackerRemoteDelegateImpl
-
Creates the master serial object from a long serial.
- createModificationEvent(Collection) - Method in class org.tentackle.dbms.DbModificationTracker
-
Creates a modification event.
- createModificationLog() - Method in class org.tentackle.dbms.DefaultModificationLogFactory
- createModificationLog() - Method in interface org.tentackle.dbms.ModificationLogFactory
-
Creates a modlog.
- createModificationLog(Db) - Method in class org.tentackle.dbms.DefaultModificationLogFactory
- createModificationLog(Db) - Method in interface org.tentackle.dbms.ModificationLogFactory
-
Creates an empty modification log for a given session.
Useful for reading the log or as an RMI-proxy. - createModificationLog(Db, ModificationType) - Method in class org.tentackle.dbms.DefaultModificationLogFactory
- createModificationLog(Db, ModificationType) - Method in interface org.tentackle.dbms.ModificationLogFactory
-
Creates a modification log for a given session and modification type.
- createModificationLog(ModificationLoggable, ModificationType) - Method in class org.tentackle.dbms.DefaultModificationLogFactory
- createModificationLog(ModificationLoggable, ModificationType) - Method in interface org.tentackle.dbms.ModificationLogFactory
-
Creates a modification log from an object.
- createModificationLog(ModificationLog, ModificationType) - Method in class org.tentackle.dbms.DefaultModificationLogFactory
- createModificationLog(ModificationLog, ModificationType) - Method in interface org.tentackle.dbms.ModificationLogFactory
-
Creates a modlog from another modlog, but a different type.
- createModificationLog(ModificationType) - Method in interface org.tentackle.dbms.ModificationLoggable
-
Creates a
ModificationLog. - createObject(Class) - Method in class org.tentackle.dbms.DbUtilities
-
Creates a session-less object for the given class.
- createPooledDb(int) - Method in class org.tentackle.dbms.DbPool
-
Creates a new pooled db.
- createPreparedStatement(SqlSupplier) - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates a one-shot prepared statement.
UsesResultSet.TYPE_FORWARD_ONLYandResultSet.CONCUR_READ_ONLY. - createPreparedStatement(SqlSupplier) - Method in class org.tentackle.dbms.Db
-
Creates a one-shot prepared statement.
UsesResultSet.TYPE_FORWARD_ONLYandResultSet.CONCUR_READ_ONLY. - createPreparedStatement(SqlSupplier, int, int) - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates a one-shot prepared statement.
- createPreparedStatement(SqlSupplier, int, int) - Method in class org.tentackle.dbms.Db
-
Creates a one-shot prepared statement.
- createPreparedStatement(StatementKey, String, int, int) - Method in class org.tentackle.dbms.ManagedConnection
-
Creates a prepared statement.
- createPropertySupport() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates a property support object for this persistent object.
- createReconnectionPolicy(boolean, long) - Method in class org.tentackle.dbms.DbUtilities
-
Creates a reconnection policy.
- createRemoteDelegate(Class, Class, Class, Class, Object...) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Creates a remote delegate for the given class.
Same asRemoteDbSessionImpl.createRemoteDelegateInstance(Class, Class, Class, Class, Object...)but with dynamic proxy to allow intercepting. - createRemoteDelegate(String) - Method in class org.tentackle.dbms.Db
-
Creates the remote delegate.
- createRemoteDelegateInstance(Class, Class, Class, Class, Object...) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Creates a remote delegate for the given class.
- createSelectAllByIdInnerSql(Backend) - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the inner SQL text to select all fields by ID.
- createSelectAllIdSerialInnerSql() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the inner SQL text to select the id and serial fields.
- createSelectAllInnerSql(Backend) - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the inner SQL text to select all fields.
- createSelectExpiredTableSerials1Sql() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL code for the first statement to select expired table serials.
- createSelectExpiredTableSerials2Sql() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL code for the second statement to select expired table serials.
- createSelectIdInnerSql() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the inner SQL text to select the ID field.
- createSelectMaxIdSql() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL code for the selectMaxId statement.
- createSelectMaxTableSerialSql() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL code for the selectMaxTableSerial statement.
- createSelectObjectsWithExpiredTableSerialsSql(Backend) - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL code for the first statement to select expired table serials.
- createSelectSerialSql() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL code for the selectSerial statement.
- createSelectSql(Backend, boolean) - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL code for the select by id statement.
- createSession(int) - Method in class org.tentackle.dbms.PooledDb
-
Creates a new session.
- createSession(SessionInfo) - Method in class org.tentackle.dbms.rmi.RemoteDbConnectionImpl
-
Creates the session.
Needs to be implemented by the application. - createSessionInfo(int) - Method in class org.tentackle.dbms.DbPool
-
Creates the session info for a new pooled Db.
- createSql(Backend) - Method in class org.tentackle.dbms.Query
-
Creates the SQL-code of this query.
Optionally modifies the query according to limit and offset. - createSqlUpdate() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL intro text to update objects.
- createStatement() - Method in class org.tentackle.dbms.Db
-
Creates a non-prepared statement.
- createStatement(int) - Method in class org.tentackle.dbms.Db
-
Creates a non-prepared statement.
- createStatement(int, int) - Method in class org.tentackle.dbms.Db
-
Creates a non-prepared statement.
- createStatement(int, int) - Method in class org.tentackle.dbms.ManagedConnection
-
Creates a non-prepared statement.
One-shot statements (i.e., non-prepared statements) must attach the db as soon as they are instantiated. - createStatementKey(String) - Method in class org.tentackle.dbms.Query
-
Creates the statement key.
- createStatementKey(StatementId) - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates a statement key for the corresponding persistence class from a statement id.
- createTransaction(String, boolean) - Method in class org.tentackle.dbms.Db
-
Creates a transaction.
- createUpdateAndSetSerialSql() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL code for the serial set and update statement.
- createUpdateSerialAndTableSerialSql() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL code for the serial + tableSerial update statement.
- createUpdateSerialSql() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL code for the serial update statement.
- createUpdateSql(Backend) - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates the SQL code for the update statement.
- createUpdateSql(Backend) - Method in class org.tentackle.dbms.DbModification
- createUpdateSql(Backend) - Method in class org.tentackle.dbms.ModificationLog
- createUpdateSql(Backend) - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
- createUpdateSql(Backend) - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
D
- Db - Class in org.tentackle.dbms
-
A persistence session.
- Db(ConnectionManager, SessionInfo) - Constructor for class org.tentackle.dbms.Db
-
Creates an instance of a logical session.
If the login fails due to wrong passwords or denied access by the application server, the methodDb.handleConnectException(Exception)is invoked. - DbBatch - Class in org.tentackle.dbms
-
Maintains batches of prepared statements.
- DbBatch(DbTransaction, int) - Constructor for class org.tentackle.dbms.DbBatch
-
Creates a batch for prepared statements.
- DbBatchStatement - Class in org.tentackle.dbms
-
Statement and its data used in a batched transactions.
- DbBatchStatement(PreparedStatementWrapper, ModificationType) - Constructor for class org.tentackle.dbms.DbBatchStatement
-
Creates a batched statement.
- DbClassVariablesFactory - Class in org.tentackle.dbms
-
Factory for class variables.
- DbClassVariablesFactory() - Constructor for class org.tentackle.dbms.DbClassVariablesFactory
-
Creates the class variables factory.
- DbDiagnosticUtilities - Class in org.tentackle.dbms
-
Utilities for diagnostic purposes with persistence extensions.
- DbDiagnosticUtilities() - Constructor for class org.tentackle.dbms.DbDiagnosticUtilities
-
Creates the diagnostic utilities.
- DbFactory - Class in org.tentackle.dbms
-
Session factory for Db instances.
- DbFactory() - Constructor for class org.tentackle.dbms.DbFactory
-
Creates the session factory.
- DbModification - Class in org.tentackle.dbms
-
Modification information per table.
- DbModification() - Constructor for class org.tentackle.dbms.DbModification
-
Creates an empty modification object.
- DbModification(Db) - Constructor for class org.tentackle.dbms.DbModification
-
Creates an empty modification object.
- DbModification(Db, String) - Constructor for class org.tentackle.dbms.DbModification
-
Creates a modification object for a given tablename.
- DbModificationTracker - Class in org.tentackle.dbms
-
The modification tracker for the tentackle persistence layer.
- DbModificationTracker() - Constructor for class org.tentackle.dbms.DbModificationTracker
-
Creates a tracker with a default name to be configured.
- DbModificationTracker(String) - Constructor for class org.tentackle.dbms.DbModificationTracker
-
Creates a tracker to be configured.
- DbModificationTrackerRemoteDelegate - Interface in org.tentackle.dbms.rmi
-
Remote delegate interface for
ModificationTracker. - DbModificationTrackerRemoteDelegateImpl<T> - Class in org.tentackle.dbms.rmi
-
Remote delegate implementation for
DbModificationTracker. - DbModificationTrackerRemoteDelegateImpl(RemoteDbSessionImpl, Class) - Constructor for class org.tentackle.dbms.rmi.DbModificationTrackerRemoteDelegateImpl
- DbModificationType - Enum Class in org.tentackle.dbms
-
The persistence layer's modification types.
- dbObject - Variable in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
-
persistent object associated with the delegate's session.
- DbObjectClassVariables<P> - Class in org.tentackle.dbms
-
Holds static class variables for classes derived from AbstractDbObject.
This is a "singleton per class". - DbObjectClassVariables(Class) - Constructor for class org.tentackle.dbms.DbObjectClassVariables
-
Constructs a class variable.
Throws IllegalStateException if already constructed. - DbObjectClassVariables(Class, int, String) - Constructor for class org.tentackle.dbms.DbObjectClassVariables
-
Constructs a class variable.
Throws IllegalStateException if already constructed. - DbObjectClassVariables.ForeignReference - Record Class in org.tentackle.dbms
-
A reference to a class that is referencing this class.
- DbObjectResult - Record Class in org.tentackle.dbms.rmi
-
Result used to return the possibly new object-ID, changed serial and a result code for success or failure.
- DbObjectResult(long, long, long) - Constructor for record class org.tentackle.dbms.rmi.DbObjectResult
-
Creates an instance of a
DbObjectResultrecord class. - DbObjectResult(AbstractDbObject) - Constructor for record class org.tentackle.dbms.rmi.DbObjectResult
-
Creates a result for the client.
- dbOpCv(Class) - Method in class org.tentackle.dbms.DbClassVariablesFactory
-
Creates a classvariable for a db operation.
- dbOperation - Variable in class org.tentackle.dbms.rmi.AbstractDbOperationRemoteDelegateImpl
-
operation object associated to the delegate's session.
- DbOperationClassVariables<P> - Class in org.tentackle.dbms
-
Holds static class variables for classes derived from AbstractDbOperation.
- DbOperationClassVariables(Class) - Constructor for class org.tentackle.dbms.DbOperationClassVariables
-
constructs a classvariable.
- dbPoCv(Class) - Method in class org.tentackle.dbms.DbClassVariablesFactory
-
Creates a classvariable for a db object.
Classid and tablename are derived from mapped services in META-INF. - dbPoCv(Class, int, String) - Method in class org.tentackle.dbms.DbClassVariablesFactory
-
Creates a classvariable for a db object.
- DbPool - Class in org.tentackle.dbms
-
An implementation of a session pool.
It allows min/max sizes, fixed increments and timeouts for unused instances. - DbPool(String, ConnectionManager, SessionInfo, int, int, int, int, int, long, long) - Constructor for class org.tentackle.dbms.DbPool
-
Creates a pool.
- DbPool(ConnectionManager, SessionInfo) - Constructor for class org.tentackle.dbms.DbPool
-
Creates a pool useful for most servers.
Using the default connection manager. - DbPoolFactory - Class in org.tentackle.dbms
-
SessionPool factory implementation.
- DbPoolFactory() - Constructor for class org.tentackle.dbms.DbPoolFactory
-
Creates the session pool factory.
- DbPoolTimeoutThread - Class in org.tentackle.dbms
-
Timeout thread to supervise
DbPools. - DbPreferences - Class in org.tentackle.dbms.prefs
-
Persisted preferences implementation.
- DbPreferences(DbPreferences, DbPreferencesNode, Collection, Collection) - Constructor for class org.tentackle.dbms.prefs.DbPreferences
-
Creates a preferences node.
- DbPreferencesFactory - Class in org.tentackle.dbms.prefs
-
Repository and factory for database backed preferences.
- DbPreferencesFactory() - Constructor for class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Creates the factory.
- DbPreferencesKey - Class in org.tentackle.dbms.prefs
-
A preferences key/value pair stored in the database.
- DbPreferencesKey() - Constructor for class org.tentackle.dbms.prefs.DbPreferencesKey
-
Creates a preferences key without a session.
- DbPreferencesKey(Db) - Constructor for class org.tentackle.dbms.prefs.DbPreferencesKey
-
Creates a preferences key.
- DbPreferencesNode - Class in org.tentackle.dbms.prefs
-
Preferences Node stored in the database.
- DbPreferencesNode() - Constructor for class org.tentackle.dbms.prefs.DbPreferencesNode
-
Creates a node (without db).
- DbPreferencesNode(Db) - Constructor for class org.tentackle.dbms.prefs.DbPreferencesNode
-
Creates a node.
- DbPreferencesOperation - Class in org.tentackle.dbms.prefs
-
Remoting capable operations on persisted preferences.
- DbPreferencesOperation() - Constructor for class org.tentackle.dbms.prefs.DbPreferencesOperation
-
Creates an operation object not associated to a session.
The session must be set viaAbstractDbOperation.setSession(Session)in order to use it. - DbPreferencesOperation(Db) - Constructor for class org.tentackle.dbms.prefs.DbPreferencesOperation
-
Creates an operation object.
- DbPreferencesOperation.RefreshInfo - Class in org.tentackle.dbms.prefs
-
Holds all nodes and keys for a user- or system-root along with its version.
- DbPreferencesOperationRemoteDelegate - Interface in org.tentackle.dbms.prefs.rmi
- DbPreferencesOperationRemoteDelegateImpl - Class in org.tentackle.dbms.prefs.rmi
- DbPreferencesOperationRemoteDelegateImpl(RemoteDbSessionImpl, Class) - Constructor for class org.tentackle.dbms.prefs.rmi.DbPreferencesOperationRemoteDelegateImpl
- DbRemoteDelegate - Interface in org.tentackle.dbms.rmi
-
Remote delegate interface for
Db. - DbRemoteDelegateImpl - Class in org.tentackle.dbms.rmi
-
Remote delegate implementation for
Db. - DbRemoteDelegateImpl(RemoteDbSessionImpl, Class) - Constructor for class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- DbRemoteDelegateLocator - Class in org.tentackle.dbms.rmi
-
The default implementation for a
RemoteDelegateLocator. - DbRemoteDelegateLocator() - Constructor for class org.tentackle.dbms.rmi.DbRemoteDelegateLocator
-
Creates a remote delegate locator.
- DbRemoteSessionFactory - Class in org.tentackle.dbms
-
Default implementation for a remote session factory.
- DbRemoteSessionFactory() - Constructor for class org.tentackle.dbms.DbRemoteSessionFactory
-
Creates the remote session factory.
- DbSessionUtilities - Class in org.tentackle.dbms
- DbSessionUtilities() - Constructor for class org.tentackle.dbms.DbSessionUtilities
-
Creates the session utilities.
- dbSize - Variable in class org.tentackle.dbms.DefaultConnectionManager
-
current allocation size for
Dbs logged in. - DbTransaction - Class in org.tentackle.dbms
-
Holder for transaction local data.
- DbTransaction(Db, String, boolean) - Constructor for class org.tentackle.dbms.DbTransaction
-
Creates a transaction.
- DbTransactionFactory - Class in org.tentackle.dbms
-
Factory for transactions.
Collects duration statistics and monitors transactions. - DbTransactionFactory() - Constructor for class org.tentackle.dbms.DbTransactionFactory
-
Creates the transaction factory.
- DbTransactionHandle - Record Class in org.tentackle.dbms
-
A unique handle to reference an object within a
DbTransaction. - DbTransactionHandle(long, int) - Constructor for record class org.tentackle.dbms.DbTransactionHandle
-
Creates an instance of a
DbTransactionHandlerecord class. - DbUtilities - Class in org.tentackle.dbms
-
Persistence utility methods.
This singleton is provided mainly to allow a clean separation between the lower- and higher level persistence layer implementations.
It is replaced byPersistenceUtilitiesfrom the tentackle-persistence module to make it PDO-aware. - DbUtilities() - Constructor for class org.tentackle.dbms.DbUtilities
-
Creates the db utitities.
- decrementTxLevel() - Method in class org.tentackle.dbms.DbTransaction
-
Decrements the transaction level.
- DEFAULT_NAME - Static variable in class org.tentackle.dbms.ObjectSequenceId
-
Default name of the object sequence id.
- DefaultConnectionManager - Class in org.tentackle.dbms
-
The default implementation of a connection manager.
Each session will get its own physical connection. - DefaultConnectionManager() - Constructor for class org.tentackle.dbms.DefaultConnectionManager
-
Creates a connection manager.
- DefaultConnectionManager(String, int, int, int, int, int) - Constructor for class org.tentackle.dbms.DefaultConnectionManager
-
Creates a new connection manager.
- DefaultIdSourceConfigurator - Class in org.tentackle.dbms
-
Default
IdSourceConfigurator. - DefaultIdSourceConfigurator() - Constructor for class org.tentackle.dbms.DefaultIdSourceConfigurator
-
Creates an IdSource configurator.
- DefaultMasterSerial - Record Class in org.tentackle.dbms.rmi
-
The default master serial.
- DefaultMasterSerial(long) - Constructor for record class org.tentackle.dbms.rmi.DefaultMasterSerial
-
Creates an instance of a
DefaultMasterSerialrecord class. - DefaultModificationLogFactory - Class in org.tentackle.dbms
-
Default implementation of a modification log factory.
- DefaultModificationLogFactory() - Constructor for class org.tentackle.dbms.DefaultModificationLogFactory
-
Creates the modification log factory.
- DefaultReconnectionPolicy - Class in org.tentackle.dbms
-
The default reconnection policy.
The policy will reconnect with a fixed interval. - DefaultReconnectionPolicy(boolean, long) - Constructor for class org.tentackle.dbms.DefaultReconnectionPolicy
-
Creates the policy.
- DELETE - Enum constant in enum class org.tentackle.dbms.DbModificationType
-
delete object.
- deleteByObjectTypeSerial(int, long, ModificationType, long) - Method in class org.tentackle.dbms.ModificationLog
-
Deletes by objectclass + objectid + serial less or equal than some value.
Used to remove modlogs already processed for a given object. - deleteByObjectTypeSerial(int, long, ModificationType, long) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- deleteByObjectTypeSerial(int, long, ModificationType, long) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- deleteByTxId(long) - Method in class org.tentackle.dbms.ModificationLog
-
Deletes a transaction from the modlogs.
- deleteByTxId(long) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- deleteByTxId(long) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- deleteImpl(DbObjectClassVariables, SqlSupplier) - Method in class org.tentackle.dbms.AbstractDbObject
-
Delete implementation.
- deleteObject() - Method in class org.tentackle.dbms.AbstractDbObject
-
Removes this object from the database.
This includes all components, if any.
A removed object will also get the modified attribute set by definition, because itAbstractDbObject.isNew()again.
It is also verified that the objectAbstractDbObject.isPersistable()and is not new. - deleteObject(P) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- deleteObject(P) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- deletePlain() - Method in class org.tentackle.dbms.AbstractDbObject
-
Deletes this object from the database without any further processing.
No linked objects, mod counting, logging, etc... - deletePlain(long, long) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- deletePlain(long, long) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- deleteProcessed(Timestamp) - Method in class org.tentackle.dbms.ModificationLog
-
Deletes processed modlogs.
Used to limit the backlog for recovery. - deleteProcessed(Timestamp) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- deleteProcessed(Timestamp) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- deleteReferencedRelations() - Method in class org.tentackle.dbms.AbstractDbObject
-
Deletes all composite relations referenced by this object.
- deleteReferencingRelations() - Method in class org.tentackle.dbms.AbstractDbObject
-
Deletes all composite relations that reference this object.
- deleteStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for delete().
- detach(Db) - Method in interface org.tentackle.dbms.ConnectionManager
-
Detaches a connection from a
Db.
A Db must be detached to release the connection for use of other Db instances. - detach(Db) - Method in class org.tentackle.dbms.DefaultConnectionManager
- detach(Db) - Method in class org.tentackle.dbms.MpxConnectionManager
- detachSession() - Method in class org.tentackle.dbms.PreparedStatementWrapper
- detachSession() - Method in class org.tentackle.dbms.StatementWrapper
-
Detach the session from the connection.
Statements detach the session on executeUpdate or on close() in theResultSetWrapperafter executeQuery. - detachSession(Db) - Method in class org.tentackle.dbms.ManagedConnection
-
Detaches a session from a connection.
- determineClientSocketFactory(Session, SessionInfo, SessionInfo) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Determines the client socket factory for the delegates.
The default implementation returnsRmiServer.getClientSocketFactory(). - determineImplementingClassOfReturnType(Class) - Method in class org.tentackle.dbms.DbObjectClassVariables
-
Determines the implementing class for a type returned by a method.
- determinePort(Session, SessionInfo, SessionInfo) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Determines the tcp port for the delegates.
The default implementation returnsRmiServer.getPort(). - determineReferencePriority(Class) - Method in class org.tentackle.dbms.DbObjectClassVariables
-
Determine the referencing priority.
- determineServerSocketFactory(Session, SessionInfo, SessionInfo) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Determines the server socket factory for the delegates.
The default implementation returnsRmiServer.getServerSocketFactory(). - determineSessionCloned(SessionInfo, DbPool) - Method in class org.tentackle.dbms.MultiUserDbPool
-
Determines whether the next session to open should be cloned or not.
- determineTableSerialTableName(DbObjectClassVariables) - Method in class org.tentackle.dbms.DbUtilities
-
Determines whether table serial is valid for this pdo class.
- determineTimeout(Session, SessionInfo, SessionInfo) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Determines the session timeout count.
The default implementation returnsRmiServer.getSessionTimeout(). - differsPersisted() - Method in class org.tentackle.dbms.AbstractDbObject
-
Returns whether any of the attributes differs from the values persisted in the database.
This method is only applicable to fulltracked entities and returns false if not fulltracked. - disableReconnection() - Method in class org.tentackle.dbms.Db
-
Disables the automatic reconnection capability.
- doCreateConnectionDump(StringBuilder, ManagedConnection) - Method in class org.tentackle.dbms.DbDiagnosticUtilities
-
Creates the dump for a connection.
- doCreateStackDump(StringBuilder) - Method in class org.tentackle.dbms.DbDiagnosticUtilities
- doCreateStackDump(StringBuilder, ThreadInfo, Thread) - Method in class org.tentackle.dbms.DbDiagnosticUtilities
- doLogStatistics(Logger.Level, boolean) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Logs the RMI-statistics.
- dummyUpdate() - Method in class org.tentackle.dbms.AbstractDbObject
-
Performs a fake update.
The method is provided as an alternative toAbstractDbObject.reloadObjectForUpdate()orAbstractDbObject.selectObjectForUpdate(long)to lock the object during a transaction by updating the ID without changing it. - dummyUpdate(P) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- dummyUpdate(P) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- dummyUpdateStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for dummyUpdate().
E
- effectiveClass() - Method in interface org.tentackle.dbms.rmi.RemoteDelegateLocator.Result
-
Gets the effectively serviced class.
- enableReconnection(boolean, long) - Method in class org.tentackle.dbms.Db
-
Enables the automatic reconnection capability.
If the backend is shutdown or not available for some other reason, the application will retry to connect periodically. - end() - Method in class org.tentackle.dbms.StatementHistory
-
Sets the execution end.
- endSkip() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Ends skip mode.
- enlargeSize(int) - Method in class org.tentackle.dbms.TableSerialExpirationBacklog
-
Computes the enlarged size.
Invoked when there is an outdated query. - equals(Object) - Method in class org.tentackle.dbms.AbstractDbObject
-
Indicates whether some other object is "equal to" this one.
Method is final! - equals(Object) - Method in class org.tentackle.dbms.Db
- equals(Object) - Method in record class org.tentackle.dbms.DbObjectClassVariables.ForeignReference
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.tentackle.dbms.DbTransactionHandle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.tentackle.dbms.prefs.DbPreferences
- equals(Object) - Method in record class org.tentackle.dbms.rmi.DbObjectResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.tentackle.dbms.rmi.DefaultMasterSerial
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.tentackle.dbms.StatementKey
- equals(Object) - Method in class org.tentackle.dbms.StatementStatistics
- execute(boolean) - Method in class org.tentackle.dbms.DbBatch
-
Executes all pending statements.
Statements with more than one parameter set are executed in batch mode, otherwise in standard mode. - execute(boolean) - Method in class org.tentackle.dbms.DbBatchStatement
-
Executes the statement.
- execute(Db) - Method in class org.tentackle.dbms.Query
-
Executes the query with ResultSet.TYPE_FORWARD_ONLY and ResultSet.CONCUR_READ_ONLY.
- execute(Db, int) - Method in class org.tentackle.dbms.Query
-
Executes the query with ResultSet.CONCUR_READ_ONLY.
- execute(Db, int, int) - Method in class org.tentackle.dbms.Query
-
Executes the query.
- executeBatch() - Method in class org.tentackle.dbms.Db
-
Executes all pending batched statements.
Does nothing if there is no batched transaction running. - executeBatch(boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- executeBatch(boolean) - Method in class org.tentackle.dbms.StatementWrapper
-
Submits a batch of commands.
- executePending(boolean, PreparedStatementWrapper) - Method in class org.tentackle.dbms.DbBatch
-
Executes all pending batched statements.
- executeQuery() - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Executes the query.
- executeQuery(boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Executes the query.
- executeQuery(String) - Method in class org.tentackle.dbms.StatementWrapper
-
Executes a query.
- executeQuery(String, boolean) - Method in class org.tentackle.dbms.StatementWrapper
-
Executes a query.
- executeQueryImpl(String) - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Implementation of executeQuery.
- executeQueryImpl(String) - Method in class org.tentackle.dbms.StatementWrapper
-
Implementation of executeQuery.
- executeUpdate() - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Executes the update.
- executeUpdate(String) - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Method must not be invoked on a
PreparedStatementWrapper. - executeUpdate(String) - Method in class org.tentackle.dbms.StatementWrapper
-
Executes the given SQL statement.
- executeUpdateImpl(String) - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Implementation of executeUpdate.
- executeUpdateImpl(String) - Method in class org.tentackle.dbms.StatementWrapper
-
Implementation of executeUpdate.
- expirationBacklog - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
table serial expiration backlog.
- Exportable - Interface in org.tentackle.dbms.rmi
-
An exportable remote object.
- exportImpl(OutputStream, boolean) - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Exports a preferences node.
XmlSupport is package scope. - exportMe() - Method in interface org.tentackle.dbms.rmi.Exportable
-
Exports this remote object.
- exportMe() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
- exportNode(OutputStream) - Method in class org.tentackle.dbms.prefs.DbPreferences
- exportRemoteDelegate(RemoteDelegate) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Exports the given delegate.
- exportRemoteObject(Remote, int, RMIClientSocketFactory, RMIServerSocketFactory) - Method in class org.tentackle.dbms.rmi.RemoteDbConnectionImpl
-
Exports the given remote object.
- exportSubtree(OutputStream) - Method in class org.tentackle.dbms.prefs.DbPreferences
- extractMasterSerial(MasterSerial) - Method in class org.tentackle.dbms.DbModificationTracker
-
Extracts the master serial from the master serial object.
Used in remote clients only.
F
- findColumn(String) - Method in class org.tentackle.dbms.ResultSetSkipBlock
-
Maps the given column name to its column index.
- findColumn(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Maps the given column name to its column index.
- findEffectiveClass(Class) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateLocator
-
Gets the effective class.
- findRemoteDelegate(Class) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateLocator
- findRemoteDelegate(Class) - Method in interface org.tentackle.dbms.rmi.RemoteDelegateLocator
-
Finds the remote delegate interface and implementation for a class.
- finish(DbTransaction, boolean) - Method in class org.tentackle.dbms.DbTransactionFactory
-
Finishes a transaction.
Invoked when a transaction is committed or rolled back.
Notice that this method is only invoked for local sessions, never for remote sessions. - finishModification(ModificationType) - Method in class org.tentackle.dbms.AbstractDbObject
-
Does any postprocessing after the object has been updated, inserted or deleted.
- finishNotUpdated(ModificationType) - Method in class org.tentackle.dbms.AbstractDbObject
-
Does any update postprocessing for objects not being updated.
Necessary, because not modified for some reason, e.g., only components modified.
The default implementation does nothing. - firePropertyChange(String, Object, Object) - Method in class org.tentackle.dbms.AbstractDbObject
-
Support for reporting bound property changes for Object properties.
- first - Variable in class org.tentackle.dbms.ModificationLog.ReplayState
-
true if this is the first block.
- first() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Moves the cursor to the first row in this
ResultSetobject. - flush() - Method in class org.tentackle.dbms.prefs.DbPreferences
- flush(DbPreferences, boolean) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Flushes a node and all of its sub-nodes to the backing store.
- flush(DbPreferences, boolean) - Method in interface org.tentackle.dbms.prefs.rmi.DbPreferencesOperationRemoteDelegate
- flush(DbPreferences, boolean) - Method in class org.tentackle.dbms.prefs.rmi.DbPreferencesOperationRemoteDelegateImpl
- flush(DbPreferences, boolean, boolean) - Method in class org.tentackle.dbms.prefs.DbPreferencesOperation
-
Flushes a node back to storage.
- flushImpl(Db, boolean) - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Recursive implementation of flush.
- forceCleanup() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Forces a cleanup if all cleanup and closing failed.
- forceDetach(Db) - Method in interface org.tentackle.dbms.ConnectionManager
-
Detaches but also scans for pending statements to clean up.
- forceDetach(Db) - Method in class org.tentackle.dbms.DefaultConnectionManager
- forceDetach(Db) - Method in class org.tentackle.dbms.MpxConnectionManager
- forceDetached() - Method in class org.tentackle.dbms.StatementWrapper
-
Detaches the Db after a severe error.
- ForeignReference(Method[], int, String) - Constructor for record class org.tentackle.dbms.DbObjectClassVariables.ForeignReference
-
Creates an instance of a
ForeignReferencerecord class. - foreignReferences - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
References from other classes.
- freeConCount - Variable in class org.tentackle.dbms.DefaultConnectionManager
-
number of entries in freeConList.
- freeConList - Variable in class org.tentackle.dbms.DefaultConnectionManager
-
free list for conList (unused entries in conList).
- freeConnection(ManagedConnection) - Method in class org.tentackle.dbms.MpxConnectionManager
-
Frees a connection and adds it to the unattached list.
- freeDbCount - Variable in class org.tentackle.dbms.DefaultConnectionManager
-
number of entries in freeDbList.
- freeDbList - Variable in class org.tentackle.dbms.DefaultConnectionManager
-
free list for dbList (unused entries in dbList).
G
- get(String) - Static method in class org.tentackle.dbms.ObjectSequenceId
-
Gets a sequence id source.
ID sources are unique by name. - get(String, int, int) - Static method in class org.tentackle.dbms.ObjectSequenceId
-
Gets a sequence id source.
ID sources are unique by name. - get(String, String) - Method in class org.tentackle.dbms.prefs.DbPreferences
- get(SessionInfo) - Method in class org.tentackle.dbms.MultiUserDbPool
- get(Backend) - Method in interface org.tentackle.dbms.SqlSupplier
-
Creates the SQL-code according to the backend.
- get(DataType, boolean, Integer) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Gets the object for given
DataType.
This method is provided for application-specific types. - get(DataType, int[], boolean, Integer) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Gets the object for given
DataType.
This method is provided for application-specific types. - getABoolean() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aBooleanin the Java programming language. - getABoolean(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aBooleanin the Java programming language. - getABoolean(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aBooleanin the Java programming language. - getAByte() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aBytein the Java programming language. - getAByte(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aBytein the Java programming language. - getAByte(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aBytein the Java programming language. - getADouble() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aDoublein the Java programming language. - getADouble(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aDoublein the Java programming language. - getADouble(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aDoublein the Java programming language. - getAFloat() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aFloatin the Java programming language. - getAFloat(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aFloatin the Java programming language. - getAFloat(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aFloatin the Java programming language. - getAllIdSerialNames() - Method in class org.tentackle.dbms.DbModificationTracker
-
Gets all id/serial/name tuples from the table entries.
Used in remote connections. - getAllIdSerials() - Method in class org.tentackle.dbms.DbModificationTracker
-
Gets the id/serial tuples of all monitored tables.
Used to serve remote clients only. - getAllOpenSessions() - Static method in class org.tentackle.dbms.Db
-
Gets a list of all currently open sessions.
- getALong() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aLongin the Java programming language. - getALong(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aLongin the Java programming language. - getALong(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aLongin the Java programming language. - getArray(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as anArrayobject in the Java programming language. - getArray(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as anArrayobject in the Java programming language. - getAShort() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aShortin the Java programming language. - getAShort(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aShortin the Java programming language. - getAShort(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aShortin the Java programming language. - getAttachedSession() - Method in class org.tentackle.dbms.StatementWrapper
-
Same as
StatementWrapper.getSession()but nullsafe.
Throws PersistenceException if statement no more attached to connection. - getAttachedSince() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the epochal time when this connection was attached.
- getAttachTimeout() - Method in class org.tentackle.dbms.DefaultConnectionManager
-
Gets the attach-timeout.
- getAutoCommit() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the autocommit value.
- getBackend() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the backend.
- getBackend() - Method in class org.tentackle.dbms.Db
-
Gets the database backend.
- getBackend() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the backend.
- getBackendId() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the backend id.
- getBackendInfo() - Method in class org.tentackle.dbms.Db
-
Gets the backend info.
- getBaseName() - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Gets the basename of the node.
- getBatch() - Method in class org.tentackle.dbms.DbTransaction
-
Gets the statements-batch.
- getBatch() - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Gets the statement batch.
- getBatchCount() - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Gets the number of pending addBatch invocations.
- getBatchParameters() - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Gets the parameter map for a batched statement.
- getBatchParameters() - Method in class org.tentackle.dbms.StatementHistory
-
Gets the batched parameter map.
- getBatchSize() - Method in class org.tentackle.dbms.Db
-
Gets the batch size if batching is enabled.
- getBatchSize() - Method in class org.tentackle.dbms.DbBatch
-
Gets the batch size.
- getBigDecimal() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.math.BigDecimalwith full precision. - getBigDecimal(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.math.BigDecimalwith full precision. - getBigDecimal(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.math.BigDecimalwith full precision. - getBinary(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aBinaryin the Java programming language. - getBinary(int, int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aBinaryin the Java programming language. - getBinary(String, int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aBinaryin the Java programming language. - getBMoney() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aBMoneywith full precision.
Notice that BMoney fields use two columns! - getBMoney(int, int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aBMoneywith full precision.
Notice that BMoney fields use two fields: one for the value and one for the scale (= name + "P") - getBMoney(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aBMoneywith full precision.
Notice that BMoney fields use two fields: one for the value and one for the scale (= name + "_2") - getBoolean() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as abooleanin the Java programming language. - getBoolean(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as abooleanin the Java programming language. - getBoolean(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as abooleanin the Java programming language. - getBoolean(String, boolean) - Method in class org.tentackle.dbms.prefs.DbPreferences
- getByte() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as abytein the Java programming language. - getByte(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as abytein the Java programming language. - getByte(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as abytein the Java programming language. - getByteArray(String, byte[]) - Method in class org.tentackle.dbms.prefs.DbPreferences
- getChar() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as acharin the Java programming language. - getChar(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as acharin the Java programming language. - getChar(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as acharin the Java programming language. - getCharacter() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aCharacterin the Java programming language. - getCharacter(boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aCharacterin the Java programming language. - getCharacter(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aCharacterin the Java programming language. - getCharacter(int, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aCharacterin the Java programming language. - getCharacter(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aCharacterin the Java programming language. - getCharacter(String, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aCharacterin the Java programming language. - getChild(String) - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Gets the child with given relative name.
- getChildren() - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Gets the child nodes.
- getClassBaseName() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the basename of the class of this object.
The basename is the class name without the package name. - getClassId() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the unique class id.
- getClassVariables() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets some attributes and variables common to all objects of the same class.
- getClassVariables() - Method in class org.tentackle.dbms.AbstractDbOperation
-
Gets attributes and variables common to all objects of the same class.
- getClassVariables() - Method in class org.tentackle.dbms.DbModification
- getClassVariables() - Method in class org.tentackle.dbms.ModificationLog
- getClassVariables() - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
- getClassVariables() - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
- getClassVariables() - Method in class org.tentackle.dbms.prefs.DbPreferencesOperation
- getClientHostString() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets the string representation of the client host connected to this session.
- getClientSessionInfo() - Method in class org.tentackle.dbms.RemoteSessionAdapter
- getClientSessionInfo() - Method in interface org.tentackle.dbms.rmi.RemoteDbSession
-
Gets the client session info.
- getClientSessionInfo() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets the client session info.
- getClientSocketFactory() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets the default client socket factory for all delegates.
- getClientSocketFactory() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Gets the server's csf for the delegates.
- getClonedFromDb() - Method in class org.tentackle.dbms.Db
-
Gets the original session if this session is cloned.
- getClosedSince() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets the epochal time when the session was closed.
- getColumnCount() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the number of columns for this entity class.
The method does a "fake-select" if not known so far. - getColumnCount() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Gets the number of columns in the resultset.
- getColumnName(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Gets the column name.
- getColumnOffset() - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Gets the column offset.
- getColumnOffset() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Gets the column offset.
- getCommitOnCloseVoucher() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Gets the commit-on-close voucher.
- getCompressedPort() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Get the fixed port for compressed communication
- getCompressedSslPort() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Get the fixed port for compressed+ssl communication
- getConnection() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the low-level connection.
- getConnection() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets the server connection.
- getConnection() - Method in class org.tentackle.dbms.StatementWrapper
-
Gets the connection.
- getConnectionInactivityTimeout() - Method in class org.tentackle.dbms.MpxConnectionManager
-
Gets the inactivity timeout.
- getConnectionInactivityTimeoutMs() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the optional connection inactivity timeout.
- getConnectionManager() - Method in interface org.tentackle.dbms.ConnectionManagerProvider
-
Gets the connection manager.
- getConnectionManager() - Method in class org.tentackle.dbms.Db
-
Gets the connection manager for this session.
- getConnectionManager() - Method in class org.tentackle.dbms.DbPool
-
Gets the connection manager.
- getConnectionManager(SessionInfo) - Method in class org.tentackle.dbms.DbFactory
-
Gets the connection manager.
- getConnections() - Method in interface org.tentackle.dbms.ConnectionManager
-
Gets the connections.
- getConnections() - Method in class org.tentackle.dbms.DefaultConnectionManager
- getCreationTime() - Method in class org.tentackle.dbms.DbTransaction
-
Gets the epochal creation time in ms.
- getDate() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Datein the Java programming language. - getDate(boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Datein the Java programming language. - getDate(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Datein the Java programming language. - getDate(int, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Datein the Java programming language. - getDate(int, Calendar) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Datein the Java programming language. - getDate(int, Calendar, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Datein the Java programming language. - getDate(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Datein the Java programming language. - getDate(String, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Datein the Java programming language. - getDate(String, Calendar) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Datein the Java programming language. - getDate(String, Calendar, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Datein the Java programming language. - getDate(Calendar) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Datein the Java programming language. - getDate(Calendar, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Datein the Java programming language. - getDbModification() - Method in class org.tentackle.dbms.ModificationTally
-
Gets the modification PO.
- getDbRemoteDelegate() - Method in interface org.tentackle.dbms.rmi.RemoteDbSession
-
Gets the delegate for the remote session.
- getDbRemoteDelegate() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
- getDefault() - Static method in interface org.tentackle.dbms.ModificationType
-
Gets the default modification type.
- getDefaultConnectionManager() - Method in class org.tentackle.dbms.DbUtilities
-
Gets the default connection manager.
- getDefaultIdSource() - Method in class org.tentackle.dbms.Db
-
Gets the default
IdSource. - getDelegate() - Method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Gets the delegate.
- getDetachedSince() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the epochal time when this connection was detached.
- getDispatcher() - Method in class org.tentackle.dbms.Db
-
Gets the dispatcher for this session.
The dispatcher can be used to submit asynchronous tasks serially. - getDMoney() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aDMoneywith full precision.
Notice that DMoney fields use two columns! - getDMoney(int, int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aDMoneywith full precision.
Notice that DMoney fields use two fields: one for the value and one for the scale (= name + "P") - getDMoney(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aDMoneywith full precision.
Notice that DMoney fields use two fields: one for the value and one for the scale (= name + "_2") - getDouble() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as adoublein the Java programming language. - getDouble(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as adoublein the Java programming language. - getDouble(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as adoublein the Java programming language. - getDouble(String, double) - Method in class org.tentackle.dbms.prefs.DbPreferences
- getEstablishedSince() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the epochal time when this connection was established.
- getExecutionDuration() - Method in class org.tentackle.dbms.StatementHistory
-
Gets the duration of the statement execution.
- getExecutionStart() - Method in class org.tentackle.dbms.StatementHistory
-
Gets the start of execution in epochal milliseconds.
- getExpiration(long, long) - Method in class org.tentackle.dbms.TableSerialExpirationBacklog
-
Gets the expiration backlog for a given range of table-serials.
An id of 0 indicates a rolled back insert or update.
A negative tableserial indicates a deletion. - getExpireAt() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the epochal time when this connection should be closed, if unused.
- getExpiredTableSerials(long, long) - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the expirations for a given range of tableserials.
The expirations are returned as a list ofIdSerialTuples with the serial being the tableserial of the corresponding PDO.
A negative tableserial indicates a deletion. - getExpiredTableSerials(long, long) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- getExpiredTableSerials(long, long) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- getExportedSessionGroupId() - Method in class org.tentackle.dbms.Db
-
Gets the session group exported to remote clients.
- getFetchCount() - Method in class org.tentackle.dbms.StatementHistory
-
Gets the number of rows fetched from the result set.
- getFetchDirection() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the fetch direction for this
ResultSetobject. - getFetchDirection() - Method in class org.tentackle.dbms.StatementWrapper
-
Retrieves the direction for fetching rows from database tables that is the default for result sets generated from this
Statementobject. - getFetchDuration() - Method in class org.tentackle.dbms.StatementHistory
-
Gets the duration to fetch the result from a query statement.
- getFetchResult() - Method in class org.tentackle.dbms.StatementStatisticsResult
-
Returns the result for fetching the result set from the database.
- getFetchSize() - Method in class org.tentackle.dbms.Db
-
Gets the default fetchsize
- getFetchSize() - Method in class org.tentackle.dbms.Query
-
Gets the fetchsize.
- getFetchSize() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the fetch size for this
ResultSetobject. - getFetchSize() - Method in class org.tentackle.dbms.StatementWrapper
-
Retrieves the number of result set rows that is the default fetch size for
ResultSetobjects generated from thisStatementobject. - getFields(ResultSetWrapper) - Method in class org.tentackle.dbms.AbstractDbObject
-
Retrieves the values of all fields.
- getFields(ResultSetWrapper) - Method in class org.tentackle.dbms.DbModification
- getFields(ResultSetWrapper) - Method in class org.tentackle.dbms.ModificationLog
- getFields(ResultSetWrapper) - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
- getFields(ResultSetWrapper) - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
- getFirstUse() - Method in class org.tentackle.dbms.PooledDb
-
Get epochal time of first use.
- getFloat() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as afloatin the Java programming language. - getFloat(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as afloatin the Java programming language. - getFloat(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as afloatin the Java programming language. - getFloat(String, float) - Method in class org.tentackle.dbms.prefs.DbPreferences
- getId() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the object ID.
If the object is deleted (negated ID), the returned ID is still positive! - getId() - Method in class org.tentackle.dbms.ModificationTally
-
Gets the ID of the counter.
- getIdSerialForName(String) - Method in class org.tentackle.dbms.DbModificationTracker
-
Gets the pair of id/serial for a given table name.
Used in remote connections. - getIdSource() - Method in class org.tentackle.dbms.AbstractDbObject
-
Get the IdSource.
- getIdSource(Db) - Method in class org.tentackle.dbms.DbObjectClassVariables
-
Get the IdSource.
If the IdSource is null, the method will look for a property file which is the classname + ".properties". - getIdSourceConfiguration() - Method in class org.tentackle.dbms.Db
-
Gets the ID-Source configuration.
- getImmediateRollbackTxLevel() - Method in class org.tentackle.dbms.Db
-
Gets the pending txLevel after an immediate rollback.
- getImmutableLoggingLevel() - Method in class org.tentackle.dbms.AbstractDbObject
- getIncSize() - Method in class org.tentackle.dbms.DbPool
-
Gets the minimum increment to enlarge the pool.
- getIndex() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the connection index.
- getIndexFromSession(Db) - Method in class org.tentackle.dbms.DefaultConnectionManager
-
Gets the internal array index from the session's session ID.
- getIndexFromSessionId(int) - Method in class org.tentackle.dbms.DefaultConnectionManager
-
Gets the internal array index from the session's session ID.
- getInfoLogSize() - Method in class org.tentackle.dbms.MpxConnectionManager
-
Gets the number of connections when to start info logging.
- getIniSize() - Method in class org.tentackle.dbms.DbPool
-
Gets the initial size.
- getInputStream() - Method in class org.tentackle.dbms.rmi.OutputStreamRemoteDelegateImpl
-
Gets the input stream the client will write to.
- getInstance() - Static method in class org.tentackle.dbms.DbClassVariablesFactory
-
The singleton.
- getInstance() - Static method in class org.tentackle.dbms.DbTransactionFactory
-
The singleton.
- getInstance() - Static method in class org.tentackle.dbms.DbUtilities
-
The singleton.
- getInstance() - Static method in interface org.tentackle.dbms.IdSourceConfigurator
-
The singleton.
- getInstance() - Static method in class org.tentackle.dbms.ManagedConnectionMonitor
-
Gets the running monitor thread.
- getInstance() - Static method in interface org.tentackle.dbms.ModificationLogFactory
-
The singleton.
- getInstance() - Static method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Gets the factory singleton.
- getInstance() - Static method in interface org.tentackle.dbms.RemoteSessionFactory
-
The singleton.
- getInstance() - Static method in interface org.tentackle.dbms.rmi.RemoteDelegateLocator
-
The singleton.
- getInstance() - Static method in class org.tentackle.dbms.StatementTracer
-
The singleton.
- getInstance() - Static method in class org.tentackle.dbms.TableSerialHistory
-
The singleton.
- getInstanceNumber() - Method in class org.tentackle.dbms.Db
-
Gets the unique instance number of this session.
- getInstanceNumber() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the unique instance number.
- getInstant() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.Instantin the Java programming language. - getInstant(boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.Instantin the Java programming language. - getInstant(int, int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.Instantin the Java programming language. - getInstant(int, int, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.Instantin the Java programming language. - getInstant(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.Instantin the Java programming language. - getInstant(String, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.Instantin the Java programming language. - getInt() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as anintin the Java programming language. - getInt(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as anintin the Java programming language. - getInt(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as anintin the Java programming language. - getInt(String, int) - Method in class org.tentackle.dbms.prefs.DbPreferences
- getInteger() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as anIntegerin the Java programming language. - getInteger(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as anIntegerin the Java programming language. - getInteger(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as anIntegerin the Java programming language. - getKeepAliveInterval() - Method in class org.tentackle.dbms.Db
- getKey() - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
-
Gets the attribute key.
- getKey() - Method in class org.tentackle.dbms.ResultSetSection
-
Gets the key of this section.
- getKeys() - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Gets the persistent keys.
- getLargeString() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves a String from a CLOB column.
- getLargeString(boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves a String from a CLOB column.
- getLargeString(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves a String from a CLOB.
- getLargeString(int, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves a String from a CLOB.
- getLargeString(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aStringin the Java programming language. - getLargeString(String, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Gets a large string.
The backend usually stores such strings in a CLOB. - getLastVerified() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the epochal time in ms when this connection was verified.
- getLatestSerial() - Method in class org.tentackle.dbms.ModificationTally
-
Gets the latest serial updated by this counter.
- getLimit() - Method in class org.tentackle.dbms.Query
-
Gets the maximum number of rows for this query.
- getLocalDate() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalDatein the Java programming language. - getLocalDate(boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalDatein the Java programming language. - getLocalDate(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalDatein the Java programming language. - getLocalDate(int, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalDatein the Java programming language. - getLocalDate(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalDatein the Java programming language. - getLocalDate(String, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalDatein the Java programming language. - getLocalDateTime() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalDateTimein the Java programming language. - getLocalDateTime(boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalDateTimein the Java programming language. - getLocalDateTime(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalDateTimein the Java programming language. - getLocalDateTime(int, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalDateTimein the Java programming language. - getLocalDateTime(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalDateTimein the Java programming language. - getLocalDateTime(String, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalDateTimein the Java programming language. - getLocalTime() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalTimein the Java programming language. - getLocalTime(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalTimein the Java programming language. - getLocalTime(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.LocalTimein the Java programming language. - getLoginClientSocketFactory() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Gets the server's csf for the login phase.
- getLoginPort() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Gets the port for the login phase.
- getLoginServerSocketFactory() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Gets the server's ssf for the login phase.
- getLogLevel() - Method in class org.tentackle.dbms.StatementTracer
-
Gets the log level to trace statements.
- getLogLevelForParallelOpenResultSets() - Static method in class org.tentackle.dbms.ManagedConnection
-
Gets the logging level to log nested selects.
- getLogMinAttachMillis() - Static method in class org.tentackle.dbms.ManagedConnection
-
Gets the minimum milliseconds a connection remains attached before being logged.
- getLogMinDurationMillis() - Static method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Gets the minimum milliseconds a method needs to execute before being logged.
- getLogMinDurationMillis() - Static method in class org.tentackle.dbms.StatementHistory
-
Gets the duration of statements to be logged as a warning.
- getLogMinReturnedCollectionSize() - Static method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Gets the minimum size of returned collection to get logged.
- getLogModificationTxId() - Method in class org.tentackle.dbms.Db
-
Returns the current transaction id from the last BEGIN modification log.
- getLogModificationTxId() - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- getLogModificationTxId() - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- getLogStatisticsMillis() - Static method in class org.tentackle.dbms.ManagedConnection
-
Gets the optional periodical log of statistics in milliseconds.
- getLong() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as alongin the Java programming language. - getLong(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as alongin the Java programming language. - getLong(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as alongin the Java programming language. - getLong(String, long) - Method in class org.tentackle.dbms.prefs.DbPreferences
- getManagedConnections() - Method in class org.tentackle.dbms.ManagedConnectionMonitor
-
Gets a list of all open managed connections.
- getManager() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the connection manager
- getMasterSerial() - Method in class org.tentackle.dbms.DbModificationTracker
-
Gets the current master serial.
Used in remote connections. - getMaxColumnIndex() - Method in class org.tentackle.dbms.ResultSetSkipBlock
-
Gets the highest used column index.
This will be the skippedColumns of the next skip block. - getMaxConnections() - Method in interface org.tentackle.dbms.ConnectionManager
-
Gets the maximum number of connections.
- getMaxConnections() - Method in class org.tentackle.dbms.DefaultConnectionManager
- getMaxCountForClearWarnings() - Method in class org.tentackle.dbms.DefaultConnectionManager
-
Gets the current setting for clearWarnings() trigger
- getMaxCountForClearWarnings() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the current setting for clearWarnings() trigger.
- getMaxIdleMinutes() - Method in class org.tentackle.dbms.DbPool
-
Gets the idle timeout in minutes.
- getMaxRows() - Method in class org.tentackle.dbms.Db
-
gets the maximum number of rows in resultsets.
- getMaxRows() - Method in class org.tentackle.dbms.Query
-
Gets the maximum row count for this cursor
- getMaxRows() - Method in class org.tentackle.dbms.StatementStatisticsResult
-
Gets the maximum number of returned rows.
- getMaxRows() - Method in class org.tentackle.dbms.StatementWrapper
-
Retrieves the maximum number of rows that a
ResultSetobject produced by thisStatementobject can contain. - getMaxSessions() - Method in interface org.tentackle.dbms.ConnectionManager
-
Gets the maximum number of allowed sessions managed by this manager.
- getMaxSessions() - Method in class org.tentackle.dbms.DefaultConnectionManager
- getMaxSize() - Method in class org.tentackle.dbms.DbPool
- getMaxSize() - Method in class org.tentackle.dbms.MultiUserDbPool
- getMaxStatements() - Method in class org.tentackle.dbms.TransactionStatisticsResult
-
Gets the maximum number of statements.
- getMaxStatementsPerTransaction() - Static method in class org.tentackle.dbms.ManagedConnection
-
Gets the statement limit per transaction.
- getMaxTotalSize() - Method in class org.tentackle.dbms.MultiUserDbPool
- getMaxUsageMinutes() - Method in class org.tentackle.dbms.DbPool
-
Gets the usage timeout in minutes.
- getMdcFilter() - Static method in class org.tentackle.dbms.ManagedConnection
-
Gets the MDC filter.
- getMdcFilter() - Static method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Gets the MDC filter.
- getMdcInfo() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets a string useful for mapped diagnostic context info.
- getMdcStr() - Method in class org.tentackle.dbms.PooledDb
-
Gets the mapped diagnostic context string.
- getMessage() - Method in class org.tentackle.dbms.ModificationLog
-
Gets the message.
- getMessageParameter(String) - Method in class org.tentackle.dbms.ModificationLog
-
Gets a message parameter.
- getMessageParameters() - Method in class org.tentackle.dbms.ModificationLog
-
Gets the message parameters.
- getMetaData() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Gets the metadata.
- getMinRows() - Method in class org.tentackle.dbms.StatementStatisticsResult
-
Gets the minimum number of returned rows.
- getMinSize() - Method in class org.tentackle.dbms.DbPool
-
Gets the minimum size.
- getMinStatements() - Method in class org.tentackle.dbms.TransactionStatisticsResult
-
Gets the minimum number of statements.
- getModificationCount() - Method in class org.tentackle.dbms.AbstractDbObject
-
Selects the current modification counter for the class of this object.
- getModificationCount() - Method in class org.tentackle.dbms.ModificationTally
-
Get the current modification count by tablename.
- getModifiedMasterSerial() - Method in class org.tentackle.dbms.DbModificationTracker
-
Returns the new master serial if modified.
The method is provided to allow extensions, for example, listening for other events on other tables. - getModType() - Method in class org.tentackle.dbms.DbBatchStatement
-
Gets the statement type.
One ofDbModificationType.INSERT,DbModificationType.UPDATEorDbModificationType.DELETE. - getModType() - Method in class org.tentackle.dbms.ModificationLog
-
Gets the attribute modType.
- getName() - Method in class org.tentackle.dbms.AbstractIdSource
-
Gets the name.
- getName() - Method in interface org.tentackle.dbms.ConnectionManager
-
The manager's name.
- getName() - Method in class org.tentackle.dbms.Db
-
Gets the session name.
Consists of the instance number, the connection id and the connection group id. - getName() - Method in class org.tentackle.dbms.DbPool
- getName() - Method in class org.tentackle.dbms.DefaultConnectionManager
- getName() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the connection name.
- getName() - Method in class org.tentackle.dbms.MultiUserDbPool
- getName() - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Gets the attribute name.
- getNaxSize(String) - Method in class org.tentackle.dbms.TableSerialHistory
-
Gets the maximum size of the history.
- getNodeId() - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
-
Gets the attribute nodeId.
- getNumConnections() - Method in interface org.tentackle.dbms.ConnectionManager
-
Gets the number of open connections.
- getNumConnections() - Method in class org.tentackle.dbms.DefaultConnectionManager
- getNumSessions() - Method in interface org.tentackle.dbms.ConnectionManager
-
Gets the number of sessions.
- getNumSessions() - Method in class org.tentackle.dbms.DefaultConnectionManager
- getObject() - Method in class org.tentackle.dbms.ModificationLog
-
Gets the object referenced by this ModificationLog.
The object is lazily cached. - getObject() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as anObjectof given typeT. - getObject(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aStringin the Java programming language. - getObject(int, Class) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as anObjectof given typeT. - getObject(Class) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as anObjectof given typeT. - getObject(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row.
- getObject(String, Class) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as anintin the Java programming language. - getObject(Session) - Method in class org.tentackle.dbms.ModificationLog
-
Gets the db object referenced by this ModificationLog.
The object is lazily cached if the given session equals the session of this modlog. - getObjectClassId() - Method in class org.tentackle.dbms.ModificationLog
-
Gets the attribute objectClassId.
- getObjectClassName() - Method in class org.tentackle.dbms.ModificationLog
-
Gets the attribute objectClassName.
- getObjectId() - Method in class org.tentackle.dbms.ModificationLog
-
Gets the attribute objectId.
- getOffset() - Method in class org.tentackle.dbms.Query
-
Gets the offset of this query.
- getOffsetDateTime() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.OffsetDateTimein the Java programming language. - getOffsetDateTime(boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.OffsetDateTimein the Java programming language. - getOffsetDateTime(int, int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.OffsetDateTimein the Java programming language. - getOffsetDateTime(int, int, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.OffsetDateTimein the Java programming language. - getOffsetDateTime(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.OffsetDateTimein the Java programming language. - getOffsetDateTime(String, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.OffsetDateTimein the Java programming language. - getOffsetTime() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.OffsetTimein the Java programming language. - getOffsetTime(int, int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.OffsetTimein the Java programming language. - getOffsetTime(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.OffsetTimein the Java programming language. - getOpenResultSets() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets all open result sets for this connection.
- getOpenSession(int, String) - Static method in class org.tentackle.dbms.Db
-
Gets an open session by its ID.
- getOpenSessions() - Static method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Returns a list of all open sessions.
- getOptions() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Returns an application-specific option string.
For diagnostic purposes only. - getOutputStream() - Method in class org.tentackle.dbms.rmi.InputStreamRemoteDelegateImpl
-
Gets the output stream from which the client will read.
- getOwnerThread() - Method in class org.tentackle.dbms.Db
-
Gets the owner thread.
- getParameters() - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Gets the parameter map.
- getParameters() - Method in class org.tentackle.dbms.StatementHistory
-
Gets the parameter map.
- getParameters() - Method in class org.tentackle.dbms.StatementStatistics
-
Gets the parameters.
- getParentId() - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Gets the attribute parentId.
- getPendingCount() - Method in class org.tentackle.dbms.ModificationTally
-
Gets the pending count.
- getPersistenceVisitors() - Method in class org.tentackle.dbms.Db
-
Gets the currently registered persistence visitors.
- getPersistenceVisitors() - Method in class org.tentackle.dbms.DbTransaction
-
Gets the currently registered persistence visitors.
- getPersistenceVisitors() - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- getPersistenceVisitors() - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- getPersistentKey(String) - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Gets the persistent key.
- getPersistentNode() - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Gets the persistent node.
- getPlainPort() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Get the fixed port for plain communication.
- getPool() - Method in class org.tentackle.dbms.Db
-
Gets the pool manager.
- getPool() - Method in class org.tentackle.dbms.PooledDb
-
Gets the session pool.
- getPooledSessions() - Method in class org.tentackle.dbms.DbPool
-
Gets all pooled sessions.
- getPoolId() - Method in class org.tentackle.dbms.Db
-
Gets the poolid.
- getPort() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets the port for all delegates.
- getPort() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Gets the port the delegates.
- getPort(int, RMISocketFactoryType) - Method in class org.tentackle.dbms.rmi.RmiServer
-
Gets the rmi port for a new remote object.
- getPreparedStatement(StatementId, int, int, SqlSupplier) - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets a prepared statement.
- getPreparedStatement(StatementId, SqlSupplier) - Method in class org.tentackle.dbms.AbstractDbObject
- getPreparedStatement(StatementKey, boolean, int, int, SqlSupplier) - Method in class org.tentackle.dbms.Db
-
Gets the prepared statement.
- getPreparedStatement(StatementKey, boolean, int, int, SqlSupplier) - Method in class org.tentackle.dbms.ManagedConnection
-
Gets a prepared statement.
The statement will be reused if already prepared. - getPreparedStatement(StatementKey, boolean, SqlSupplier) - Method in class org.tentackle.dbms.Db
- getProcessed() - Method in class org.tentackle.dbms.ModificationLog
-
Gets the attribute processed.
- getProperties() - Method in class org.tentackle.dbms.DbObjectClassVariables
-
Lazily gets the properties.
Loads and initially processes the properties. - getProperty(String) - Method in class org.tentackle.dbms.Db
- getProperty(String) - Method in class org.tentackle.dbms.DbObjectClassVariables
-
Gets a class property.
- getProperty(String) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- getProperty(String) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- getPropertySupport() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the property support.
Creates it atomically if it doesn't exist. - getReferencedDb() - Method in class org.tentackle.dbms.PooledDb
-
Gets the referenced session.
This is the value of aWeakReference. - getRegistry() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Gets the local registry.
- getRemoteConnection() - Method in class org.tentackle.dbms.Db
-
Gets the remote connection object.
- getRemoteDbSession() - Method in class org.tentackle.dbms.Db
-
Gets the remote session object.
- getRemoteDbSession() - Method in class org.tentackle.dbms.RemoteSessionAdapter
-
Gets the remote db session object.
- getRemoteDelegate() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the delegate for remote connections.
Each class has its own delegate. - getRemoteDelegate() - Method in class org.tentackle.dbms.AbstractDbOperation
-
Gets the delegate for remote connections.
Each class has its own delegate. - getRemoteDelegate() - Method in class org.tentackle.dbms.ModificationLog
- getRemoteDelegate() - Method in class org.tentackle.dbms.prefs.DbPreferencesOperation
- getRemoteDelegate(int) - Method in class org.tentackle.dbms.Db
-
Gets the remote delegate by its id.
- getRemoteDelegate(String) - Method in interface org.tentackle.dbms.rmi.RemoteDbSession
-
Gets the delegate for a given classname.
Per class the rmi-clients request a remote access there must be a RemoteDelegate. - getRemoteDelegate(String) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
- getRemoteDelegate(Db) - Method in class org.tentackle.dbms.DbObjectClassVariables
-
Gets the RemoteDelegate for the class and session.
- getRemoteDelegate(Db) - Method in class org.tentackle.dbms.DbOperationClassVariables
-
Gets the RemoteDelegate for the class and db.
- getRemoteDelegateId() - Method in class org.tentackle.dbms.DbObjectClassVariables
-
Gets the delegateId of the class, i.e., subclass of AbstractDbObject.
If the remoteDelegateId is 0, it will be prepared The delegateId is unique for each class. - getRemoteDelegateId() - Method in class org.tentackle.dbms.DbOperationClassVariables
-
Gets the delegateId of the class, i.e. subclass of AbstractDbOperation.
- getRemoteSession() - Method in class org.tentackle.dbms.Db
- getRMICsf() - Method in class org.tentackle.dbms.rmi.RemoteServerObject
-
Gets the client socket factory.
- getRMIPort() - Method in class org.tentackle.dbms.rmi.RemoteServerObject
-
Gets the port.
- getRmiServer() - Method in class org.tentackle.dbms.rmi.RemoteDbConnectionImpl
-
Gets the RMI-server.
- getRMISsf() - Method in class org.tentackle.dbms.rmi.RemoteServerObject
-
Gets the server socket factory.
- getRollbackCount() - Method in class org.tentackle.dbms.TransactionStatisticsResult
-
Gets the number of rollbacks.
StatisticsResult.getCount()-getRollbackCount()gives the number of commits. - getRoot() - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Gets the root of this node.
If this is a root, "this" will be returned. - getRootNodeId() - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
-
Gets the attribute rootNodeId.
- getRootNodeId() - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Gets the attribute rootNodeId.
- getRootTree(Db, String) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Gets the root node for given user and all of its sub-nodes and keys at once.
- getRow() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the current row number.
The first row is number 1, the second number 2, and so on. - getRowCount(Db) - Method in class org.tentackle.dbms.Query
-
Gets the number of objects returned by this query.
- getSavepoint(SavepointHandle) - Method in class org.tentackle.dbms.DbTransaction
-
Gets a savepoint by handle.
- getSerial() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the serial number.
- getSerial(Class) - Method in class org.tentackle.dbms.DbModificationTracker
- getSerial(String) - Method in class org.tentackle.dbms.DbModificationTracker
- getSerial(String) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Gets the current serial version of given user- or system root.
- getServerSession() - Method in class org.tentackle.dbms.rmi.RemoteDelegateImpl
-
Gets the server session.
- getServerSessionInfo() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets the server session info.
- getServerSocketFactory() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets the default server socket factory for all delegates.
- getServerSocketFactory() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Gets the server's ssf for the delegates.
- getServerVersion() - Method in interface org.tentackle.dbms.rmi.RemoteDbConnection
-
Gets the application-specific version of the server.
- getServerVersion() - Method in class org.tentackle.dbms.rmi.RemoteDbConnectionImpl
- getServicedClass() - Method in class org.tentackle.dbms.rmi.RemoteDelegateImpl
-
Gets the serviced class.
- getServicedClass(Class) - Method in class org.tentackle.dbms.DbUtilities
-
Determines the serviced class.
- getSession() - Method in class org.tentackle.dbms.AbstractDbObject
-
Get the session for this object.
- getSession() - Method in class org.tentackle.dbms.AbstractDbOperation
-
Get the session for this operation.
- getSession() - Method in class org.tentackle.dbms.DbModificationTracker
- getSession() - Method in class org.tentackle.dbms.DbPool
- getSession() - Method in class org.tentackle.dbms.DbTransaction
-
Gets the session.
- getSession() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets tha attached session.
- getSession() - Method in class org.tentackle.dbms.PooledDb
-
Returns the managed session.
- getSession() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Gets the session associated to the result set.
- getSession() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets the session.
- getSession() - Method in class org.tentackle.dbms.rmi.RemoteDelegateImpl
-
Gets the db (which is the db of the serverSession).
- getSession() - Method in class org.tentackle.dbms.StatementWrapper
-
Gets the currently attached session.
- getSessionGroupId() - Method in class org.tentackle.dbms.Db
- getSessionGroupId() - Method in class org.tentackle.dbms.DbPool
- getSessionHolder() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the session holder.
- getSessionHolder() - Method in class org.tentackle.dbms.AbstractDbOperation
-
Gets the session holder.
- getSessionId() - Method in class org.tentackle.dbms.Db
-
Gets the session id.
- getSessionId() - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- getSessionId() - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- getSessionIdOffset() - Method in interface org.tentackle.dbms.ConnectionManager
-
Gets the minimum session id.
- getSessionIdOffset() - Method in class org.tentackle.dbms.DefaultConnectionManager
- getSessionIndex() - Method in class org.tentackle.dbms.DefaultConnectionManager
-
Gets the index for a new session.
- getSessionInfo() - Method in class org.tentackle.dbms.Db
-
Gets the current session info.
- getSessionInfo() - Method in class org.tentackle.dbms.DbPool
- getSessionInfo() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Gets the server's session info.
- getSessionNumber() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets the unique session number.
- getSessionPoolProvider() - Method in class org.tentackle.dbms.DbUtilities
-
Gets the session pool provider.
- getSessionTimeout() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Gets the default session timeout.
The default is 30s. - getSessionTimeoutCheckInterval() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Gets the timeout check interval in milliseconds.
The default is 1000 (1s). - getShort() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ashortin the Java programming language. - getShort(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ashortin the Java programming language. - getShort(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ashortin the Java programming language. - getSince() - Static method in class org.tentackle.dbms.StatementStatistics
-
Gets the time when counting started.
- getSize() - Method in class org.tentackle.dbms.DbPool
- getSize() - Method in class org.tentackle.dbms.MultiUserDbPool
- getSize(String) - Method in class org.tentackle.dbms.TableSerialHistory
-
Gets the number of history entries currently available.
- getSkipBlockIndex() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Gets the index to the current skip block.
- getSkipBlocks() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Returns the currently configured skip blocks.
- getSkippedColumns() - Method in class org.tentackle.dbms.ResultSetSkipBlock
-
Gets the number of columns skipped in the result set.
- getSlotNumber() - Method in class org.tentackle.dbms.PooledDb
-
Gets the slot number.
- getSql() - Method in class org.tentackle.dbms.StatementHistory
-
Gets the sql string.
- getSql() - Method in class org.tentackle.dbms.StatementKey
-
Gets the SQL string.
- getSql() - Method in class org.tentackle.dbms.StatementStatistics
-
Gets the SQL string.
- getSql() - Method in class org.tentackle.dbms.StatementWrapper
-
Gets the sql string.
- getSslPort() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Get the fixed port for ssl communication
- getStackTrace() - Method in class org.tentackle.dbms.StatementWrapper
-
Gets the optional stacktrace that invoked the last query or update.
- getStatement() - Method in class org.tentackle.dbms.DbBatchStatement
-
Gets the statement.
- getStatement() - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Gets the wrapped prepared statement.
- getStatement() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Gets the statement.
- getStatement() - Method in class org.tentackle.dbms.StatementWrapper
-
Gets the wrapped statement.
- getStatementHistory() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the statement history.
- getStatementId() - Method in class org.tentackle.dbms.StatementKey
-
Gets the statement id.
- getStatementKey() - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Gets the statement key.
- getStatistics() - Method in class org.tentackle.dbms.StatementStatistics
-
Gets the collected statistics result.
- getStatistics(boolean) - Static method in class org.tentackle.dbms.StatementStatistics
-
Gets the current statistics.
- getString() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the configured column in the current row of this
ResultSetobject as aStringin the Java programming language. - getString(boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the configured column in the current row of this
ResultSetobject as aStringin the Java programming language. - getString(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aStringin the Java programming language. - getString(int, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aStringin the Java programming language. - getString(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aStringin the Java programming language. - getString(String, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as aStringin the Java programming language. - getSystemRoot() - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
- getTableName() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the database table name for the class of this object.
- getTableSerial() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the table serial.
- getTime() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timein the Java programming language. - getTime(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timein the Java programming language. - getTime(int, Calendar) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timein the Java programming language. - getTime(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timein the Java programming language. - getTime(String, Calendar) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timein the Java programming language. - getTime(Calendar) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timein the Java programming language. - getTimeKeeper() - Method in class org.tentackle.dbms.DbTransaction
-
Gets the timekeeper for measurement of the duration.
- getTimeout() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets the session timeout.
- getTimeoutCount() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets the current timeout counter.
- getTimestamp() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timestampin the Java programming language. - getTimestamp(boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timestampin the Java programming language. - getTimestamp(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timestampin the Java programming language. - getTimestamp(int, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timestampin the Java programming language. - getTimestamp(int, Calendar) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timestampin the Java programming language. - getTimestamp(int, Calendar, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timestampin the Java programming language. - getTimestamp(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timestampin the Java programming language. - getTimestamp(String, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timestampin the Java programming language. - getTimestamp(String, Calendar) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timestampin the Java programming language. - getTimestamp(String, Calendar, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timestampin the Java programming language. - getTimestamp(Calendar) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timestampin the Java programming language. - getTimestamp(Calendar, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.sql.Timestampin the Java programming language. - getTotalRows() - Method in class org.tentackle.dbms.StatementStatisticsResult
-
Gets the total number of returned rows.
- getTotalStatements() - Method in class org.tentackle.dbms.TransactionStatisticsResult
-
Gets the total number of statements.
- getTrackedName() - Method in class org.tentackle.dbms.DbModification
-
Gets the attribute trackedName.
- getTrackedName() - Method in class org.tentackle.dbms.ModificationTally
-
Gets the tracked name.
- getTransaction() - Method in class org.tentackle.dbms.DbBatch
-
Gets the transaction this batch belongs to.
- getTransactionIsolation() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the current transaction isolation level.
- getTransactionProperty(Object) - Method in class org.tentackle.dbms.Db
-
Gets a transaction property.
- getTxId() - Method in class org.tentackle.dbms.ModificationLog
-
Gets the attribute txId.
- getTxIdleInterval() - Method in class org.tentackle.dbms.DbTransactionFactory
-
Gets the check interval for idle or unreferenced transactions in ms.
- getTxIdleTimeout() - Method in class org.tentackle.dbms.DbTransactionFactory
-
Gets the number of check intervals that must elapse to for an idle transaction to time out.
- getTxLevel() - Method in class org.tentackle.dbms.Db
-
Gets the transaction nesting level.
- getTxLevel() - Method in class org.tentackle.dbms.DbTransaction
-
Gets the nesting level.
- getTxName() - Method in class org.tentackle.dbms.Db
-
Gets the optional transaction name.
- getTxName() - Method in class org.tentackle.dbms.DbTransaction
-
Gets the transaction name.
- getTxName() - Method in class org.tentackle.dbms.ModificationLog
-
Gets the attribute txName.
- getTxName() - Method in class org.tentackle.dbms.StatementHistory
-
Gets the transaction name.
- getTxName() - Method in class org.tentackle.dbms.StatementStatistics
-
Gets the transaction name.
- getTxNumber() - Method in class org.tentackle.dbms.Db
-
Transactions get a unique transaction number by counting the transactions per Db instance.
- getTxNumber() - Method in class org.tentackle.dbms.DbTransaction
-
Gets the transaction number.
- getTxVoucher() - Method in class org.tentackle.dbms.DbTransaction
-
Gets the transaction voucher.
- getUnusedCount() - Method in class org.tentackle.dbms.DbPool
-
Gets the number of unused sessions.
- getUnusedSessionIndex(int) - Method in class org.tentackle.dbms.DbPool
-
Transforms an index of the unused sessions to a session index.
- getUnusedSince() - Method in class org.tentackle.dbms.PooledDb
-
Gets the last return time.
- getUrl() - Method in class org.tentackle.dbms.Db
- getUsedSince() - Method in class org.tentackle.dbms.PooledDb
-
Gets the time lent.
- getUser() - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Gets the username.
- getUser() - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Gets the attribute user.
- getUserId() - Method in class org.tentackle.dbms.ModificationLog
-
Gets the attribute userId.
- getUserName() - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Gets the current username.
- getUserRoot() - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
- getUsingClass() - Method in class org.tentackle.dbms.StatementKey
-
Gets the using class.
- getUsingThreadStr() - Method in class org.tentackle.dbms.PooledDb
-
Gets the lending thread string.
Avoids the references to the thread. - getValue() - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
-
Gets the attribute value.
- getVariables(String) - Static method in class org.tentackle.dbms.DbObjectClassVariables
-
Gets the classvariables for a given tablename.
- getVariant() - Method in class org.tentackle.dbms.StatementKey
-
Gets the usage variant.
- getWarnLogSize() - Method in class org.tentackle.dbms.MpxConnectionManager
-
Gets the number of connections when to start warning logging.
- getWhen() - Method in class org.tentackle.dbms.ModificationLog
-
Gets the attribute when.
- getZonedDateTime() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.ZonedDateTimein the Java programming language. - getZonedDateTime(boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.ZonedDateTimein the Java programming language. - getZonedDateTime(int, int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.ZonedDateTimein the Java programming language. - getZonedDateTime(int, int, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.ZonedDateTimein the Java programming language. - getZonedDateTime(String) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.ZonedDateTimein the Java programming language. - getZonedDateTime(String, boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves the value of the designated column in the current row of this
ResultSetobject as ajava.time.ZonedDateTimein the Java programming language. - GLOBAL_MULTIPLIER - Static variable in class org.tentackle.dbms.ObjectSequenceId
-
Default global multiplier to allow application-specific offsets.
- groupWith(int) - Method in class org.tentackle.dbms.Db
- groupWith(int) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- groupWith(int) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
H
- handle() - Method in record class org.tentackle.dbms.DbTransactionHandle
-
Returns the value of the
handlerecord component. - handleInvocationException(Object, Method, Object[], Throwable) - Method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Handles an invocation exception.
Figures out the real exception cause and throws it, skipping InvocationTargetExceptions. - handleMasterSerialEvent(MasterSerialEvent) - Method in class org.tentackle.dbms.DbModificationTracker
-
Handles a single master serial event.
- handleMissingObject(ModificationLog, Session) - Method in class org.tentackle.dbms.ModificationLog
-
Handles the case when an object to replay is not found.
- hashCode() - Method in class org.tentackle.dbms.AbstractDbObject
-
The hashcode is the ID.
Method is final! - hashCode() - Method in class org.tentackle.dbms.Db
- hashCode() - Method in record class org.tentackle.dbms.DbObjectClassVariables.ForeignReference
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.tentackle.dbms.DbTransactionHandle
-
Returns a hash code value for this object.
- hashCode() - Method in class org.tentackle.dbms.prefs.DbPreferences
- hashCode() - Method in record class org.tentackle.dbms.rmi.DbObjectResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.tentackle.dbms.rmi.DefaultMasterSerial
-
Returns a hash code value for this object.
- hashCode() - Method in class org.tentackle.dbms.StatementKey
- hashCode() - Method in class org.tentackle.dbms.StatementStatistics
- hasTimedOut() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Checks for timeout.
I
- id() - Method in record class org.tentackle.dbms.rmi.DbObjectResult
-
Returns the value of the
idrecord component. - idleMinutes(long) - Method in class org.tentackle.dbms.PooledDb
-
Returns the number of minutes the session has been unused.
- idOffset - Variable in class org.tentackle.dbms.DefaultConnectionManager
-
offset for session IDs.
- idSource - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
The source for getting a new ID.
- IdSource - Interface in org.tentackle.dbms
-
Source of ID numbers.
- IDSOURCE - Static variable in class org.tentackle.dbms.Db
-
property key for IdSource.
- IdSourceConfigurator - Interface in org.tentackle.dbms
-
Configurator for an
IdSource. - IdSourceEmptyException - Exception Class in org.tentackle.dbms
-
Runtime exception thrown when an
IdSourcebecomes empty. - IdSourceEmptyException() - Constructor for exception class org.tentackle.dbms.IdSourceEmptyException
-
Constructs a new idsource empty exception without a session and with
nullas its detail message. - IdSourceEmptyException(String) - Constructor for exception class org.tentackle.dbms.IdSourceEmptyException
-
Constructs a new idsource empty exception without a session and with the specified detail message.
- IdSourceEmptyException(String, Throwable) - Constructor for exception class org.tentackle.dbms.IdSourceEmptyException
-
Constructs a new idsource empty exception without a session, but with the specified detail message and cause.
- IdSourceEmptyException(Db) - Constructor for exception class org.tentackle.dbms.IdSourceEmptyException
-
Constructs a new idsource empty exception for a given session with
nullas its detail message. - IdSourceEmptyException(Db, String) - Constructor for exception class org.tentackle.dbms.IdSourceEmptyException
-
Constructs a new idsource empty exception for a given session with the specified detail message.
- IdSourceEmptyException(Db, String, Throwable) - Constructor for exception class org.tentackle.dbms.IdSourceEmptyException
-
Constructs a new idsource empty exception for a given session with the specified detail message and cause.
- IdSourceEmptyException(Db, Throwable) - Constructor for exception class org.tentackle.dbms.IdSourceEmptyException
-
Constructs a new idsource empty exception for a given session with the specified cause and a detail message of
(cause==null ? - IdSourceException - Exception Class in org.tentackle.dbms
-
Runtime exception thrown for id source failures.
- IdSourceException() - Constructor for exception class org.tentackle.dbms.IdSourceException
-
Constructs a new id source exception without a session and with
nullas its detail message. - IdSourceException(String) - Constructor for exception class org.tentackle.dbms.IdSourceException
-
Constructs a new id source exception without a session with the specified detail message.
- IdSourceException(String, Throwable) - Constructor for exception class org.tentackle.dbms.IdSourceException
-
Constructs a new id source exception without a session with the specified detail message and cause.
- IdSourceException(Db) - Constructor for exception class org.tentackle.dbms.IdSourceException
-
Constructs a new id source exception for a given session with
nullas its detail message. - IdSourceException(Db, String) - Constructor for exception class org.tentackle.dbms.IdSourceException
-
Constructs a new id source exception for a given session with the specified detail message.
- IdSourceException(Db, String, Throwable) - Constructor for exception class org.tentackle.dbms.IdSourceException
-
Constructs a new id source exception for a given session with the specified detail message and cause.
- IdSourceException(Db, Throwable) - Constructor for exception class org.tentackle.dbms.IdSourceException
-
Constructs a new id source exception for a given session with the specified cause and a detail message of
(cause==null ? - IgnoreDuplicatesPersistenceVisitor - Class in org.tentackle.dbms
-
A visitor to ignore duplicates within a persistence operation.
Used to avoid duplicate key errors, for example, if components are referenced more than once within the same root entity. - IgnoreDuplicatesPersistenceVisitor() - Constructor for class org.tentackle.dbms.IgnoreDuplicatesPersistenceVisitor
-
Creates the visitor.
- incrementTxLevel(String) - Method in class org.tentackle.dbms.DbTransaction
-
Increments the transaction level.
- incSize - Variable in class org.tentackle.dbms.MpxConnectionManager
-
increment size.
- iniSize - Variable in class org.tentackle.dbms.DefaultConnectionManager
-
initial size.
- initialize() - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- initialize() - Method in class org.tentackle.dbms.rmi.AbstractDbOperationRemoteDelegateImpl
-
Instantiates a singe object and connect it to the db.
- initialize() - Method in class org.tentackle.dbms.rmi.RemoteDelegateImpl
-
Does any initialization after construction.
- initialized - Variable in class org.tentackle.dbms.MpxConnectionManager
-
true if initialized.
- initializeModificationTable(Db) - Static method in class org.tentackle.dbms.DbModification
-
Initializes the modification table.
- initModification(ModificationType) - Method in class org.tentackle.dbms.AbstractDbObject
-
Does any preprocessing before delete, insert or update.
- InputStreamRemoteDelegate - Interface in org.tentackle.dbms.rmi
- InputStreamRemoteDelegateImpl - Class in org.tentackle.dbms.rmi
- InputStreamRemoteDelegateImpl(RemoteDbSessionImpl, Class) - Constructor for class org.tentackle.dbms.rmi.InputStreamRemoteDelegateImpl
-
Creates an input stream delegate.
- INSERT - Enum constant in enum class org.tentackle.dbms.DbModificationType
-
insert object.
- insertImpl(DbObjectClassVariables, SqlSupplier) - Method in class org.tentackle.dbms.AbstractDbObject
-
Insert implementation.
- insertObject() - Method in class org.tentackle.dbms.AbstractDbObject
-
Inserts this (new) object into the database.
- insertObject(P) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- insertObject(P) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- insertPlain() - Method in class org.tentackle.dbms.AbstractDbObject
-
Insert this object into the database without any further processing.
No prepareSetFields, linked objects, mod counting, logging, etc... - insertPlain(P) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- insertPlain(P) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- insertStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for insert().
- inspect(ManagedConnection, long) - Method in class org.tentackle.dbms.ManagedConnectionMonitor
-
Inspects the idle connection.
- invalidate() - Method in class org.tentackle.dbms.DbModificationTracker
-
Invalidates the modification table and re-initializes all entries and counters.
- invalidate() - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
- invalidateTxLevel() - Method in class org.tentackle.dbms.Db
-
Marks the txLevel invalid.
- invalidateTxLevel() - Method in class org.tentackle.dbms.DbTransaction
-
Marks the txLevel invalid.
- InvocationLocals - Class in org.tentackle.dbms.rmi
-
Holds the old thread-locals during remote delegate method invocation.
- InvocationLocals(RemoteDelegateImpl) - Constructor for class org.tentackle.dbms.rmi.InvocationLocals
-
Creates and retrieves the current settings.
- invoke(Object, Method, Object[]) - Method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
- invokeImpl(Object, Method, Object[]) - Method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Invokes the delegate's method.
- isAfterLast() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves whether the cursor is after the last row in this
ResultSetobject. - isAlive() - Method in class org.tentackle.dbms.Db
-
Checks whether the session is still in use.
- isAlive() - Method in class org.tentackle.dbms.DbTransaction
-
Gets the alive-flag.
- isAlive() - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- isAlive() - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- isAttached() - Method in class org.tentackle.dbms.ManagedConnection
-
Checks whether a session is attached to this connection.
- isAutoSync() - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
- isBatched() - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Returns whether statement is batched.
- isBeforeFirst() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves whether the cursor is before the first row in this
ResultSetobject. - isBlocking() - Method in class org.tentackle.dbms.DefaultReconnectionPolicy
- isCancelled() - Method in class org.tentackle.dbms.StatementWrapper
-
Returns whether this statement has been cancelled.
May be invoked from any thread. - isCheckingStatementResultSetParameters() - Static method in class org.tentackle.dbms.ManagedConnection
-
Returns whether to check that requested resulttype and concurrency matches the prepared statement reused.
- isClientTx() - Method in class org.tentackle.dbms.Db
-
Checks whether the current transaction was initiated by a remote client.
- isCloned() - Method in class org.tentackle.dbms.Db
-
Gets the cloned state.
- isClosed() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the connection's closed state.
- isClosed() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Determines whether the result set is closed.
- isClosed() - Method in class org.tentackle.dbms.StatementWrapper
-
Determines whether this statement is closed.
- isCloseStatementOnclose() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Gets the statement-on-close flag.
- isCollectingStatistics() - Method in class org.tentackle.dbms.DbTransactionFactory
-
Returns whether statistics are collected.
- isCollectingStatistics() - Static method in class org.tentackle.dbms.ManagedConnection
-
Returns whether to collect statement statistics.
- isCollectingStatistics() - Static method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Returns whether statistics should be collected.
- isCommitOnCloseVoucherValid() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Returns whether the commitOnCloseVoucher is valid.
- isConnectionKeepAlive() - Method in class org.tentackle.dbms.MpxConnectionManager
-
Returns whether to send dummy selects to the backend periodically.
- isConnectionKeepAliveEnabled() - Method in class org.tentackle.dbms.ManagedConnection
-
Returns whether fake selects are sent periodically to the backend.
- isConnectionVerificationNecessary() - Method in class org.tentackle.dbms.ManagedConnection
-
Returns whether timeout is enabled and the connection wasn't used for a long time and needs verification.
- isConnectionVerificationNecessary(long) - Method in class org.tentackle.dbms.ManagedConnection
-
Returns whether timeout is enabled and the connection wasn't used for a long time and needs verification.
- isCopy() - Method in class org.tentackle.dbms.AbstractDbObject
-
Returns whether this is a deep copy.
- isCountingModification(ModificationType) - Method in class org.tentackle.dbms.AbstractDbObject
-
Determines whether modifications of this object are counted in the modification table.
Counting is also turned on if the PDO provides a tableserial. - isCountModificationAllowed() - Method in class org.tentackle.dbms.Db
-
Checks whether objects are allowed to count modifications.
- isCrashed() - Method in class org.tentackle.dbms.Db
-
Gets the crash flag.
May be invoked from any thread. - isDead() - Method in class org.tentackle.dbms.ManagedConnection
-
Returns whether the connection is marked dead.
- isDeleted() - Method in class org.tentackle.dbms.AbstractDbObject
-
Checks whether the object is deleted.
- isDestinationReferringLog() - Method in class org.tentackle.dbms.ModificationLog
-
Returns whether the modlog refers to the PDO at the destination side during replay.
- isEnabled() - Method in class org.tentackle.dbms.StatementTracer
-
Returns whether the tracer is enabled.
- isEntity() - Method in class org.tentackle.dbms.AbstractDbObject
-
Returns whether instances of this class exist as database entities.
- isExecutionPending() - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Returns whether parameters have been set so that execution is pending.
- isExpired() - Method in class org.tentackle.dbms.ManagedConnection
-
Returns whether the connection has expired.
Expired connections should be closed and reopened. - isFetchResultValid() - Method in class org.tentackle.dbms.StatementStatisticsResult
-
Returns whether the statement involved fetching from a result set.
- isFinallyImmutable() - Method in class org.tentackle.dbms.AbstractDbObject
- isForcedModified() - Method in class org.tentackle.dbms.AbstractDbObject
-
Returns the modified flag.
Necessary for fulltracked PDOs only, since attributedModified will be overridden with differsPersisted and setModified(true) invoked by the application would not have any effect. - isFromThisJVM() - Method in class org.tentackle.dbms.AbstractDbObject
-
Returns whether this object has been created in this JVM.
- isIdValid() - Method in class org.tentackle.dbms.AbstractDbObject
-
Checks whether the object has a valid ID.
Please keep in mind that deleted objects keep their ID negated, so it is still valid. - isImmutable() - Method in class org.tentackle.dbms.AbstractDbObject
-
Returns whether the object is immutable.
- isInSkipMode() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Returns whether the result set is in skipmode.
- isLocalClientMode() - Method in class org.tentackle.dbms.DbModificationTracker
-
Returns whether the tracker runs in local client mode.
In this mode, modifications will be persisted immediately. - isLockFree() - Method in interface org.tentackle.dbms.IdSource
-
Returns whether retrieving an id is a lock-free operation.
- isLockFree() - Method in class org.tentackle.dbms.ObjectId
- isLockFree() - Method in class org.tentackle.dbms.ObjectSequenceId
- isLoggingInvocationDetails() - Static method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Returns whether args and return values will be logged as well.
- isLoggingInvocations() - Static method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Returns whether each invocation should be logged.
- isLoggingModification(ModificationType) - Method in class org.tentackle.dbms.AbstractDbObject
-
Determines whether each database modification of this object should be logged.
- isLogModificationAllowed() - Method in class org.tentackle.dbms.Db
-
Gets the state of logModificationAllowed.
- isLogModificationDeferred() - Method in class org.tentackle.dbms.Db
-
Gets the state for logModificationDeferred.
- isLogModificationTxEnabled() - Method in class org.tentackle.dbms.Db
-
Gets the value of logModificationTx.
- isLogOfTransaction() - Method in class org.tentackle.dbms.ModificationLog
-
Returns whether this modlog belongs to the current transaction.
- isMarkedReady() - Method in class org.tentackle.dbms.StatementWrapper
-
Returns whether this statement is marked ready.
Used to determine unused pending statements in servers when closing dead sessions. - isMDCValid() - Method in class org.tentackle.dbms.ManagedConnection
-
Checks whether the mapped diagnostic context is valid for statistics logging.
- isMDCValid() - Method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Checks whether the mapped diagnostic context is valid for statistics logging.
- isModificationTrackerSession() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Returns whether this is the remote session of the modification tracker.
- isModified() - Method in class org.tentackle.dbms.AbstractDbObject
-
Determines whether the object should be written to persistent storage because it has been modified.
- isMultiLineExceptionMessage(String, Throwable, Identifiable, Session) - Method in class org.tentackle.dbms.DbSessionUtilities
- isNew() - Method in class org.tentackle.dbms.AbstractDbObject
-
Checks whether this object is already persistent in the database or only residing in memory.
If an objectisNew(), it means that it can be inserted. - isOpen() - Method in class org.tentackle.dbms.Db
-
Gets the connection state.
- isOpen() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Determines whether the session is open.
- isOperation(Class) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateLocator
-
Returns whether the given class is an operation or a PDO.
- isOverloadable() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the overloadable flag.
- isParallelOk() - Method in class org.tentackle.dbms.StatementWrapper
-
Returns whether parallel execution on same connection should be logged.
- isPersistable() - Method in class org.tentackle.dbms.AbstractDbObject
-
Determines whether this object is allowed to be stored in DB.
By default, all mutable objects are allowed to be saved. - isPersistenceOperationAllowed(AbstractDbObject, ModificationType) - Method in class org.tentackle.dbms.Db
-
Checks whether a persistence operation is allowed.
This is determined by consulting thePersistenceVisitors. - isPersistenceOperationAllowed(AbstractDbObject, ModificationType) - Method in class org.tentackle.dbms.DbTransaction
-
Checks whether a persistence operation is allowed.
This is determined by consulting thePersistenceVisitors. - isPersistenceOperationAllowed(AbstractDbObject, ModificationType) - Method in class org.tentackle.dbms.IgnoreDuplicatesPersistenceVisitor
-
Checks whether object has already been persisted.
- isPersistenceOperationAllowed(AbstractDbObject, ModificationType) - Method in class org.tentackle.dbms.PersistenceVisitor
-
Checks if the persistence operation is allowed.
- isPooled() - Method in class org.tentackle.dbms.Db
-
Checks whether this session is pooled.
- isPooledDbRemovable(PooledDb) - Method in class org.tentackle.dbms.DbPool
-
Determines whether the given pooled session can be removed from the pool due to timeout.
- isPooledDbRemovable(PooledDb) - Method in class org.tentackle.dbms.MultiUserDbPool
-
Determines whether the given pooled session can be removed from the pool due to timeout.
This method is provided to override the default inDbPool, which is used a private subclass inMultiUserDbPool. - isReadOnly() - Method in class org.tentackle.dbms.Db
-
Returns whether the session is readonly.
- isReadOnly() - Method in class org.tentackle.dbms.ManagedConnection
-
Gets the read-only mode.
- isReadOnly() - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
- isReferenced() - Method in class org.tentackle.dbms.AbstractDbObject
-
Checks whether this object is referenced by other objects.
- isReferenced(long) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- isReferenced(long) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- isReferenced(Db, long) - Method in class org.tentackle.dbms.DbObjectClassVariables
-
Determines whether the class of this variable holder is referenced.
- isReferencedImpl(Db, long, Collection) - Method in class org.tentackle.dbms.DbObjectClassVariables
-
Determines whether the class of this variable holder is referenced.
- isReferencingObject(int, long) - Method in class org.tentackle.dbms.ModificationLog
-
Checks if there are pending logs for a given object.
- isReferencingObject(int, long) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- isReferencingObject(int, long) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- isReferencingUser(long) - Method in class org.tentackle.dbms.ModificationLog
-
Checks if there are pending logs for a given user.
- isReferencingUser(long) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- isReferencingUser(long) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- isRemote() - Method in class org.tentackle.dbms.Db
-
Gets the type of the logical session.
- isRemovable() - Method in class org.tentackle.dbms.AbstractDbObject
-
Checks whether this object can be removed.
- isRemoved() - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
-
Returns whether key has been marked as removed.
- isRemoved() - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Returns whether node has been marked as removed.
- isReOpenOnceEnabled() - Method in class org.tentackle.dbms.DbModificationTracker
-
Returns whether the session should be re-opened (once) after a
SessionClosedException.
This is usually the case for non-grouped sessions, since grouping usually means that the tracker's session is a lead session for applications such as desktop clients. - isReplayedLeniently(ModificationType) - Method in class org.tentackle.dbms.AbstractDbObject
-
Determines whether the modification of this object should be replayed in lenient mode.
- isRootNode() - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Returns whether this is a root node.
- isRunning() - Static method in class org.tentackle.dbms.ManagedConnectionMonitor
-
Returns whether the monitor is running.
Useful to avoidManagedConnectionMonitor.getInstance()since this will start it, if not running yet. - isRunning() - Method in class org.tentackle.dbms.StatementWrapper
-
Returns whether the statement is being executed.
May be invoked from any thread. - isSessionImmutable() - Method in class org.tentackle.dbms.AbstractDbObject
-
Returns whether the db is immutable.
- isSessionImmutable() - Method in class org.tentackle.dbms.AbstractDbOperation
-
Returns whether the db is immutable.
- isShutdown() - Method in class org.tentackle.dbms.DbPool
- isShutdown() - Method in class org.tentackle.dbms.MultiUserDbPool
- isStatementAlwaysPrepared() - Method in class org.tentackle.dbms.AbstractDbObject
-
Determines whether prepared statements of this class should always be prepared each time when the statement used.
- isStatementCached() - Method in class org.tentackle.dbms.Query
-
Returns whether statement caching is enabled.
- isSystemOnly() - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
- isTableSerialProvided() - Method in class org.tentackle.dbms.AbstractDbObject
-
By default, objects don't need to include the tableSerial in the database table.
Override this method if the object contains a TABLESERIAL-column. - isTableSerialProvided() - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
- isTableSerialProvided() - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
- isTraceable(StatementWrapper) - Method in class org.tentackle.dbms.StatementTracer
-
Returns whether statement should be traced.
- isTraceParallelOpenResultSets() - Static method in class org.tentackle.dbms.ManagedConnection
-
Returns whether detected (and logged) parallel result sets should automatically be added to the
StatementTracer. - isTracked() - Method in class org.tentackle.dbms.AbstractDbObject
-
Checks if the modifications of this object are tracked.
By default,AbstractDbObjectsare not> tracked! - isTracked() - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
- isTracked() - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
- isTxLevelValid() - Method in class org.tentackle.dbms.Db
-
Returns whether the txLevel is valid.
- isTxLevelValid() - Method in class org.tentackle.dbms.DbTransaction
-
Returns whether the txLevel is valid.
- isTxRunning() - Method in class org.tentackle.dbms.Db
-
Gets the current transaction state.
Technically, a transaction is running if the autocommit is turned off. - isTxRunning() - Method in class org.tentackle.dbms.ManagedConnection
-
Returns whether a transaction is running.
- isTxWithSavepoints() - Method in class org.tentackle.dbms.Db
-
Returns whether a transaction with savepoints is currently running.
- isUnreferenced() - Method in class org.tentackle.dbms.PooledDb
-
Checks for forgotten puts.
- isUpdateNecessary() - Method in class org.tentackle.dbms.AbstractDbObject
-
Returns whether the update of this object is necessary.
- isUpdatingSerialEvenIfNotModified() - Method in class org.tentackle.dbms.AbstractDbObject
-
Determines whether in updates of composite objects unmodified objects in the update path get at least the serial updated or are not touched at all.
- isUserLoggedIn(SessionInfo) - Static method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Checks if the user is already logged in.
- isUserNode() - Method in class org.tentackle.dbms.prefs.DbPreferences
- isVirgin() - Method in class org.tentackle.dbms.AbstractDbObject
-
Checks whether this object ever was stored in the database.
Virgin objects have a serial of zero. - isWithParameters() - Static method in class org.tentackle.dbms.StatementStatistics
-
Returns whether statistics should be separated according to the statement parameters.
- isWithSavepoints() - Method in class org.tentackle.dbms.DbTransaction
-
Returns whether this transaction has active savepoints.
K
- keyChanged(DbPreferences, DbPreferencesKey) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Invoke listeners when a key is added, updated or removed.
- keys() - Method in class org.tentackle.dbms.prefs.DbPreferences
L
- last - Variable in class org.tentackle.dbms.ModificationLog.ReplayState
-
true if this is the last block.
- last() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Moves the cursor to the last row in this
ResultSetobject. - lazyObject - Variable in class org.tentackle.dbms.ModificationLog
-
The
AbstractDbObjectthe log belongs to. null = unknown. - loadLazyReferences() - Method in class org.tentackle.dbms.AbstractDbObject
-
Loads lazy references.
- loadObject(Session, Class, long) - Method in class org.tentackle.dbms.ModificationLog
-
Loads the object from storage.
- loadRefreshInfo(String, long) - Method in interface org.tentackle.dbms.prefs.rmi.DbPreferencesOperationRemoteDelegate
- loadRefreshInfo(String, long) - Method in class org.tentackle.dbms.prefs.rmi.DbPreferencesOperationRemoteDelegateImpl
- loadRefreshInfo(DbPreferences, long) - Method in class org.tentackle.dbms.prefs.DbPreferencesOperation
-
Loads all persisted nodes and keys suitable to refresh a whole preferences tree.
- loadRootTree(String, boolean) - Method in class org.tentackle.dbms.prefs.DbPreferencesOperation
-
Loads the root preferences node with all its sub-nodes and keys.
- loadRootTree(String, boolean) - Method in interface org.tentackle.dbms.prefs.rmi.DbPreferencesOperationRemoteDelegate
- loadRootTree(String, boolean) - Method in class org.tentackle.dbms.prefs.rmi.DbPreferencesOperationRemoteDelegateImpl
- lockDbForThread() - Method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Locks the Db for exclusive use by current thread.
- lockInternal() - Method in class org.tentackle.dbms.DbModificationTracker
- log(Method, Object[], Object, TimeKeeper) - Method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Logs and counts the invocation.
- log(String, Logger.Level, String) - Method in class org.tentackle.dbms.RemoteSessionAdapter
- log(String, Logger.Level, String) - Method in interface org.tentackle.dbms.rmi.RemoteDbSession
-
Sends text based logging infos to the RMI-Server.
- log(String, Logger.Level, String) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
- log(Logger.Level, boolean) - Static method in class org.tentackle.dbms.StatementStatistics
-
Logs the statics.
- log(Logger.Level, String) - Method in class org.tentackle.dbms.RemoteSessionAdapter
- logAndClearWarnings() - Method in class org.tentackle.dbms.ManagedConnection
-
Reads all warnings, logs and clears them.
- logBeginTx() - Method in class org.tentackle.dbms.Db
-
Creates a
DbModificationType.BEGINmodification log, if necessary. - logCommitTx() - Method in class org.tentackle.dbms.Db
-
Creates a commit modification log if necessary.
- logConfiguration() - Method in class org.tentackle.dbms.DefaultConnectionManager
-
Logs the connection managers configuration.
- logConfiguration() - Method in class org.tentackle.dbms.MpxConnectionManager
- login(Db) - Method in interface org.tentackle.dbms.ConnectionManager
-
Logs in a session.
It is up to the connection manager how to verify whether the session is allowed to open, a real connection is initiated or just an application level authorization is performed. - login(Db) - Method in class org.tentackle.dbms.DefaultConnectionManager
- login(Db) - Method in class org.tentackle.dbms.MpxConnectionManager
- login(SessionInfo) - Method in interface org.tentackle.dbms.rmi.RemoteDbConnection
-
Login to remote RMI-server.
- login(SessionInfo) - Method in class org.tentackle.dbms.rmi.RemoteDbConnectionImpl
- logModification(ModificationType) - Method in class org.tentackle.dbms.AbstractDbObject
-
Logs a modification for this object to the modlog (not to be mixed up with the modification-counter!)
- logout(Db) - Method in interface org.tentackle.dbms.ConnectionManager
-
Logs out a session.
The session is not allowed to attach anymore. - logout(Db) - Method in class org.tentackle.dbms.DefaultConnectionManager
- logout(Db) - Method in class org.tentackle.dbms.MpxConnectionManager
- logStatistics(String, Logger.Level, String, boolean) - Method in class org.tentackle.dbms.TransactionStatistics
-
Logs the statistics.
- logStatistics(Logger.Level, boolean) - Method in class org.tentackle.dbms.DbTransactionFactory
-
Logs the statistics.
- logStatistics(Logger.Level, boolean) - Method in class org.tentackle.dbms.RemoteSessionAdapter
- logStatistics(Logger.Level, boolean) - Method in interface org.tentackle.dbms.rmi.RemoteDbSession
-
Logs the RMI-statistics.
- logStatistics(Logger.Level, boolean) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
- loop() - Method in class org.tentackle.dbms.ManagedConnectionMonitor
-
A single loop run.
M
- ManagedConnection - Class in org.tentackle.dbms
-
A JDBC connection managed by the
ConnectionManager. - ManagedConnection(ConnectionManager, Backend, Connection) - Constructor for class org.tentackle.dbms.ManagedConnection
-
Creates a managed connection.
- ManagedConnectionMonitor - Class in org.tentackle.dbms
-
Maintains a set of all open managed connections.
The connections are held by a weak reference and the set is cleaned up once a minute.
Optionally, idle connections withManagedConnection.isConnectionVerificationNecessary()== truewill be verified (via dummy selects) periodically and to prevent premature closing by the database backend. - ManagedConnectionMonitor() - Constructor for class org.tentackle.dbms.ManagedConnectionMonitor
-
Creates the monitor thread.
- markDeleted() - Method in class org.tentackle.dbms.AbstractDbObject
-
Marks an object to be deleted.
This is done by negating its id. - markReady() - Method in class org.tentackle.dbms.PreparedStatementWrapper
- markReady() - Method in class org.tentackle.dbms.StatementWrapper
-
Marks the statement to be ready for being consumed by a
Dbattached to aConnectionManager.
This is an additional measure to enforce the programming rule that a statement is being used only once afterDb.createStatement()(for non-prepared statements) or afterDb.getPreparedStatement(StatementKey, boolean, int, int, SqlSupplier)for prepared statements. - maxConSize - Variable in class org.tentackle.dbms.DefaultConnectionManager
-
maximum number of connections, 0 = unlimited.
- maxDbSize - Variable in class org.tentackle.dbms.DefaultConnectionManager
-
maximum number of
Dbs, 0 = unlimited. - maxMinutes - Variable in class org.tentackle.dbms.DefaultConnectionManager
-
max hours to close connections.
- maxTxRunnableDepth - Static variable in class org.tentackle.dbms.DbTransaction
-
Maximum recursion depth of tx runnables.
To detect recursion loops when tx runnables create other runnables. - MDC_SESSION_KEY - Static variable in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
the mdc session key
- memorize(String, long, long) - Method in class org.tentackle.dbms.TableSerialHistory
-
Memorizes a history entry.
- memorize(String, Collection) - Method in class org.tentackle.dbms.TableSerialHistory
-
Memorizes history entries described by id/tableserial tuples.
- memorize(String, IdSerialTuple) - Method in class org.tentackle.dbms.TableSerialHistory
-
Memorizes a history entry.
- messageParameters - Variable in class org.tentackle.dbms.ModificationLog
-
Message parameters (lazy)
- methodPath() - Method in record class org.tentackle.dbms.DbObjectClassVariables.ForeignReference
-
Returns the value of the
methodPathrecord component. - methods() - Method in record class org.tentackle.dbms.DbObjectClassVariables.ForeignReference
-
Returns the value of the
methodsrecord component. - minMinutes - Variable in class org.tentackle.dbms.DefaultConnectionManager
-
min hours to close connections.
- minSize - Variable in class org.tentackle.dbms.MpxConnectionManager
-
minimum size.
- ModificationLog - Class in org.tentackle.dbms
-
Logging for object modifications.
Modifications of PDOs can be logged to a so-called modification log.
Such modlogs can be used for asynchronous database coupling, higher level replication, etc... - ModificationLog() - Constructor for class org.tentackle.dbms.ModificationLog
-
Creates an empty modlog.
- ModificationLog(Db) - Constructor for class org.tentackle.dbms.ModificationLog
-
Creates an empty modification log for a given session.
- ModificationLog(Db, ModificationType) - Constructor for class org.tentackle.dbms.ModificationLog
-
Creates a modification log for a given session and modification type.
- ModificationLog(ModificationLoggable, ModificationType) - Constructor for class org.tentackle.dbms.ModificationLog
-
Creates a modification log from an object.
- ModificationLog(ModificationLog, ModificationType) - Constructor for class org.tentackle.dbms.ModificationLog
-
Creates a modlog from another modlog, but a different type.
- ModificationLog.ReplayState - Class in org.tentackle.dbms
-
Replay state shared between consecutive invocations of
ModificationLog.replay(ModificationLog, Session, boolean).
This is just a DTO. - ModificationLogFactory - Interface in org.tentackle.dbms
-
The
ModificationLogfactory. - ModificationLoggable - Interface in org.tentackle.dbms
-
Objects that can be modification-logged.
- ModificationLogRemoteDelegate - Interface in org.tentackle.dbms.rmi
-
Remote delegate interface for
ModificationLog. - ModificationLogRemoteDelegateImpl - Class in org.tentackle.dbms.rmi
-
Remote delegate implementation for
ModificationLog. - ModificationLogRemoteDelegateImpl(RemoteDbSessionImpl, Class) - Constructor for class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- ModificationTally - Class in org.tentackle.dbms
-
Counter to track modifications for a class/table.
The ModificationTracker maintains a list of ModificationTally-objects, one for each tracked name. - ModificationTally(DbModificationTracker, String) - Constructor for class org.tentackle.dbms.ModificationTally
-
Creates a modification counter for a given tracked name.
- ModificationType - Interface in org.tentackle.dbms
-
The modification type.
The default types are defined inDbModificationType, which is an enum. - ModificationTypeFactory - Class in org.tentackle.dbms
-
Factory for modification types.
Basically maps character values to modification types. - ModificationTypeFactory() - Constructor for class org.tentackle.dbms.ModificationTypeFactory
-
Creates a modification type factory.
- modlogIDs - Variable in class org.tentackle.dbms.ModificationLog.ReplayState
-
the IDs of the replayed modlogs of this chunk.
- MpxConnectionManager - Class in org.tentackle.dbms
-
Multiplexing connection manager.
A connection manager for applications with a large number of session instances, e.g. application servers. - MpxConnectionManager(String, BackendInfo, int, int, int, int, int, int, int, int) - Constructor for class org.tentackle.dbms.MpxConnectionManager
-
Creates a new connection manager.
- MpxConnectionManager(BackendInfo, int) - Constructor for class org.tentackle.dbms.MpxConnectionManager
-
Creates a connection manager with reasonable values for most servers.
- MultiUserDbPool - Class in org.tentackle.dbms
-
Implementation of a
MultiUserSessionPool.
The pool is actually a pool ofDbPools, one for eachSessionInfo. - MultiUserDbPool(String, ConnectionManager, int, int, int, long, long) - Constructor for class org.tentackle.dbms.MultiUserDbPool
-
Creates a multi-user session pool.
N
- name - Variable in class org.tentackle.dbms.DefaultConnectionManager
-
name of the connection manager.
- name() - Method in class org.tentackle.dbms.prefs.DbPreferences
- newId() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets a new ID for this object.
- newInstance() - Method in class org.tentackle.dbms.AbstractDbObject
-
Creates a new object of the same class.
The new object belongs to the same session. - newInstance() - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
-
Creates a new instance of the required class for methods that return a new object.
- newInstance() - Method in class org.tentackle.dbms.rmi.AbstractDbOperationRemoteDelegateImpl
-
Creates a new instance of the required class for methods that return a new object.
- newInstance(Class) - Static method in class org.tentackle.dbms.AbstractDbObject
-
Instantiates a new db object for a given class without a session.
- newInstance(Session, Class) - Static method in class org.tentackle.dbms.AbstractDbObject
-
Instantiates a new object for a given class and session.
- next() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Moves the cursor froward one row from its current position.
- nextColumnIndex() - Method in class org.tentackle.dbms.ResultSetSection
-
Gets the next column index.
- nextId(Db) - Method in interface org.tentackle.dbms.IdSource
-
Get the next unique ID.
- nextId(Db) - Method in class org.tentackle.dbms.ObjectId
- nextId(Db) - Method in class org.tentackle.dbms.ObjectSequenceId
- node(String) - Method in class org.tentackle.dbms.prefs.DbPreferences
- nodeChanged(DbPreferences) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Invoke listeners when a node is added or removed.
- nodeExists(String) - Method in class org.tentackle.dbms.prefs.DbPreferences
- nodeName(Class) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Returns the absolute path name of the node corresponding to the package of the specified object.
- notifyCommit(Db, long) - Method in class org.tentackle.dbms.DbUtilities
-
Notifies interested parties that a physical commit has happened.
- notifyRollback(Db, long) - Method in class org.tentackle.dbms.DbUtilities
-
Notifies interested parties that a physical rollback has happened.
O
- ObjectId - Class in org.tentackle.dbms
-
An
IdSourceto create unique object IDs. - ObjectId(String) - Constructor for class org.tentackle.dbms.ObjectId
-
Creates an object id.
- ObjectSequenceId - Class in org.tentackle.dbms
-
An
IdSourceto create unique object IDs from a database sequence. - obtainReservedId() - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- obtainReservedId() - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- oldLogModificationAllowed - Variable in class org.tentackle.dbms.ModificationLog.ReplayState
-
saved logModificationAllowed.
- openDb() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets an open db session for this remote client session.
- openResultSet - Variable in class org.tentackle.dbms.StatementWrapper
-
pending open result set.
- optionallyReconnect() - Method in class org.tentackle.dbms.Db
-
Reconnects the session if a reconnection policy is defined.
- org.tentackle.database - module org.tentackle.database
-
tentackle-database module.
- org.tentackle.dbms - package org.tentackle.dbms
-
Low-level persistence layer implementation.
- org.tentackle.dbms.prefs - package org.tentackle.dbms.prefs
-
Persisted preferences implementation.
- org.tentackle.dbms.prefs.rmi - package org.tentackle.dbms.prefs.rmi
-
Persisted preferences remoting.
- org.tentackle.dbms.rmi - package org.tentackle.dbms.rmi
-
Low-level persistence layer remoting.
- OutputStreamRemoteDelegate - Interface in org.tentackle.dbms.rmi
- OutputStreamRemoteDelegateImpl - Class in org.tentackle.dbms.rmi
- OutputStreamRemoteDelegateImpl(RemoteDbSessionImpl, Class) - Constructor for class org.tentackle.dbms.rmi.OutputStreamRemoteDelegateImpl
-
Creates an output stream delegate.
P
- parallelOk - Variable in class org.tentackle.dbms.StatementWrapper
-
flag to tell that parallel execution should not be logged.
- parent() - Method in class org.tentackle.dbms.prefs.DbPreferences
- pause() - Method in class org.tentackle.dbms.ManagedConnectionMonitor
-
Pauses the thread between loop runs.
- pendingTxId - Variable in class org.tentackle.dbms.ModificationLog.ReplayState
-
the transaction id if BEGIN modlog found.
- performPendingCount() - Method in class org.tentackle.dbms.ModificationTally
-
Performs the physical pending count if pending count > 0.
This is only done if no transactions related to the data monitored by this ModificationTally are currently running. - PersistenceVisitor - Class in org.tentackle.dbms
-
A reflective visitor to add application-specific functionality to persistence operations.
- PersistenceVisitor() - Constructor for class org.tentackle.dbms.PersistenceVisitor
-
Creates a visitor.
- persistObject() - Method in class org.tentackle.dbms.AbstractDbObject
-
Persists this object and returns it.
- persistObject(P) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- persistObject(P) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- polled() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Sets this session as being polled for timeout.
- pollMasterSerialEvent() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Gets the next master serial event.
The method is invoked by theModificationTracker. - PooledDb - Class in org.tentackle.dbms
-
Session managed by the session pool.
- PooledDb(DbPool, int) - Constructor for class org.tentackle.dbms.PooledDb
-
Creates a pooled session.
- popModificationLogsOfTransaction() - Method in class org.tentackle.dbms.Db
-
Returns the
ModificationLogs of the current transaction.
Upon return, the list of logs is cleared. - popModificationLogsOfTransaction() - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- popModificationLogsOfTransaction() - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- popUnattached() - Method in class org.tentackle.dbms.MpxConnectionManager
-
Gets a connection from the unattached freelist.
- PORT - Static variable in class org.tentackle.dbms.rmi.RmiServer
-
The property key for the single RMI port.
- PORTS - Static variable in class org.tentackle.dbms.rmi.RmiServer
-
The property key for the RMI ports.
- postCommit(Consumer) - Method in class org.tentackle.dbms.Db
- preCommit(Consumer) - Method in class org.tentackle.dbms.Db
- prefKeys - Variable in class org.tentackle.dbms.prefs.DbPreferencesOperation.RefreshInfo
-
all prefkeys.
- prefNodes - Variable in class org.tentackle.dbms.prefs.DbPreferencesOperation.RefreshInfo
-
all prefnodes.
- prepareDelete() - Method in class org.tentackle.dbms.AbstractDbObject
-
Prepares this object for delete.
The method is invoked at the client-side only, i.e., but never at the server-side in 3-tier mode. - PreparedStatementWrapper - Class in org.tentackle.dbms
-
A wrapper for prepared statements.
Will catch and report SQLExceptions and keep track of being used only once afterDb.getPreparedStatement(StatementKey, boolean, int, int, SqlSupplier). - PreparedStatementWrapper(ManagedConnection, PreparedStatement, StatementKey, String) - Constructor for class org.tentackle.dbms.PreparedStatementWrapper
-
Creates a wrapper for a prepared statement.
- prepareRemoteDelegate(Class) - Static method in class org.tentackle.dbms.Db
-
Prepares a
RemoteDelegate. - prepareSave() - Method in class org.tentackle.dbms.AbstractDbObject
-
Prepares this object for saveObject.
The method is invoked at the client-side only, i.e., 3-tier or 2-tier, but never at the server-side in 3-tier mode.
Applications may override the method to perform any modifications to the object before it is sent to the server (instead ofAbstractDbObject.prepareSetFields()which is invoked at the JDBC side only). - prepareSetFields() - Method in class org.tentackle.dbms.AbstractDbObject
-
Prepares the object's attributes before the object is saved to the database.
The default implementation does nothing. - previous() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Moves the cursor to the previous row in this
ResultSetobject. - priority() - Method in record class org.tentackle.dbms.DbObjectClassVariables.ForeignReference
-
Returns the value of the
priorityrecord component. - PROTOCOLS - Static variable in class org.tentackle.dbms.Db
-
Property key for the SSL protocols.
- pushModificationLogOfTransaction(ModificationLog) - Method in class org.tentackle.dbms.Db
-
Pushes a
ModificationLogto the list of modlogs for the current transaction. - pushUnattached(int) - Method in class org.tentackle.dbms.MpxConnectionManager
-
Adds the index of an unused connection to the freelist.
- put(String, String) - Method in class org.tentackle.dbms.prefs.DbPreferences
- put(Session) - Method in class org.tentackle.dbms.MultiUserDbPool
- putBoolean(String, boolean) - Method in class org.tentackle.dbms.prefs.DbPreferences
- putByteArray(String, byte[]) - Method in class org.tentackle.dbms.prefs.DbPreferences
- putDouble(String, double) - Method in class org.tentackle.dbms.prefs.DbPreferences
- putFloat(String, float) - Method in class org.tentackle.dbms.prefs.DbPreferences
- putInt(String, int) - Method in class org.tentackle.dbms.prefs.DbPreferences
- putLong(String, long) - Method in class org.tentackle.dbms.prefs.DbPreferences
- putPersistentKey(DbPreferencesKey) - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Adds a key.
- putProperty(String, String) - Method in class org.tentackle.dbms.DbObjectClassVariables
-
Sets a class property.
- putSession(Session) - Method in class org.tentackle.dbms.DbPool
- putVariables(DbObjectClassVariables) - Static method in class org.tentackle.dbms.DbObjectClassVariables
-
Registers a classvariables instance.
Q
- Query - Class in org.tentackle.dbms
-
A database query.
- Query() - Constructor for class org.tentackle.dbms.Query
-
Creates a query.
R
- random - Variable in class org.tentackle.dbms.DefaultConnectionManager
-
randomizer.
- read() - Method in interface org.tentackle.dbms.rmi.InputStreamRemoteDelegate
-
Reads bytes from a stream.
If there is no more data available the operation will wait until data is available again. - read() - Method in class org.tentackle.dbms.rmi.InputStreamRemoteDelegateImpl
- read() - Method in class org.tentackle.dbms.rmi.RemoteInputStream
- readFromResultSetWrapper(ResultSetWrapper) - Method in class org.tentackle.dbms.AbstractDbObject
-
Reads the values from a result-set into this object.
- readFromResultSetWrapper(ResultSetWrapper) - Method in class org.tentackle.dbms.ModificationLog
- ready - Variable in class org.tentackle.dbms.StatementWrapper
-
flag if statement is marked ready for being consumed.
- reconnect(Db) - Method in class org.tentackle.dbms.DefaultReconnectionPolicy
- refresh() - Method in class org.tentackle.dbms.DbModification
-
Refreshes the contents of this modification entry by its name.
- RefreshInfo(long, Collection, Collection) - Constructor for class org.tentackle.dbms.prefs.DbPreferencesOperation.RefreshInfo
-
Creates a refresh info.
- register(DbPool) - Static method in class org.tentackle.dbms.DbPoolTimeoutThread
-
Registers a new pool for supervision.
There is no unregister. - registerCloseHandler(SessionCloseHandler) - Method in class org.tentackle.dbms.Db
- registerGlobalCloseHandler(SessionCloseHandler) - Static method in class org.tentackle.dbms.Db
-
Registers a global close handler.
- registerGlobalCloseHandler(SessionCloseHandler) - Method in class org.tentackle.dbms.DbFactory
- registerManagedConnection(ManagedConnection) - Method in class org.tentackle.dbms.ManagedConnectionMonitor
-
Registers a managed connection.
- registerPersistenceVisitor(PersistenceVisitor) - Method in class org.tentackle.dbms.Db
-
Registers a
PersistenceVisitorto be invoked just before performing a persistence operation.
Notice that the visitor must be registered within the transaction, i.e. - registerPersistenceVisitor(PersistenceVisitor) - Method in class org.tentackle.dbms.DbTransaction
-
Registers a
PersistenceVisitorto be invoked just before performing a persistence operation. - registerPersistenceVisitor(PersistenceVisitor) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- registerPersistenceVisitor(PersistenceVisitor) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- relative(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Moves the cursor a relative number of rows, either positive or negative.
- releaseDb(Db) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Releases the session after use.
- releaseSavepoint(Savepoint) - Method in class org.tentackle.dbms.ManagedConnection
-
Removes the specified
Savepointand subsequentSavepointobjects from the current transaction. - releaseSavepoint(SavepointHandle) - Method in class org.tentackle.dbms.Db
-
Removes the specified
Savepointand subsequentSavepointobjects from the current transaction. - releaseSavepoint(SavepointHandle) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- releaseSavepoint(SavepointHandle) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- releaseSession(Session) - Method in class org.tentackle.dbms.DbModificationTracker
- reloadObject() - Method in class org.tentackle.dbms.AbstractDbObject
-
Reloads the object.
- reloadObjectForUpdate() - Method in class org.tentackle.dbms.AbstractDbObject
-
Reloads the object with a write-lock.
- rememberParameter(int, Object) - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Sets the parameter to be remembered for diagnostics.
- RemoteDbConnection - Interface in org.tentackle.dbms.rmi
-
RMI remote connection.
This is the first remote object passed to the client when it connects to the application server. - RemoteDbConnectionImpl - Class in org.tentackle.dbms.rmi
-
Server side RMI-connection implementation.
- RemoteDbConnectionImpl(RmiServer, int, RMIClientSocketFactory, RMIServerSocketFactory) - Constructor for class org.tentackle.dbms.rmi.RemoteDbConnectionImpl
-
Creates a connection.
- RemoteDbSession - Interface in org.tentackle.dbms.rmi
-
Application server session.
The session will create all other delegates for the client. - RemoteDbSessionCleanupThread - Class in org.tentackle.dbms.rmi
-
Cleans up dead or crashed sessions.
- RemoteDbSessionCleanupThread(long, Set, int) - Constructor for class org.tentackle.dbms.rmi.RemoteDbSessionCleanupThread
-
Creates the cleanup thread.
- RemoteDbSessionImpl - Class in org.tentackle.dbms.rmi
-
User session within the application server.
- RemoteDbSessionImpl(RemoteDbConnectionImpl, SessionInfo, SessionInfo) - Constructor for class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Creates a session on a given connection.
- remoteDelegate() - Method in interface org.tentackle.dbms.rmi.RemoteDelegateLocator.Result
-
Gets the remote delegate interface for a class.
- RemoteDelegate - Interface in org.tentackle.dbms.rmi
-
Tag interface for Remote delegates.
The implementation of a RemoteDelegate must provide a constructor as follows: - remoteDelegateId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
ID for the remote delegate for this class.
- remoteDelegateId - Variable in class org.tentackle.dbms.DbOperationClassVariables
-
ID for the remote delegate for this class.
- remoteDelegateImpl() - Method in interface org.tentackle.dbms.rmi.RemoteDelegateLocator.Result
-
Gets the remote delegate implementation for a class.
- RemoteDelegateImpl<T> - Class in org.tentackle.dbms.rmi
-
All remote delegates must extend this class
- RemoteDelegateImpl(RemoteDbSessionImpl, Class) - Constructor for class org.tentackle.dbms.rmi.RemoteDelegateImpl
-
Creates a delegate.
- RemoteDelegateInvocationHandler - Class in org.tentackle.dbms.rmi
-
Invocation handler to capture RMI method invocations.
- RemoteDelegateInvocationHandler(RemoteDelegateImpl) - Constructor for class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Creates an invocation handler for a
RemoteDelegate. - RemoteDelegateLocator - Interface in org.tentackle.dbms.rmi
-
Finds the remote delegate classes for a given class.
- RemoteDelegateLocator.Result - Interface in org.tentackle.dbms.rmi
-
The result.
- RemoteInputStream - Class in org.tentackle.dbms.rmi
- RemoteInputStream(InputStreamRemoteDelegate) - Constructor for class org.tentackle.dbms.rmi.RemoteInputStream
-
Creates a remote input stream.
- RemoteOutputStream - Class in org.tentackle.dbms.rmi
- RemoteOutputStream(OutputStreamRemoteDelegate) - Constructor for class org.tentackle.dbms.rmi.RemoteOutputStream
-
Creates a remote output stream.
- RemoteServerObject - Class in org.tentackle.dbms.rmi
-
Extends
UnicastRemoteObjectto get the port and socket factories. - RemoteServerObject() - Constructor for class org.tentackle.dbms.rmi.RemoteServerObject
-
Creates and exports a new UnicastRemoteObject object using an anonymous port.
- RemoteServerObject(int) - Constructor for class org.tentackle.dbms.rmi.RemoteServerObject
-
Creates and exports a new UnicastRemoteObject object using the particular supplied port.
- RemoteServerObject(int, RMIClientSocketFactory, RMIServerSocketFactory) - Constructor for class org.tentackle.dbms.rmi.RemoteServerObject
-
Creates and exports a new UnicastRemoteObject object using the particular supplied port and socket factories.
- RemoteSessionAdapter - Class in org.tentackle.dbms
-
Adapter for a remote session.
Hides the RMI stuff. - RemoteSessionAdapter(RemoteDbSession) - Constructor for class org.tentackle.dbms.RemoteSessionAdapter
-
Creates the remote session adapter.
- RemoteSessionClosedException - Exception Class in org.tentackle.dbms.rmi
-
RMI servers should throw a RemoteSessionClosedException if the remote session is already closed.
- RemoteSessionClosedException() - Constructor for exception class org.tentackle.dbms.rmi.RemoteSessionClosedException
-
Constructs a new session closed exception without a session and with
nullas its detail message. - RemoteSessionClosedException(String) - Constructor for exception class org.tentackle.dbms.rmi.RemoteSessionClosedException
-
Constructs a new session closed exception without a session and with the specified detail message.
- RemoteSessionClosedException(String, Throwable) - Constructor for exception class org.tentackle.dbms.rmi.RemoteSessionClosedException
-
Constructs a new session closed exception without a session and with the specified detail message and cause.
- RemoteSessionFactory - Interface in org.tentackle.dbms
-
Factory for remote sessions.
- remove(String) - Method in class org.tentackle.dbms.prefs.DbPreferences
- removeAllPropertyListeners() - Method in class org.tentackle.dbms.AbstractDbObject
-
Removes all
PropertyListeners. - removeChild(String) - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Removes a child node.
- removeConnection(int) - Method in class org.tentackle.dbms.DefaultConnectionManager
-
Removes a connection from the list.
- removeDbIndex(int) - Method in class org.tentackle.dbms.DbPool
-
Removes the index from the pool.
- removeDbInstance(Db, int) - Method in class org.tentackle.dbms.DbPool
-
Closes a Db instance and removes it from the pool.
- removeModificationListener(ModificationListener) - Method in class org.tentackle.dbms.DbModificationTracker
-
Removes a modification listener.
- removeNode() - Method in class org.tentackle.dbms.prefs.DbPreferences
- removeNodeChangeListener(NodeChangeListener) - Method in class org.tentackle.dbms.prefs.DbPreferences
- removeNodeChangeListener(DbPreferences, NodeChangeListener) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Removes a node listener.
- removePersistentKey(String) - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Removes a key.
- removePreferenceChangeListener(PreferenceChangeListener) - Method in class org.tentackle.dbms.prefs.DbPreferences
- removePreferenceChangeListener(DbPreferences, PreferenceChangeListener) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Removes a preferences changed listener.
- removePreparedStatement(PreparedStatementWrapper) - Method in class org.tentackle.dbms.ManagedConnection
-
Removes a closed prepared statement.
- removePropertyListener(String, PropertyListener) - Method in class org.tentackle.dbms.AbstractDbObject
-
Removes a
PropertyListenerfrom the listener list for a specific property. - removePropertyListener(PropertyListener) - Method in class org.tentackle.dbms.AbstractDbObject
-
Removes a
PropertyListenerfrom the listener list. - removeReferencingClass(Class, String) - Method in class org.tentackle.dbms.DbObjectClassVariables
-
Removes a PDO class referencing the class from this class variable holder.
- removeRegex(String) - Method in class org.tentackle.dbms.StatementTracer
-
Removes a regular expression from the list of traced statements.
- removeResultSet(ResultSetWrapper) - Method in class org.tentackle.dbms.ManagedConnection
-
Removes a pending result set.
- removeRoot(DbPreferences) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Removes a root node of given node from the repository.
- removeRunningStatement(StatementWrapper) - Method in class org.tentackle.dbms.ManagedConnection
-
Removes a statement from the running statements.
- removeSavepoint(SavepointHandle) - Method in class org.tentackle.dbms.DbTransaction
-
Removes a savepoint.
- removeSessionIndex(int) - Method in class org.tentackle.dbms.DefaultConnectionManager
-
Removes a session index.
- removeShutdownRunnable(Runnable) - Method in class org.tentackle.dbms.DbModificationTracker
-
Removes a shutdown runnable.
- removeSql(String) - Method in class org.tentackle.dbms.StatementTracer
-
Removes a SQL statement from the list of traced statements.
- reOpen() - Method in class org.tentackle.dbms.Db
- replay(ModificationLog.ReplayState, List, boolean, boolean, Db) - Method in class org.tentackle.dbms.ModificationLog
-
Replays a list of modlogs within a single transaction.
It will also create new txId if the modlogs are copied. - replay(ModificationLog, Session, boolean) - Method in class org.tentackle.dbms.ModificationLog
-
Applies a modification to another db.
The method is not static to allow overriding (e.g. to extend with more transaction types). - replayDelete(ModificationLog, AbstractDbObject, boolean) - Method in class org.tentackle.dbms.ModificationLog
-
Replay a delete.
- replayFinishModification(ModificationLog, AbstractDbObject) - Method in class org.tentackle.dbms.ModificationLog
-
Perform postprocessing for replay.
- replayInitModification(ModificationLog, AbstractDbObject) - Method in class org.tentackle.dbms.ModificationLog
-
Perform preprocessing for replay.
- replayInsert(ModificationLog, AbstractDbObject, boolean) - Method in class org.tentackle.dbms.ModificationLog
-
Replay an insert.
- ReplayState() - Constructor for class org.tentackle.dbms.ModificationLog.ReplayState
-
Creates an initial state.
- replayUpdate(ModificationLog, AbstractDbObject, boolean) - Method in class org.tentackle.dbms.ModificationLog
-
Replay an update.
- requestDb(boolean, boolean) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Requests for a session to work with.
By default, the thread-local session is used. - requestSession() - Method in class org.tentackle.dbms.DbModificationTracker
- requestTermination() - Method in class org.tentackle.dbms.DbTransactionFactory
-
Requests supervisor thread termination.
- requestTermination() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionCleanupThread
-
Requests thread termination.
- reserveId() - Method in class org.tentackle.dbms.AbstractDbObject
-
Reserves an ID.
- reserveId(long) - Method in class org.tentackle.dbms.AbstractDbObject
-
Reserves a given ID.
It doesn't matter whether the ID is negative or positive. - resetColumnIndex() - Method in class org.tentackle.dbms.ResultSetSection
-
Clears the column index.
- restore() - Method in class org.tentackle.dbms.rmi.InvocationLocals
-
Restores the thread-locals, session's ownerthread and MDC.
- resultAllIdSerial() - Method in class org.tentackle.dbms.AbstractDbObject
-
Selects all id, serial-pairs of this class and returns the ResultSetWrapper.
- resultAllObjects() - Method in class org.tentackle.dbms.AbstractDbObject
-
Selects all objects of this class and returns the ResultSetWrapper.
- resultObjectsWithExpiredTableSerials(long) - Method in class org.tentackle.dbms.AbstractDbObject
-
Selects all objects of this class with a higher tableserial and returns the ResultSetWrapper.
- resultSetGreaterId(long) - Method in class org.tentackle.dbms.ModificationLog
-
Selects the first modlog with an ID greater than given ID.
- ResultSetSection - Class in org.tentackle.dbms
-
A section of columns within the result set.
- ResultSetSection(ResultSetWrapper, Object) - Constructor for class org.tentackle.dbms.ResultSetSection
-
Creates a section.
- resultSetSince(Timestamp) - Method in class org.tentackle.dbms.ModificationLog
-
Selects the first modlog since a given modification time.
- ResultSetSkipBlock - Class in org.tentackle.dbms
-
A subset of the columns returned by a
ResultSetWrapper. - ResultSetSkipBlock(ResultSetWrapper, int) - Constructor for class org.tentackle.dbms.ResultSetSkipBlock
-
Creates a skip block.
- resultSetToList(ResultSetWrapper, Class) - Method in class org.tentackle.dbms.DbUtilities
-
Converts a resultset to a list of DTOs.
Works for the builder- and setter pattern and all registeredDataTypes.
Constructor pattern works for records, but not for classes, since in Java the parameters are unnamed. - resultSetUnprocessed() - Method in class org.tentackle.dbms.ModificationLog
-
Selects the unprocessed modlogs as a result set.
- ResultSetWrapper - Class in org.tentackle.dbms
-
A wrapper for
ResultSets. - ResultSetWrapper(StatementWrapper, StatementHistory, ResultSet) - Constructor for class org.tentackle.dbms.ResultSetWrapper
-
Creates a wrapper for the given result set.
- retrieve(String, long, long, boolean) - Method in class org.tentackle.dbms.TableSerialHistory
-
Retrieves history entries and optionally removes them.
- revertAttributesToSnapshot(AbstractDbObject) - Method in class org.tentackle.dbms.AbstractDbObject
-
Copies all attributes from a snapshot object back to this object.
- RMI_SERVICE - Static variable in class org.tentackle.dbms.rmi.RmiServer
-
The property key for the RMI service name.
- RmiServer - Class in org.tentackle.dbms.rmi
-
A generic RMI server.
The backend properties file is parsed for the following keywords:service=service-URL: defaults to the basename of the RMI-server class instance at the default registry port on localhost, i.e. - RmiServer(SessionInfo) - Constructor for class org.tentackle.dbms.rmi.RmiServer
-
Creates an instance of an RMI-server with default connection object.
- RmiServer(SessionInfo, Class) - Constructor for class org.tentackle.dbms.rmi.RmiServer
-
Creates an instance of an RMI-server.
- rollback() - Method in class org.tentackle.dbms.DbTransaction
-
Performs a rollback.
Executes all rollback runnables and removes them. - rollback(boolean) - Method in class org.tentackle.dbms.ManagedConnection
-
Performs a rollback.
- rollback(long) - Method in class org.tentackle.dbms.Db
- rollback(long, boolean) - Method in class org.tentackle.dbms.Db
-
Rolls back a transaction if the corresponding "begin()" has started it.
- rollback(long, boolean) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- rollback(long, boolean) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- rollback(Savepoint) - Method in class org.tentackle.dbms.ManagedConnection
-
Undoes all changes made after the given
Savepointobject was set. - rollback(SavepointHandle) - Method in class org.tentackle.dbms.Db
-
Undoes all changes made after the given
Savepointobject was set. - rollback(SavepointHandle) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- rollback(SavepointHandle) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- rollbackImmediately(Throwable) - Method in class org.tentackle.dbms.Db
-
Rolls back the current transaction, if pending.
Used to clean up in case of an exception or alike. - rollbackModification(Session, long) - Method in class org.tentackle.dbms.DbModificationTracker
-
Adjusts the pending counts in all
ModificationTallys.
Eliminates cache invalidations if the whole pending count was due to the transaction rolled back. - rollbackPending(Session, long) - Method in class org.tentackle.dbms.ModificationTally
-
Rolls back the pending count and deletions for a given session.
Avoids invalidation of the associated caches when a transaction is rolled back that caused all the modifications. - rollbackSilently(long) - Method in class org.tentackle.dbms.Db
- run() - Method in class org.tentackle.dbms.DbPoolTimeoutThread
- run() - Method in class org.tentackle.dbms.ManagedConnectionMonitor
- run() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionCleanupThread
- running - Variable in class org.tentackle.dbms.StatementWrapper
-
flag if statement is currently running.
- runPostCommits() - Method in class org.tentackle.dbms.Db
-
Runs the post-commits in reverse order of their registration.
- runPreCommits() - Method in class org.tentackle.dbms.Db
-
Runs the pre-commits in reverse order of their registration.
- runScript(String, String) - Method in class org.tentackle.dbms.Db
-
Runs an SQL script.
S
- saveObject() - Method in class org.tentackle.dbms.AbstractDbObject
-
Saves this object.
This is the standard method applications should use to insert or update objects.
If the ID is 0, a new ID is obtained and this object inserted. - saveObject() - Method in class org.tentackle.dbms.ModificationLog
-
Saves this object.
This is the standard method applications should use to insert or update objects.
If the ID is 0, a new ID is obtained and this object inserted. - saveObject(P) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- saveObject(P) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- saveReferencedRelations(boolean) - Method in class org.tentackle.dbms.AbstractDbObject
-
Saves all composite relations referenced by this object.
- saveReferencingRelations(boolean) - Method in class org.tentackle.dbms.AbstractDbObject
-
Saves all composite relations that reference this object.
- selectAllIdSerial() - Method in class org.tentackle.dbms.AbstractDbObject
-
Selects all id,serial-pairs of this class as a list of
IdSerialTuple. - selectAllIdSerial() - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- selectAllIdSerial() - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- selectAllIdSerialNames() - Method in class org.tentackle.dbms.DbModificationTracker
-
Selects id/serial/name tuples from the remote server's tracker.
The method is provided to reduce the number of roundtrips during startup of the client application. - selectAllIdSerialNames() - Method in interface org.tentackle.dbms.rmi.DbModificationTrackerRemoteDelegate
- selectAllIdSerialNames() - Method in class org.tentackle.dbms.rmi.DbModificationTrackerRemoteDelegateImpl
- selectAllIdSerials() - Method in class org.tentackle.dbms.DbModificationTracker
-
Selects id/serial for all monitored tables.
Override this method to listen on other modification tables as well (from other apps, for example), seeDbModificationTracker.getModifiedMasterSerial(). - selectAllIdSerials() - Method in interface org.tentackle.dbms.rmi.DbModificationTrackerRemoteDelegate
- selectAllIdSerials() - Method in class org.tentackle.dbms.rmi.DbModificationTrackerRemoteDelegateImpl
- selectAllIdSerialStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for selectAllIdSerial().
- selectAllObjects() - Method in class org.tentackle.dbms.AbstractDbObject
-
Selects all objects of this class as a
List. - selectAllObjects() - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- selectAllObjects() - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- selectAllObjectsStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for selectAll().
- selectByNodeId(long) - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
-
Gets all keys belonging to a node.
- selectByNodeIdAndKey(long, String) - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
-
Gets the prefkey belonging to a node for a given key.
- selectByObject(int, long) - Method in class org.tentackle.dbms.ModificationLog
-
Gets the modlogs pending for a given object.
- selectByObject(int, long) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- selectByObject(int, long) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- selectByParentId(long) - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Gets all nodes belonging to a parent node.
- selectByRootNodeId(long) - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
-
Gets all keys belonging to a root node and all its sub nodes sorted by id.
- selectByRootNodeId(long) - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Gets all keys belonging to a root node and all its sub nodes sorted by id.
- selectByTxId(long) - Method in class org.tentackle.dbms.ModificationLog
-
Selects the transaction.
- selectByTxId(long) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- selectByTxId(long) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- selectByUserAndName(String, String) - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Selects a node by user and name.
- selectByUserAndType(long, ModificationType) - Method in class org.tentackle.dbms.ModificationLog
-
Selects all logs pending for a given user and type.
- selectByUserAndType(long, ModificationType) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- selectByUserAndType(long, ModificationType) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- selectExpiredTableSerials(long) - Method in class org.tentackle.dbms.AbstractDbObject
-
Determines the objects with a tableSerial starting at a given serial.
Useful to clean up the caches, for example. - selectExpiredTableSerials(long) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- selectExpiredTableSerials(long) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- selectExpiredTableSerials(long, long) - Method in class org.tentackle.dbms.AbstractDbObject
-
Determines the objects with their tableSerial within a given range.
- selectExpiredTableSerials(long, long) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- selectExpiredTableSerials(long, long) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- selectExpiredTableSerials1StatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for selectExpiredTableSerials().
- selectExpiredTableSerials2StatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
- selectFirstUnprocessed() - Method in class org.tentackle.dbms.ModificationLog
-
Selects the next record to process.
This is the first unprocessed modlog with the lowest ID. - selectFirstUnprocessed() - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- selectFirstUnprocessed() - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- selectFirstUnprocessedGreater(long) - Method in class org.tentackle.dbms.ModificationLog
-
Selects the next record to process greater than a given id.
- selectFirstUnprocessedGreater(long) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- selectFirstUnprocessedGreater(long) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- selectForUpdateStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for selectForUpdate().
- selectGreaterId(long) - Method in class org.tentackle.dbms.ModificationLog
-
Selects the first modlog with an ID greater than given ID.
- selectGreaterId(long) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- selectGreaterId(long) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- selectIdSerial(String) - Method in class org.tentackle.dbms.DbModification
-
Selects the id and serial by tablename.
- selectIdSerialForName(String) - Method in class org.tentackle.dbms.DbModificationTracker
-
Selects the pair of id/serial for a given table name.
- selectIdSerialForName(String) - Method in interface org.tentackle.dbms.rmi.DbModificationTrackerRemoteDelegate
- selectIdSerialForName(String) - Method in class org.tentackle.dbms.rmi.DbModificationTrackerRemoteDelegateImpl
- selectLastProcessed() - Method in class org.tentackle.dbms.ModificationLog
-
Selects the last processed modlog.
This is the last processed modlog with the highest ID. - selectLastProcessed() - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- selectLastProcessed() - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- selectMasterSerial() - Method in class org.tentackle.dbms.DbModification
-
Reads the master-serial.
- selectMasterSerial() - Method in class org.tentackle.dbms.DbModificationTracker
-
Reads the master-serial from the database.
- selectMasterSerial() - Method in interface org.tentackle.dbms.rmi.DbModificationTrackerRemoteDelegate
- selectMasterSerial() - Method in class org.tentackle.dbms.rmi.DbModificationTrackerRemoteDelegateImpl
- selectMaxId() - Method in class org.tentackle.dbms.AbstractDbObject
-
Selects the highest id.
- selectMaxId() - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- selectMaxId() - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- selectMaxIdStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for selectMaxId().
- selectMaxTableSerial() - Method in class org.tentackle.dbms.AbstractDbObject
-
Selects the highest table serial.
- selectMaxTableSerial() - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- selectMaxTableSerial() - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- selectMaxTableSerialStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for selectMaxTableSerial().
- selectNextObject(ResultSetWrapper) - Method in class org.tentackle.dbms.AbstractDbObject
-
Selects the next object from a result-set.
AbstractApplications should close the result-set if null is returned. - selectObject(long) - Method in class org.tentackle.dbms.AbstractDbObject
-
Loads an object from the database by its unique ID.
- selectObject(long) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- selectObject(long) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- selectObject(Session, Class, long, boolean) - Method in class org.tentackle.dbms.DbUtilities
-
Loads an object from the database.
- selectObjectForUpdate(long) - Method in class org.tentackle.dbms.AbstractDbObject
-
Load the object from the database with an exclusive lock (aka write lock).
This is implemented via "SELECT FOR UPDATE". - selectObjectForUpdate(long) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- selectObjectForUpdate(long) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- selectObjectStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for select().
- selectObjectsWithExpiredTableSerials(long) - Method in class org.tentackle.dbms.AbstractDbObject
-
Selects all objects with a tableSerial starting at a given serial.
Useful to update expired objects in a batch. - selectObjectsWithExpiredTableSerials(long) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- selectObjectsWithExpiredTableSerials(long) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- selectObjectsWithExpiredTableSerialsStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for selectObjectsWithExpiredTableSerials
- selectSerial(long) - Method in class org.tentackle.dbms.AbstractDbObject
-
Selects the serial-number for a given object id.
- selectSerial(long) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- selectSerial(long) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- selectSerialStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for selectSerial().
- selectTableNameForId(long) - Method in class org.tentackle.dbms.DbModification
-
Selects the tablename for a given ID.
- selectTxIds(long, long) - Method in class org.tentackle.dbms.ModificationLog
- selectTxIds(long, long) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- selectTxIds(long, long) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- selectUpTo(Timestamp) - Method in class org.tentackle.dbms.ModificationLog
-
Selects all modlogs that are unprocessed or modified up to a given timestamp.
Used to replay modlogs after a crash. - selectUpTo(Timestamp) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- selectUpTo(Timestamp) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- SEQUENCE_BASED - Static variable in class org.tentackle.dbms.DefaultIdSourceConfigurator
-
sequence-based id source.
- SEQUENCE_MULTIPLIER - Static variable in class org.tentackle.dbms.ObjectSequenceId
-
Default sequence multiplier.
- serial - Variable in class org.tentackle.dbms.prefs.DbPreferencesOperation.RefreshInfo
-
the serial version of the preferences tree.
- serial() - Method in record class org.tentackle.dbms.rmi.DbObjectResult
-
Returns the value of the
serialrecord component. - serial() - Method in record class org.tentackle.dbms.rmi.DefaultMasterSerial
-
Returns the value of the
serialrecord component. - SESSION_COUNT_PENDING - Static variable in class org.tentackle.dbms.ModificationTally
-
Transaction property to rollback pending counts.
Set toBoolean.TRUEwhen the session performed a countPending within transaction and that pending count must be adjusted when the transaction is rolled back. - set(DataType, int, T, boolean, Integer) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- set(DataType, int, T, int, boolean, Integer) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- set(SqlType, int, Object) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setAlive(boolean) - Method in class org.tentackle.dbms.Db
-
Sets the session's alive-state.
- setAlive(boolean) - Method in class org.tentackle.dbms.DbTransaction
-
Sets the alive-flag.
- setAlive(boolean) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- setAlive(boolean) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- setArray(int, Class, int, Collection, String) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setAttachTimeout(long) - Method in class org.tentackle.dbms.DefaultConnectionManager
-
Sets the attach-timeout.
- setAutoCommit(boolean) - Method in class org.tentackle.dbms.ManagedConnection
-
Sets the autocommit feature.
- setAutoSync(boolean) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
- setBatch(DbBatch) - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Sets the statement batch if batched within the current transaction.
- setBatchSize(int) - Method in class org.tentackle.dbms.Db
-
Sets the batch size for JDBC auto batching.
- setBigDecimal(int, BigDecimal) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setBinary(int, Binary) - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Sets the designated parameter to the given
Binaryvalue. will The driver converts this to an SQLBLOBvalue when it sends it to the database. - setBMoney(int, BMoney) - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Sets the designated parameter to a
BMoneyvalue.
A BMoney will not be stored as a single field but as two fields: a double representing the value an int representing the scale This is due to most DBMS can't store arbitrary scaled decimals in a single column, i.e. all values in the column must have the same scale. - setBoolean(int, boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setBoolean(int, Boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setByte(int, byte) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setByte(int, Byte) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setChar(int, char) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setCharacter(int, Character) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setCharacter(int, Character, boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setCheckingStatementResultSetParameters(boolean) - Static method in class org.tentackle.dbms.ManagedConnection
-
Sets whether to check that requested resulttype and concurrency matches the prepared statement reused.
- setClassId(int) - Method in class org.tentackle.dbms.AbstractDbObject
-
Sets the class id for this po.
- setClientSocketFactory(RMIClientSocketFactory) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Sets the client socket factory for all delegates.
- setCloseStatementOnclose(boolean) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Set the statement to be closed when result set is closed.
- setCollectingStatistics(boolean) - Method in class org.tentackle.dbms.DbTransactionFactory
-
Sets whether statistics should be collected.
- setCollectingStatistics(boolean) - Static method in class org.tentackle.dbms.ManagedConnection
-
Sets a flag whether to collect statement statistics.
- setCollectingStatistics(boolean) - Static method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Sets whether statistics should be collected.
- setColumnOffset(int) - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Sets the column offset.
- setColumnOffset(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Sets the column offset.
- setCommitOnCloseVoucher(boolean, long) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Set whether to commit() before close() or not.
Some dbms (e.g. - setConnectionInactivityTimeout(int) - Method in class org.tentackle.dbms.MpxConnectionManager
-
Sets the connection inactivity timeout in minutes.
By default, connections that weren't used for a long time (≥minMinutes/2minutes) are checked for being still alive viaManagedConnection.verifyConnection()before being attached. - setConnectionInactivityTimeoutMs(long) - Method in class org.tentackle.dbms.ManagedConnection
-
Sets the optional connection inactivity timeout.
- setConnectionKeepAlive(boolean) - Method in class org.tentackle.dbms.MpxConnectionManager
-
Sets whether to send dummy selects to the backend periodically.
- setConnectionKeepAliveEnabled(boolean) - Method in class org.tentackle.dbms.ManagedConnection
-
Sets the optional flag to send fake selects periodically to the backend.
- setCountModificationAllowed(boolean) - Method in class org.tentackle.dbms.Db
-
Defines whether objects are allowed to count modifications.
- setCountModificationAllowed(boolean) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- setCountModificationAllowed(boolean) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- setCrashed(boolean) - Method in class org.tentackle.dbms.Db
-
Sets the crash flag.
The session may be marked as crashed to reduce logging of succeeding errors. - setDate(int, Date) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setDate(int, Date, boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setDate(int, Date, Calendar) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setDate(int, Date, Calendar, boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setDead(boolean) - Method in class org.tentackle.dbms.ManagedConnection
-
Marks a connection being dead.
- setDefaultIdSource(IdSource) - Method in class org.tentackle.dbms.Db
-
Set the default
IdSource.
This is the source used to generate unique object IDs if classes did not configure their own source. - setDMoney(int, DMoney) - Method in class org.tentackle.dbms.PreparedStatementWrapper
-
Sets the designated parameter to a
DMoneyvalue.
A DMoney will not be stored as a single field but as two fields: a BigDecimal with a scale of 0 representing the value an int representing the scale This is due to most DBMS can't store arbitrary scaled decimals in a single column, i.e. all values in the column must have the same scale. - setDouble(int, double) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setDouble(int, Double) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setEnabled(boolean) - Method in class org.tentackle.dbms.StatementTracer
-
Sets the tracer enabled.
Notice that disabling does not remove any SQLs or Patterns. - setExpireAt(long) - Method in class org.tentackle.dbms.ManagedConnection
-
Sets the epochal time when this connection should be closed, if unused.
- setExportedSessionGroupId(int) - Method in class org.tentackle.dbms.Db
-
Sets the session group exported to remote clients.
- setFetchDirection(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Gives a hint as to the direction in which the rows in this
ResultSetobject will be processed. - setFetchDirection(int) - Method in class org.tentackle.dbms.StatementWrapper
-
Gives the driver a hint as to the direction in which rows will be processed in
ResultSetobjects created using thisStatementobject. - setFetchSize(int) - Method in class org.tentackle.dbms.Db
-
Sets the default fetchsize for all "wrapped" statements (PreparedStatementWrapper and StatementWrapper)
- setFetchSize(int) - Method in class org.tentackle.dbms.Query
-
Sets the optional fetchsize. 0 = drivers default.
- setFetchSize(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed for this
ResultSetobject. - setFetchSize(int) - Method in class org.tentackle.dbms.StatementWrapper
-
Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed for
ResultSetobjects generated by thisStatement. - setFields(PreparedStatementWrapper) - Method in class org.tentackle.dbms.AbstractDbObject
-
Sets the values of all fields (all columns of the database table) in the given
PreparedStatementWrapperfrom the object's attributes. - setFields(PreparedStatementWrapper) - Method in class org.tentackle.dbms.DbModification
- setFields(PreparedStatementWrapper) - Method in class org.tentackle.dbms.ModificationLog
- setFields(PreparedStatementWrapper) - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
- setFields(PreparedStatementWrapper) - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
- setFinallyImmutable() - Method in class org.tentackle.dbms.AbstractDbObject
- setFloat(int, float) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setFloat(int, Float) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setId(long) - Method in class org.tentackle.dbms.AbstractDbObject
-
Sets the unique ID of this object.
- setIdConfiguration(String) - Method in class org.tentackle.dbms.Db
-
Sets the ID-Source configuration.
- setImmutable(boolean) - Method in class org.tentackle.dbms.AbstractDbObject
-
Defines whether attributes of the object may be changed.
- setImmutableLoggingLevel(Logger.Level) - Method in class org.tentackle.dbms.AbstractDbObject
- setIncSize(int) - Method in class org.tentackle.dbms.DbPool
-
Sets the minimum increment to enlarge the pool.
- setIndex(int) - Method in class org.tentackle.dbms.ManagedConnection
-
Sets the connection index.
- setInfoLogSize(int) - Method in class org.tentackle.dbms.MpxConnectionManager
-
Sets the number of connections when to start info logging.
- setInstant(int, Instant) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setInstant(int, Instant, boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setInt(int, int) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setInteger(int, Integer) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setKeepAliveInterval(long) - Method in class org.tentackle.dbms.Db
- setKey(String) - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
-
Sets the attribute key.
- setLargeString(int, String) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setLargeString(int, String, boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setLastSerial(long) - Method in class org.tentackle.dbms.ModificationTally
-
Sets the last serial.
- setLimit(int) - Method in class org.tentackle.dbms.Query
-
Sets the maximum number of rows to retrieve for this query. e
- setLocalClientMode(boolean) - Method in class org.tentackle.dbms.DbModificationTracker
-
Sets local client mode.
- setLocalDate(int, LocalDate) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setLocalDate(int, LocalDate, boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setLocalDateTime(int, LocalDateTime) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setLocalDateTime(int, LocalDateTime, boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setLocalTime(int, LocalTime) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setLoggingInvocationDetails(boolean) - Static method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Sets whether args and return values will be logged as well.
- setLoggingInvocations(boolean) - Static method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Sets whether each invocation should be logged.
- setLogLevel(Logger.Level) - Method in class org.tentackle.dbms.StatementTracer
-
Sets the log level to trace statements.
- setLogLevelForParallelOpenResultSets(Logger.Level) - Static method in class org.tentackle.dbms.ManagedConnection
-
Sets the logging level to log nested selects.
If enabled, selects running in parallel on the same connection will be logged. - setLogMinAttachMillis(long) - Static method in class org.tentackle.dbms.ManagedConnection
-
Sets the minimum milliseconds a connection remains attached before being logged.
- setLogMinDurationMillis(long) - Static method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Sets the minimum milliseconds a method needs to execute before being logged.
- setLogMinDurationMillis(long) - Static method in class org.tentackle.dbms.StatementHistory
-
Sets the duration of statements to be logged as a warning.
- setLogMinReturnedCollectionSize(int) - Static method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Sets the minimum size of returned collection to get logged.
- setLogModificationAllowed(boolean) - Method in class org.tentackle.dbms.Db
-
Sets the modification-allowed state.
Useful to turn off modlog for a special (temporary) session doing certain tasks that should not be logged. - setLogModificationAllowed(boolean) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- setLogModificationAllowed(boolean) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- setLogModificationDeferred(boolean) - Method in class org.tentackle.dbms.Db
-
Sets the modification logging deferred state for the current transaction.
In deferred mode theModificationLogs are not written to the database. - setLogModificationDeferred(boolean) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- setLogModificationDeferred(boolean) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- setLogModificationTxEnabled(boolean) - Method in class org.tentackle.dbms.Db
-
Turn transaction-logging on or off.
- setLogModificationTxEnabled(boolean) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- setLogModificationTxEnabled(boolean) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- setLogModificationTxId(long) - Method in class org.tentackle.dbms.Db
-
Sets the transaction id.
- setLogModificationTxId(long) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- setLogModificationTxId(long) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- setLogStatisticsMillis(long) - Static method in class org.tentackle.dbms.ManagedConnection
-
Sets the optional periodical log of statistics in milliseconds.
If turned on, the statistics will be logged and cleared every logStatisticsMillis milliseconds. - setLong(int, long) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setLong(int, Long) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setMaxCountForClearWarnings(int) - Method in class org.tentackle.dbms.DefaultConnectionManager
-
Sets the countForClearWarnings trigger, 0 = app must eat the warnings!
- setMaxCountForClearWarnings(int) - Method in class org.tentackle.dbms.ManagedConnection
-
Sets the countForClearWarnings trigger.
- setMaxIdleMinutes(long) - Method in class org.tentackle.dbms.DbPool
-
Sets the idle minutes.
Sessions are closed if unused for given minutes. - setMaxRows(int) - Method in class org.tentackle.dbms.Db
-
sets the maximum number of rows in resultsets.
- setMaxRows(int) - Method in class org.tentackle.dbms.Query
-
Sets the optional maximum row count for this cursor.
- setMaxRows(int) - Method in class org.tentackle.dbms.StatementWrapper
-
Sets the limit for the maximum number of rows that any
ResultSetobject generated by thisStatementobject can contain to the given number. - setMaxSize(int) - Method in class org.tentackle.dbms.DbPool
-
Sets the maximum size.
- setMaxSize(String, int) - Method in class org.tentackle.dbms.TableSerialHistory
-
Sets the maximum size of the history.
- setMaxStatementsPerTransaction(int) - Static method in class org.tentackle.dbms.ManagedConnection
-
Sets the limit for the number of statements per transaction.
Useful to detect wild running transactions eating up all memory and blowing up the backend.
Default is 0 (disabled). - setMaxUsageMinutes(long) - Method in class org.tentackle.dbms.DbPool
-
Sets the maximum usage minutes.
Sessions are closed if unused and first used foe given timeout. - setMdcFilter(Pattern) - Static method in class org.tentackle.dbms.ManagedConnection
-
Sets Optional filter to log only statements for certain MappedDiagnosticContexts.
If set, statements are only collected for logging if the MDC is valid and the pattern matches the toString-value of the MDC. - setMdcFilter(Pattern) - Static method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Sets the optional filter to log only RMI-calls for certain MappedDiagnosticContexts.
If set, statements are only collected for logging if the MDC is valid and the pattern matches the toString-value of the MDC. - setMessage(String) - Method in class org.tentackle.dbms.ModificationLog
-
Sets the message.
- setMessageParameter(String, String) - Method in class org.tentackle.dbms.ModificationLog
-
Sets a message parameter.
- setMessageParameters(ParameterString) - Method in class org.tentackle.dbms.ModificationLog
-
Sets the message parameters.
- setMinSize(int) - Method in class org.tentackle.dbms.DbPool
-
Sets the minimum size.
- setModificationTrackerSession(boolean) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Sets the modification tracker session flag.
- setModified(boolean) - Method in class org.tentackle.dbms.AbstractDbObject
-
Sets the modified flag.
- setModType(ModificationType) - Method in class org.tentackle.dbms.ModificationLog
-
Sets the attribute modType.
- setName(String) - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Sets the attribute name.
- setNodeId(long) - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
-
Sets the attribute nodeId.
- setNull(int, int) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setObjectClassId(int) - Method in class org.tentackle.dbms.ModificationLog
-
Sets the attribute objectClassId.
- setObjectClassName(String) - Method in class org.tentackle.dbms.ModificationLog
-
Sets the attribute objectClassName.
- setObjectId(long) - Method in class org.tentackle.dbms.ModificationLog
-
Sets the attribute objectId.
- setOffset(int) - Method in class org.tentackle.dbms.Query
-
Sets an offset, i.e. number of rows to skip in a query.
- setOffsetDateTime(int, OffsetDateTime) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setOffsetDateTime(int, OffsetDateTime, boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setOffsetTime(int, OffsetTime) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setOverloadable(boolean) - Method in class org.tentackle.dbms.AbstractDbObject
-
Defines whether the object may be loaded more than once from storage.
By default, overloading is not allowed. - setOwnerThread(Thread) - Method in class org.tentackle.dbms.Db
-
Sets the exclusive owner thread.
- setParallelOk(boolean) - Method in class org.tentackle.dbms.StatementWrapper
-
Sets whether parallel execution on same connection should be logged.
Multiple open result sets on a single connection usually means, that other selects are submitted while processing the result set. - setParentId(long) - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Sets the attribute parentId.
- setPool(SessionPool) - Method in class org.tentackle.dbms.Db
-
Sets the pool manager.
The method is invoked from a SessionPool when the session is created. - setPoolId(int) - Method in class org.tentackle.dbms.Db
-
Sets the pool id.
The method is invoked from a SessionPool when the session is used in a pool. - setPort(int) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Sets Gets the port for all delegates.
- setProcessed(Timestamp) - Method in class org.tentackle.dbms.ModificationLog
-
Sets the attribute processed.
- setProperty(String, T) - Method in class org.tentackle.dbms.Db
- setProperty(String, T) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- setProperty(String, T) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- setReadOnly(boolean) - Method in class org.tentackle.dbms.Db
-
Sets the session to readonly.
- setReadOnly(boolean) - Method in class org.tentackle.dbms.ManagedConnection
-
Sets the read-only mode.
- setReadOnly(boolean) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
- setReadOnly(boolean) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- setReadOnly(boolean) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- setRemoved(boolean) - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
-
Sets the removed flag.
- setRemoved(boolean) - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Sets the removed flag.
- setRootNodeId(long) - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
-
Sets the attribute rootNodeId.
- setRootNodeId(long) - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Sets the attribute rootNodeId.
- setRunning(boolean) - Method in class org.tentackle.dbms.StatementWrapper
-
Sets the running flag of this statements.
Updates the running statements inManagedConnection. - setSavepoint() - Method in class org.tentackle.dbms.Db
-
Creates an unnamed savepoint in the current transaction.
- setSavepoint() - Method in class org.tentackle.dbms.ManagedConnection
-
Creates an unnamed savepoint in the current transaction.
- setSavepoint() - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- setSavepoint() - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- setSavepoint(String) - Method in class org.tentackle.dbms.Db
-
Creates a savepoint with the given name in the current transaction.
- setSavepoint(String) - Method in class org.tentackle.dbms.ManagedConnection
-
Creates a savepoint with the given name in the current transaction.
- setSavepoint(String) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- setSavepoint(String) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- setSerial(long) - Method in class org.tentackle.dbms.AbstractDbObject
-
Sets the serial number (modification count).
Does not set this object to be modified, seeAbstractDbObject.isModified(). - setServerSocketFactory(RMIServerSocketFactory) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Sets the server socket factory for all delegates.
- setSession(Session) - Method in class org.tentackle.dbms.AbstractDbObject
-
Sets the session for this object.
- setSession(Session) - Method in class org.tentackle.dbms.AbstractDbOperation
-
Sets the session for this operation.
- setSession(Session) - Method in class org.tentackle.dbms.DbModificationTracker
- setSession(Session) - Method in class org.tentackle.dbms.ModificationLog
-
Sets the session for this object.
- setSessionGroupId(int) - Method in class org.tentackle.dbms.Db
-
Sets the group number for this session.
This is an optional number describing groups of sessions, which is particularly useful in RMI-servers: if one connection fails, all others should be closed as well. - setSessionHolder(SessionHolder) - Method in class org.tentackle.dbms.AbstractDbObject
-
Sets the session holder for this object.
- setSessionHolder(SessionHolder) - Method in class org.tentackle.dbms.AbstractDbOperation
-
Sets the session holder for this object.
- setSessionImmutable(boolean) - Method in class org.tentackle.dbms.AbstractDbObject
-
Sets the db to immutable.
- setSessionImmutable(boolean) - Method in class org.tentackle.dbms.AbstractDbOperation
-
Sets the db to immutable.
- setSessionInfo(SessionInfo) - Method in class org.tentackle.dbms.Db
-
Sets the session info.
This will *NOT* send the session to the remote server if this is a remote session. - setSessionTimeout(int) - Method in class org.tentackle.dbms.rmi.RmiServer
-
Sets the session timeout.
- setSessionTimeoutCheckInterval(long) - Method in class org.tentackle.dbms.rmi.RmiServer
-
Sets the timeout check interval in milliseconds.
- setShort(int, short) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setShort(int, Short) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setStackTrace(String) - Method in class org.tentackle.dbms.StatementWrapper
-
Sets an optional stacktrace that invoked the last query or update.
If set, the stacktrace will be logged inStatementWrapper.toString(). - setStatementAlwaysPrepared(boolean) - Method in class org.tentackle.dbms.AbstractDbObject
-
Sets the always prepare flag.
- setStatementCached(boolean) - Method in class org.tentackle.dbms.Query
-
Enables caching of the prepared statement.
By default, queries are one-time prepared statements that will be closed when the resultset is closed. - setString(int, String) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setString(int, String, boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setSystemOnly(boolean) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
- setTableSerial(long) - Method in class org.tentackle.dbms.AbstractDbObject
-
Sets the table serial number (table modification count).
- setTime(int, Time) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setTime(int, Time, Calendar) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setTimeout(int) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Sets the session timeout.
- setTimestamp(int, Timestamp) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setTimestamp(int, Timestamp, boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setTimestamp(int, Timestamp, Calendar) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setTimestamp(int, Timestamp, Calendar, boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setTraceParallelOpenResultSets(boolean) - Static method in class org.tentackle.dbms.ManagedConnection
-
Sets whether detected (and logged) parallel result sets should automatically be added to the
StatementTracer.
Enabling requiresManagedConnection.setLogLevelForParallelOpenResultSets(Level)to be a valid loggable level. - setTrackedName(String) - Method in class org.tentackle.dbms.DbModification
-
Sets the attribute trackedName.
- setTransactionIsolation(int) - Method in class org.tentackle.dbms.ManagedConnection
-
Sets the transaction isolation level.
- setTransactionProperty(Object, Object) - Method in class org.tentackle.dbms.Db
-
Sets an application-specific transaction property.
For local sessions, properties can be set while a transaction is running. - setTxId(long) - Method in class org.tentackle.dbms.ModificationLog
-
Sets the attribute txId.
- setTxIdleInterval(long) - Method in class org.tentackle.dbms.DbTransactionFactory
-
Sets the check interval for idle or unreferenced transactions in ms.
- setTxIdleTimeout(int) - Method in class org.tentackle.dbms.DbTransactionFactory
-
Sets the number of check intervals that must elapse to for an idle transaction to time out.
- setTxName(String) - Method in class org.tentackle.dbms.ModificationLog
-
Sets the attribute txName.
- setUser(String) - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
-
Sets the attribute user.
- setUserId(long) - Method in class org.tentackle.dbms.ModificationLog
-
Sets the attribute userId.
- setValue(String) - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
-
Sets the attribute value.
- setWarnLogSize(int) - Method in class org.tentackle.dbms.MpxConnectionManager
-
Sets the number of connections when to start warning logging.
- setWhen(Timestamp) - Method in class org.tentackle.dbms.ModificationLog
-
Sets the attribute when.
- setWithParameters(boolean) - Static method in class org.tentackle.dbms.StatementStatistics
-
Sets whether statistics should be separated according to the statement parameters.
- setZonedDateTime(int, ZonedDateTime) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- setZonedDateTime(int, ZonedDateTime, boolean) - Method in class org.tentackle.dbms.PreparedStatementWrapper
- shutdown() - Method in interface org.tentackle.dbms.ConnectionManager
-
Shuts down this connection manager.
All connections are closed and the threads stopped. - shutdown() - Method in class org.tentackle.dbms.DbPool
- shutdown() - Method in class org.tentackle.dbms.DefaultConnectionManager
- shutdown() - Method in class org.tentackle.dbms.MpxConnectionManager
-
Shuts down this connection manager.
All connections are closed and the threads stopped. - shutdown() - Method in class org.tentackle.dbms.MultiUserDbPool
- skip() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Skips to the next logical entity.
- skip(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Performs a
ResultSetWrapper.skipColumns(int)followed by aResultSetWrapper.skip()in one method call.
Provided to save typing only. - skipColumns(int) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Skips given number of columns in current skip block.
This is usually the column count of an entity. - SOCKET_FACTORY - Static variable in class org.tentackle.dbms.Db
-
Property key for the socket factory.
- sql - Variable in class org.tentackle.dbms.StatementWrapper
-
the SQL string.
- SqlSupplier - Interface in org.tentackle.dbms
-
Backend-specific SQL-code supplier.
- stackTrace - Variable in class org.tentackle.dbms.StatementWrapper
-
optional stacktrace that invoked the last query or update.
- start() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Starts the RMI server.
- startCleanupThread(long) - Static method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Starts the optional cleanup thread that will monitor the sessions for database activity.
- startSkip() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Starts or restarts skip mode.
- StatementHistory - Class in org.tentackle.dbms
-
History of statement execution.
- StatementHistory(StatementWrapper, String) - Constructor for class org.tentackle.dbms.StatementHistory
-
Creates a statement execution history.
- StatementId - Class in org.tentackle.dbms
-
A statement id.
- StatementId() - Constructor for class org.tentackle.dbms.StatementId
-
Creates a unique statement id.
- StatementKey - Class in org.tentackle.dbms
-
The statement key.
- StatementKey(String) - Constructor for class org.tentackle.dbms.StatementKey
-
Creates a statement key.
- StatementKey(StatementId, Class) - Constructor for class org.tentackle.dbms.StatementKey
-
Creates the statement key.
- StatementKey(StatementId, Class, String) - Constructor for class org.tentackle.dbms.StatementKey
-
Creates the statement key.
- StatementStatistics - Class in org.tentackle.dbms
-
Statement statistics collector.
- StatementStatistics(String, String, Map) - Constructor for class org.tentackle.dbms.StatementStatistics
-
Create a statistics collector.
- StatementStatisticsResult - Class in org.tentackle.dbms
-
Statistics result for SQL statements.
Optionally extendsStatisticsResultby fetch duration for the result set and result set size. - StatementStatisticsResult() - Constructor for class org.tentackle.dbms.StatementStatisticsResult
-
Creates a statement statistics result.
- StatementTraceException - Exception Class in org.tentackle.dbms
-
Statement trace exception.
Not a real exception. - StatementTraceException(Session) - Constructor for exception class org.tentackle.dbms.StatementTraceException
-
Creates a trace exception.
- StatementTracer - Class in org.tentackle.dbms
-
On demand SQL statement tracer.
Primarily used to trace usage of certain SQL statements on demand at runtime. - StatementTracer() - Constructor for class org.tentackle.dbms.StatementTracer
-
Creates the tracer.
- StatementWrapper - Class in org.tentackle.dbms
-
A wrapper for sql statements.
Will catch and report SQLExceptions and keep track of being used only once afterDb.createStatement(). - StatementWrapper(ManagedConnection, Statement) - Constructor for class org.tentackle.dbms.StatementWrapper
-
Creates a wrapper for a sql statement.
- stmt - Variable in class org.tentackle.dbms.StatementWrapper
-
the sql statement, null if closed.
- stop() - Method in class org.tentackle.dbms.rmi.RmiServer
-
Stops the server.
- stopCleanupThread() - Static method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Stops the cleanup thread.
- sync() - Method in class org.tentackle.dbms.prefs.DbPreferences
- systemNodeForPackage(Class) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
- systemRoot() - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
T
- TABLE_BASED - Static variable in class org.tentackle.dbms.DefaultIdSourceConfigurator
-
table-based id source.
- tableName - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
database table name.
- tableSerial() - Method in record class org.tentackle.dbms.rmi.DbObjectResult
-
Returns the value of the
tableSerialrecord component. - TableSerialExpirationBacklog - Class in org.tentackle.dbms
-
Keeps a backlog of expiration sets.
- TableSerialExpirationBacklog(String) - Constructor for class org.tentackle.dbms.TableSerialExpirationBacklog
-
Creates a backlog with a default size.
- TableSerialExpirationBacklog(String, int) - Constructor for class org.tentackle.dbms.TableSerialExpirationBacklog
-
Creates a backlog.
- TableSerialHistory - Class in org.tentackle.dbms
-
Keeps track of all committed or rolled back deletions, updates or inserts in memory.
Applies to entities with a tableserial.
When loading the tableserials from the database viaAbstractDbObject.selectExpiredTableSerials(long, long), gaps will be present for deletions, rolled back updates or inserts and PDOs updated more than once since the last query. - TableSerialHistory() - Constructor for class org.tentackle.dbms.TableSerialHistory
-
Creates the history singleton with a default size.
- TableSerialHistory(int) - Constructor for class org.tentackle.dbms.TableSerialHistory
-
Creates the history singleton.
- terminateHelperThreads() - Method in class org.tentackle.dbms.DbSessionUtilities
- TIMEOUT - Static variable in class org.tentackle.dbms.rmi.RmiServer
-
The property key for the session timeout count.
- TIMEOUT_INTERVAL - Static variable in class org.tentackle.dbms.rmi.RmiServer
-
The property key for the session timeout interval units in milliseconds.
- timeToReconnect() - Method in class org.tentackle.dbms.DefaultReconnectionPolicy
- toDiagnosticString() - Method in class org.tentackle.dbms.ManagedConnection
-
Creates a diagnostic string.
- toExternal() - Method in enum class org.tentackle.dbms.DbModificationType
- toGenericString() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the string value: "<className>[id/serial]".
- toIdString() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the ID string: "classId:id".
The ID string describes the PDO by its classId and object-ID. - toInternal(Character) - Static method in interface org.tentackle.dbms.ModificationType
-
Converts an external character value to a
ModificationType. - toInternalImpl(Character) - Static method in enum class org.tentackle.dbms.DbModificationType
-
Maps a character value to a modification type.
- toList(Class) - Method in class org.tentackle.dbms.ResultSetWrapper
-
Retrieves a list of DTOs from this resultset.
- toString() - Method in class org.tentackle.dbms.AbstractDbObject
-
Gets the default string value.
The default implementation invokesAbstractDbObject.toGenericString(). - toString() - Method in class org.tentackle.dbms.AbstractIdSource
- toString() - Method in class org.tentackle.dbms.Db
- toString() - Method in class org.tentackle.dbms.DbModification
- toString() - Method in record class org.tentackle.dbms.DbObjectClassVariables.ForeignReference
-
Returns a string representation of this record class.
- toString() - Method in class org.tentackle.dbms.DbObjectClassVariables
- toString() - Method in class org.tentackle.dbms.DbOperationClassVariables
- toString() - Method in class org.tentackle.dbms.DbPool
- toString() - Method in class org.tentackle.dbms.DbTransaction
- toString() - Method in record class org.tentackle.dbms.DbTransactionHandle
-
Returns a string representation of this record class.
- toString() - Method in class org.tentackle.dbms.DefaultConnectionManager
- toString() - Method in class org.tentackle.dbms.DefaultReconnectionPolicy
- toString() - Method in class org.tentackle.dbms.ManagedConnection
- toString() - Method in class org.tentackle.dbms.ModificationLog
- toString() - Method in class org.tentackle.dbms.PooledDb
- toString() - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Returns the string representation of this node.
- toString() - Method in class org.tentackle.dbms.prefs.DbPreferencesKey
- toString() - Method in class org.tentackle.dbms.prefs.DbPreferencesNode
- toString() - Method in class org.tentackle.dbms.PreparedStatementWrapper
- toString() - Method in class org.tentackle.dbms.ResultSetWrapper
- toString() - Method in record class org.tentackle.dbms.rmi.DbObjectResult
-
Returns a string representation of this record class.
- toString() - Method in record class org.tentackle.dbms.rmi.DefaultMasterSerial
-
Returns a string representation of this record class.
- toString() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
- toString() - Method in class org.tentackle.dbms.rmi.RemoteDelegateImpl
- toString() - Method in class org.tentackle.dbms.StatementHistory
- toString() - Method in class org.tentackle.dbms.StatementId
- toString() - Method in class org.tentackle.dbms.StatementKey
- toString() - Method in class org.tentackle.dbms.StatementStatistics
- toString() - Method in class org.tentackle.dbms.StatementStatisticsResult
- toString() - Method in class org.tentackle.dbms.StatementWrapper
- toString() - Method in class org.tentackle.dbms.TableSerialExpirationBacklog
- toString() - Method in class org.tentackle.dbms.TransactionStatisticsResult
- trace(StatementWrapper) - Method in class org.tentackle.dbms.StatementTracer
-
Checks a statement whether it should be traced.
If so, the stacktrace is remembered in the statement.
If the optional logging level is set, the statement will be immediately logged. - transaction(String, Provider) - Method in class org.tentackle.dbms.Db
- transaction(Provider) - Method in class org.tentackle.dbms.Db
- TransactionStatistics - Class in org.tentackle.dbms
-
Transaction statistics collector.
- TransactionStatistics() - Constructor for class org.tentackle.dbms.TransactionStatistics
-
Creates a new statistics object.
- TransactionStatisticsResult - Class in org.tentackle.dbms
-
Statistics result for transactions.
ExtendsStatisticsResultby number of statements. - TransactionStatisticsResult() - Constructor for class org.tentackle.dbms.TransactionStatisticsResult
-
Creates a statement statistics result.
- TX_DELETE_LIST - Static variable in class org.tentackle.dbms.AbstractDbObject
-
transaction name: delete a list of objects
- TX_DELETE_MISSING_IN_LIST - Static variable in class org.tentackle.dbms.AbstractDbObject
-
transaction name: delete missing in a list of objects
- TX_DELETE_OBJECT - Static variable in class org.tentackle.dbms.AbstractDbObject
-
transaction name: delete object
- TX_DUMMY_UPDATE - Static variable in class org.tentackle.dbms.AbstractDbObject
-
transaction name: dummy update
- TX_INSERT_OBJECT - Static variable in class org.tentackle.dbms.AbstractDbObject
-
transaction name: insert object
- TX_INSERT_PLAIN - Static variable in class org.tentackle.dbms.AbstractDbObject
-
transaction name: insert plain
- TX_SAVE - Static variable in class org.tentackle.dbms.AbstractDbObject
-
transaction name: saveObject
- TX_SAVE_LIST - Static variable in class org.tentackle.dbms.AbstractDbObject
-
transaction name: saveObject list
- TX_SYNC - Static variable in class org.tentackle.dbms.AbstractDbObject
-
transaction name: sync
- TX_UPDATE_OBJECT - Static variable in class org.tentackle.dbms.AbstractDbObject
-
transaction name: update object
- TX_UPDATE_PLAIN - Static variable in class org.tentackle.dbms.AbstractDbObject
-
transaction name: update plain
- TX_UPDATE_SERIAL - Static variable in class org.tentackle.dbms.AbstractDbObject
-
transaction name: update serial
- TX_UPDATE_SERIAL_AND_TABLESERIAL - Static variable in class org.tentackle.dbms.AbstractDbObject
-
transaction name: update serial and tableserial
- TX_UPDATE_TABLESERIAL - Static variable in class org.tentackle.dbms.AbstractDbObject
-
transaction name: update tableserial
- txId() - Method in record class org.tentackle.dbms.DbTransactionHandle
-
Returns the value of the
txIdrecord component. - txVoucher - Variable in class org.tentackle.dbms.ModificationLog.ReplayState
-
transaction voucher.
U
- unConCount - Variable in class org.tentackle.dbms.MpxConnectionManager
-
number of entries in unConList.
- unConList - Variable in class org.tentackle.dbms.MpxConnectionManager
-
free list for unattached connections.
- unExportMe() - Method in interface org.tentackle.dbms.rmi.Exportable
-
Un-exports this remote object.
- unExportMe() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
- unExportRemoteDelegate(RemoteDelegate) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Un-exports given remote delegate.
- unexportRemoteObject(Remote) - Method in class org.tentackle.dbms.rmi.RemoteDbConnectionImpl
-
Un-exports the given remote object.
- unlockInternal(long) - Method in class org.tentackle.dbms.DbModificationTracker
- unmarkDeleted() - Method in class org.tentackle.dbms.AbstractDbObject
-
Removes the deleted mark.
- unmarkReady() - Method in class org.tentackle.dbms.StatementWrapper
-
Un-marks (consumes) this statement previously marked ready.
- unregisterCloseHandler(SessionCloseHandler) - Method in class org.tentackle.dbms.Db
- unregisterGlobalCloseHandler(SessionCloseHandler) - Static method in class org.tentackle.dbms.Db
-
Unregisters a global close handler.
- unregisterGlobalCloseHandler(SessionCloseHandler) - Method in class org.tentackle.dbms.DbFactory
- unregisterPersistenceVisitor(DbTransactionHandle) - Method in class org.tentackle.dbms.Db
-
Unregisters a
PersistenceVisitor. - unregisterPersistenceVisitor(DbTransactionHandle) - Method in class org.tentackle.dbms.DbTransaction
-
Unregisters a
PersistenceVisitor. - unregisterPersistenceVisitor(DbTransactionHandle) - Method in interface org.tentackle.dbms.rmi.DbRemoteDelegate
- unregisterPersistenceVisitor(DbTransactionHandle) - Method in class org.tentackle.dbms.rmi.DbRemoteDelegateImpl
- unUse(Db) - Method in class org.tentackle.dbms.PooledDb
-
Marks a pooled db unused.
- UPDATE - Enum constant in enum class org.tentackle.dbms.DbModificationType
- updateAndSetSerial(long, long) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- updateAndSetSerial(long, long) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- updateAndSetSerialStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for updateSerial(long).
- updateByObjectTypeSerial(Timestamp, int, long, ModificationType, long) - Method in class org.tentackle.dbms.ModificationLog
-
Updates the processing timestamp by objectclass + objectid + serial less or equal than some value.
Used to mark modlogs already processed for a given object. - updateByObjectTypeSerial(Timestamp, int, long, ModificationType, long) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- updateByObjectTypeSerial(Timestamp, int, long, ModificationType, long) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- updateDiagnostics(Timestamp, String) - Method in class org.tentackle.dbms.ModificationLog
-
Updates the processing timestamp and adds a comment to the message field.
- updateDiagnostics(Timestamp, String, ModificationLog) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- updateDiagnostics(Timestamp, String, ModificationLog) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- updateImpl(DbObjectClassVariables, SqlSupplier) - Method in class org.tentackle.dbms.AbstractDbObject
-
Update implementation.
- updateMDC() - Method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Updates the
MappedDiagnosticContextwith the session data. - updateObject() - Method in class org.tentackle.dbms.AbstractDbObject
-
Updates this object to the database.
The modified attribute gets cleared if the insert was successful. - updateObject(P) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- updateObject(P) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- updatePersistentKey(DbPreferencesKey) - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Updates the persistent key.
- updatePersistentNode(DbPreferencesNode) - Method in class org.tentackle.dbms.prefs.DbPreferences
-
Updates the persistent node.
- updatePlain() - Method in class org.tentackle.dbms.AbstractDbObject
-
Updates this object to the database without any further processing.
No prepareSetFields, linked objects, mod counting, logging, etc... - updatePlain(P) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- updatePlain(P) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- updateProcessed(Timestamp) - Method in class org.tentackle.dbms.ModificationLog
-
Updates the processing timestamp.
- updateProcessed(Timestamp, ModificationLog) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- updateProcessed(Timestamp, ModificationLog) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- updateRepository(Db, long, long) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
-
Updates the repository.
Invoked whenever the data in prefnode or prefkey has changed. - updateSerial() - Method in class org.tentackle.dbms.AbstractDbObject
-
Updates and increments the serial number of this object.
The method is provided to update an object with isModified() == true and 'modified' == false, i.e., an object that itself is not modified but some of its components. - updateSerial(long) - Method in class org.tentackle.dbms.AbstractDbObject
-
Updates and sets the serial number of this object.
Caution: this is a low-level method provided to fix the serial if it is wrong for whatever reason. - updateSerial(long, long) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- updateSerial(long, long) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- updateSerialAndTableSerial() - Method in class org.tentackle.dbms.AbstractDbObject
-
Same as
AbstractDbObject.updateSerial()but updates tableSerial as well. - updateSerialAndTableSerial(long, long, long) - Method in interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
- updateSerialAndTableSerial(long, long, long) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
- updateSerialAndTableSerialStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for updateSerialAndTableSerial().
- updateSerialStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for updateSerial().
- updateStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for update().
- updateTableSerialStatementId - Variable in class org.tentackle.dbms.DbObjectClassVariables
-
prepared statement ID for updateTableSerial().
- updateThreadLocal() - Method in class org.tentackle.dbms.rmi.RemoteDelegateInvocationHandler
-
Updates the thread-local memory.
- updateUnprocessedByTxId(Timestamp, long) - Method in class org.tentackle.dbms.ModificationLog
-
Updates the processing timestamp of a transaction for all unprocessed modlogs.
- updateUnprocessedByTxId(Timestamp, long) - Method in interface org.tentackle.dbms.rmi.ModificationLogRemoteDelegate
- updateUnprocessedByTxId(Timestamp, long) - Method in class org.tentackle.dbms.rmi.ModificationLogRemoteDelegateImpl
- use(Thread) - Method in class org.tentackle.dbms.PooledDb
-
Marks a pooled db used.
- usedMinutes(long) - Method in class org.tentackle.dbms.PooledDb
-
Returns the number of minutes the session has been used at all.
- userNodeForPackage(Class) - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
- userRoot() - Method in class org.tentackle.dbms.prefs.DbPreferencesFactory
V
- validate(P) - Method in class org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegateImpl
-
Validates the object before it is saved.
The default implementation does nothing. - value() - Method in class org.tentackle.dbms.StatementId
-
Gets the value of the id.
- valueOf(String) - Static method in enum class org.tentackle.dbms.DbModificationType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.tentackle.dbms.DbModificationType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifyConnection() - Method in class org.tentackle.dbms.ManagedConnection
-
Checks whether the connection is still valid.
- verifySessionInfo(SessionInfo) - Method in class org.tentackle.dbms.rmi.RemoteDbSessionImpl
-
Verifies and updates the client's session info.
Needs to be implemented by the application.
Checks login credentials and sets the user id. - verifySessions() - Method in class org.tentackle.dbms.rmi.RemoteDbSessionCleanupThread
-
Verifies and cleans up the sessions.
- visit(AbstractDbObject, Character) - Method in class org.tentackle.dbms.IgnoreDuplicatesPersistenceVisitor
-
Visits all objects.
W
- warnOpenMillis - Static variable in class org.tentackle.dbms.ResultSetWrapper
-
Enables a warning logging if result sets are longer open than given milliseconds.
0 to disable (default).
Useful to detect unexpected database write locks or programming errors when result sets are kept open for a long time (consuming an attached connection), for example, due to expensive processing while reading the result set. - wasNull() - Method in class org.tentackle.dbms.ResultSetWrapper
-
Reports whether the last column read had a value of SQL
NULL. - write(byte[]) - Method in interface org.tentackle.dbms.rmi.OutputStreamRemoteDelegate
-
Writes bytes to a stream.
- write(byte[]) - Method in class org.tentackle.dbms.rmi.OutputStreamRemoteDelegateImpl
- write(byte[], int, int) - Method in class org.tentackle.dbms.rmi.RemoteOutputStream
- write(int) - Method in class org.tentackle.dbms.rmi.RemoteOutputStream
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form