@Deprecated public final class DerbyDBTransaction extends DBTransaction
Transaction
AbstractTransaction.Context
Modifier and Type | Field and Description |
---|---|
private String |
connurl
Deprecated.
|
private String |
driver
Deprecated.
|
badinserts, badupdates, conn, connectRetryCount, connectRetryMaxPeriod, connectRetryMinDelay, DB_TRANSACTION_PREFIX, dbclose, dbdelete, dbinsert, dbload, dbtable, dbupdate, DFLT_TABLE_PREFIX, JDBC_CONNECT_RETRY_COUNT_DFLT, JDBC_CONNECT_RETRY_MAX_PERIOD_DFLT, JDBC_CONNECT_RETRY_MIN_DELAY_DFLT, LogThresholdOperation, nbdeletes, nbinserts, nbnoop, nbupdates, TABLE_NAME_PROP
dir, OOS_STREAM_HEADER, perThreadContext, phase, startTime
logmon
Constructor and Description |
---|
DerbyDBTransaction()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
connectDB()
Deprecated.
This method try to reconnect to the database, it is used in case of failure during commit.
|
protected void |
initDB()
Deprecated.
Instantiates the database driver and creates the table if necessary
|
backup, close, commit, delete, dumpProperties, dumpProperties, fname, getBadInserts, getBadUpdates, getCommitBytes, getCommitCount, getDBCloseStatement, getDBDeleteStatement, getDBInsertStatement, getDBLoadStatement, getDBTableName, getDBUpdateStatement, getFromLog, getList, getLogThresholdOperation, getNbDeletes, getNbInserts, getNbUpdates, getObject, getObjectList, getPersistenceDir, initRepository, loadAll, loadByteArray, saveInLog, setPhase, stop, useLoadAll
begin, containsOperations, create, create, createByteArray, createByteArray, delete, getOperationCount, getPhase, getPhaseInfo, getStartTime, init, isPersistent, load, load, loadByteArray, loadFromByteArray, release, save, save, save, saveByteArray, saveByteArray, saveByteArray
freeze, getBoolean, getInteger, getInteger, getProperty, getProperty, loadProperties, saveProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPhase, getPhaseInfo
getStartTime, isPersistent
protected void initDB() throws IOException
DBTransaction
initDB
in class DBTransaction
IOException
- an error occurs.protected void connectDB() throws IOException
DBTransaction
connectDB
in class DBTransaction
IOException
- The reconnection has failed.Copyright © 2023 ScalAgent D.T.. All rights reserved.