Package | Description |
---|---|
org.sormula |
Fundamental classes.
|
org.sormula.active.operation |
Thread-safe and transaction-compliant database operations used by
ActiveTable . |
org.sormula.cache |
Fundamental classes used to implement caching that is specified by
Cached.type() . |
org.sormula.cache.writable |
The abstract
WritableCache and supporting classes that are
used for implementing a cache that writes rows to the database. |
Modifier and Type | Class and Description |
---|---|
class |
NoOpTransaction
|
Modifier and Type | Method and Description |
---|---|
Transaction |
Database.getTransaction()
Gets transaction for connection.
|
protected Transaction |
Database.initTransaction(java.sql.Connection connection)
Constructs a transaction to use.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionListener.begin(Transaction transaction)
Indicates start of transaction.
|
void |
Table.begin(Transaction transaction)
TransactionListener.begin(Transaction) implementation. |
void |
TransactionListener.commit(Transaction transaction)
Indicates that transaction is completing normally.
|
void |
Table.commit(Transaction transaction)
TransactionListener.commit(Transaction) implementation. |
void |
TransactionListener.rollback(Transaction transaction)
Indicates that transaction is completing normally.
|
void |
Table.rollback(Transaction transaction)
TransactionListener.rollback(Transaction) implementation. |
void |
Database.setTransaction(Transaction transaction)
Sets a custom implementation of
Transaction subclass. |
Modifier and Type | Class and Description |
---|---|
class |
OperationTransaction
A
Transaction for use by classes in org.sormula.active.operation package. |
Modifier and Type | Method and Description |
---|---|
void |
Cache.begin(Transaction transaction)
Notification of database transaction start.
|
void |
AbstractCache.begin(Transaction transaction)
Indicates start of database transaction.
|
void |
Cache.commit(Transaction transaction)
Notification of database transaction normal end.
|
void |
AbstractCache.commit(Transaction transaction)
Indicates database transaction commit.
|
void |
Cache.rollback(Transaction transaction)
Notification of database transaction abnormal end.
|
void |
AbstractCache.rollback(Transaction transaction)
Indicates database transaction rollback.
|
Modifier and Type | Method and Description |
---|---|
void |
WritableCache.commit(Transaction transaction)
Writes any uncommitted rows to database with
Object.wait() and then commits them
by invoking AbstractCache.commit(Transaction) . |