API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.persistance. JOTTransaction View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
 Object
      JOTTransaction
Implements
Subclasses
Description
publicfinal class JOTTransaction
This is used to run multiple DB queries in a transaction Note that once either commit() or roollback() have been called, this transaction is considered completet and can't be used anymore (will throw JOTTransactionCompltedException)
See also:   
Constructors
private JOTTransaction ()
public JOTTransaction (String storageName) throws Exception
Methods
Hide/Show inherited methods
public void addCreatedTable (String tableName)
public void commit () throws Exception
public void finalyze () throws Throwable
public JOTTaggedConnection getConnection ()
public boolean hasCreatedTable (String tableName)
public void rollBack () throws Exception
public void setTransactionIsolation (int isolation) throws Exception
public void terminate ()
  This will terminate the transaction and free resources In theory you should not need to call this, since commit() and rollback() will call it.
Fields
Hide/Show inherited fields
pack-private Vector createdTables
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar