Package | Description |
---|---|
org.sormula |
Fundamental classes.
|
org.sormula.active |
An implementation of the
active record pattern built on top of sormula.
|
org.sormula.active.operation |
Thread-safe and transaction-compliant database operations used by
ActiveTable . |
org.sormula.operation.cascade.lazy |
Implementation of lazy loading.
|
Modifier and Type | Method and Description |
---|---|
Database |
Table.getDatabase()
Gets the database supplied in constructor.
|
Constructor and Description |
---|
CachedTable(Database database,
java.lang.Class<R> rowClass) |
Table(Database database,
java.lang.Class<R> rowClass)
Constructs for a database and the class that used for row objects.
|
Modifier and Type | Method and Description |
---|---|
void |
ActiveRecord.pendingLazySelects(Database database)
Informs a lazy selector that there are lazy selects to be performed.
|
Modifier and Type | Class and Description |
---|---|
class |
OperationDatabase
Database for one transaction within an ActiveOperation . |
Modifier and Type | Method and Description |
---|---|
Database |
AbstractLazySelector.getDatabase()
Gets the database to use for lazy select.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleLazySelector.pendingLazySelects(Database database)
Saves reference to database for use in future lazy selects.
|
void |
LazySelectable.pendingLazySelects(Database database)
Informs a lazy selector that there are lazy selects to be performed.
|
void |
DurableLazySelector.pendingLazySelects(Database database)
DataSource and schema are obtained from database parameter. |
void |
AbstractLazySelector.pendingLazySelects(Database database)
Notifies selector that at least one field has lazy select to be performed.
|
void |
AbstractLazySelector.setDatabase(Database database)
Sets the database to use for lazy selects.
|