Class DatabaseConnectionPerTransaction

java.lang.Object
de.dfki.sds.aticsqlite.DatabaseConnectionPerTransaction
All Implemented Interfaces:
Database, AutoCloseable, org.apache.jena.sparql.core.Transactional

@Deprecated public class DatabaseConnectionPerTransaction extends Object implements Database
Deprecated.
use DatabaseConnectionPool
  • Constructor Details

    • DatabaseConnectionPerTransaction

      public DatabaseConnectionPerTransaction(DatabaseOptions options)
      Deprecated.
  • Method Details

    • emptyIterator

      public TransactionalNullIterator emptyIterator()
      Deprecated.
      Specified by:
      emptyIterator in interface Database
    • enableQueryLogger

      public void enableQueryLogger(String dbFilePath)
      Deprecated.
      Specified by:
      enableQueryLogger in interface Database
    • disableQueryLogger

      public void disableQueryLogger()
      Deprecated.
      Specified by:
      disableQueryLogger in interface Database
    • read

      public <T> T read(String sql, ResultSetMapper<T> resultSetMapper, Object... params) throws SQLException
      Deprecated.
      Specified by:
      read in interface Database
      Throws:
      SQLException
    • read

      public TransactionalResultSet read(String sql, Object... params) throws SQLException
      Deprecated.
      Specified by:
      read in interface Database
      Throws:
      SQLException
    • write

      public void write(String sql, Object... params) throws SQLException
      Deprecated.
      Specified by:
      write in interface Database
      Throws:
      SQLException
    • writeQuery

      public void writeQuery(String sqlQueryResource, Object... params) throws SQLException
      Deprecated.
      Specified by:
      writeQuery in interface Database
      Throws:
      SQLException
    • writeReturningId

      public long writeReturningId(String sql, Object... params) throws SQLException
      Deprecated.
      Specified by:
      writeReturningId in interface Database
      Throws:
      SQLException
    • writeBatch

      public void writeBatch(String sql, List<Object[]> batchParams, int batchSize) throws SQLException
      Deprecated.
      Specified by:
      writeBatch in interface Database
      Throws:
      SQLException
    • writeBatchReturningId

      public List<Long> writeBatchReturningId(String sql, List<Object[]> batchParams, int batchSize) throws SQLException
      Deprecated.
      Specified by:
      writeBatchReturningId in interface Database
      Throws:
      SQLException
    • begin

      public void begin(org.apache.jena.query.TxnType type)
      Deprecated.
      Specified by:
      begin in interface org.apache.jena.sparql.core.Transactional
    • promote

      public boolean promote(org.apache.jena.sparql.core.Transactional.Promote mode)
      Deprecated.
      Specified by:
      promote in interface org.apache.jena.sparql.core.Transactional
    • commit

      public void commit()
      Deprecated.
      Specified by:
      commit in interface org.apache.jena.sparql.core.Transactional
    • abort

      public void abort()
      Deprecated.
      Specified by:
      abort in interface org.apache.jena.sparql.core.Transactional
    • end

      public void end()
      Deprecated.
      Specified by:
      end in interface org.apache.jena.sparql.core.Transactional
    • transactionMode

      public org.apache.jena.query.ReadWrite transactionMode()
      Deprecated.
      Specified by:
      transactionMode in interface org.apache.jena.sparql.core.Transactional
    • transactionType

      public org.apache.jena.query.TxnType transactionType()
      Deprecated.
      Specified by:
      transactionType in interface org.apache.jena.sparql.core.Transactional
    • isInTransaction

      public boolean isInTransaction()
      Deprecated.
      Specified by:
      isInTransaction in interface org.apache.jena.sparql.core.Transactional
    • getFolder

      public File getFolder()
      Deprecated.
      Specified by:
      getFolder in interface Database
    • getConnectionHashCode

      public long getConnectionHashCode()
      Deprecated.
    • isInTransaction

      public boolean isInTransaction(long transactionId)
      Deprecated.
      Specified by:
      isInTransaction in interface Database
    • close

      public void close() throws Exception
      Deprecated.
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception