Class DerbyDBTransaction

  • All Implemented Interfaces:
    DBTransactionMBean, Transaction, TransactionMBean

    @Deprecated
    public final class DerbyDBTransaction
    extends DBTransaction
    Deprecated.
    The DerbyDBTransaction class implements an atomic storage through a Derby embedded database. This class is now deprecated and should be replaced by JDBCTransaction that implements a generic Transaction component on top of JDBC.
    See Also:
    Transaction
    • Field Detail

      • driver

        private String driver
        Deprecated.
      • connurl

        private String connurl
        Deprecated.
    • Constructor Detail

      • DerbyDBTransaction

        public DerbyDBTransaction()
        Deprecated.
    • Method Detail

      • connectDB

        protected void connectDB()
                          throws IOException
        Deprecated.
        Description copied from class: DBTransaction
        This method try to reconnect to the database, it is used in case of failure during commit. Be careful, unless a connection pool is used, we need to recreate the prepared statement.
        Specified by:
        connectDB in class DBTransaction
        Throws:
        IOException - The reconnection has failed.