|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SormulaException | |
---|---|
org.sormula | Fundamental classes. |
org.sormula.active.operation | Thread-safe and transaction-compliant database operations used by ActiveTable . |
org.sormula.operation | Classes that perform SQL operations such as select, update, insert, delete. |
org.sormula.operation.cascade.lazy | Implementation of lazy loading. |
org.sormula.reflect | Classes for performing Java reflection operations. |
org.sormula.translator | Classes that provide mapping between columns and Java class members. |
Uses of SormulaException in org.sormula |
---|
Methods in org.sormula that throw SormulaException | ||
---|---|---|
void |
Transaction.begin()
Starts the transaction. |
|
void |
Transaction.commit()
Commits the transaction by invoking Connection.commit() . |
|
int |
Table.delete(java.lang.Object... parameters)
Deletes by primary key. |
|
int |
Table.delete(R row)
Deletes by primary key. |
|
int |
Table.deleteAll()
Deletes all rows in table. |
|
int |
Table.deleteAll(java.util.Collection<R> rows)
Deletes many rows by primary key. |
|
int |
Table.deleteAllBatch(java.util.Collection<R> rows)
Deletes many rows by primary key in batch mode. |
|
|
Database.getTable(java.lang.Class<R> rowClass)
Gets table object for reading/writing row objects of type R from/to table. |
|
|
Database.getTable(java.lang.Class<R> rowClass,
boolean create)
Gets table object for reading/writing row objects of type R from/to table. |
|
protected void |
Database.init(java.sql.Connection connection,
java.lang.String schema)
Invoked by constructor to initialize. |
|
protected Transaction |
Database.initTransaction(java.sql.Connection connection)
Contructs a transaction to use. |
|
protected void |
Table.initTypeTranslatorMap()
Initializes type translators for table. |
|
protected void |
Database.initTypeTranslatorMap()
Invoked by constructor to initialize default type translators and type translators annotated on Database class. |
|
int |
Table.insert(R row)
Inserts one row into table. |
|
int |
Table.insertAll(java.util.Collection<R> rows)
Inserts collection of rows. |
|
int |
Table.insertAllBatch(java.util.Collection<R> rows)
Inserts a collection of rows in batch mode. |
|
R |
Table.newRow()
Creates new instance of row. |
|
void |
Transaction.rollback()
Aborts the transaction by invoking Connection.rollback() . |
|
int |
Table.save(R row)
Uses SaveOperation to update an existing row or insert row if it
is not already in database. |
|
int |
Table.saveAll(java.util.Collection<R> rows)
Uses SaveOperation to update an existing rows or insert rows if they
are not already in database. |
|
R |
Table.select(java.lang.Object... primaryKeys)
Selects one row in table using primary key. |
|
java.util.List<R> |
Table.selectAll()
Selects all rows in table. |
|
java.util.List<R> |
Table.selectAllCustom(java.lang.String customSql,
java.lang.Object... parameters)
Select list of rows using custom sql. |
|
java.util.List<R> |
Table.selectAllWhere(java.lang.String whereConditionName,
java.lang.Object... parameters)
Selects list of rows for where condition and parameters. |
|
java.util.List<R> |
Table.selectAllWhereOrdered(java.lang.String whereConditionName,
java.lang.String orderByName,
java.lang.Object... parameters)
Selects list of rows for where condition and parameters. |
|
|
Table.selectAvg(java.lang.String expression)
Selects average value. |
|
|
Table.selectAvg(java.lang.String expression,
java.lang.String whereConditionName,
java.lang.Object... parameters)
Selects average value. |
|
int |
Table.selectCount()
Gets count of all rows in table. |
|
|
Table.selectCount(java.lang.String expression)
Selects count of rows. |
|
int |
Table.selectCount(java.lang.String whereConditionName,
java.lang.Object... parameters)
Selects count for a subset of rows. |
|
|
Table.selectCount(java.lang.String expression,
java.lang.String whereConditionName,
java.lang.Object... parameters)
Selects count of rows. |
|
R |
Table.selectCustom(java.lang.String customSql,
java.lang.Object... parameters)
Selects one row using custom sql. |
|
|
Table.selectMax(java.lang.String expression)
Selects maximum value. |
|
|
Table.selectMax(java.lang.String expression,
java.lang.String whereConditionName,
java.lang.Object... parameters)
Selects maximum value. |
|
|
Table.selectMin(java.lang.String expression)
Selects minimum value. |
|
|
Table.selectMin(java.lang.String expression,
java.lang.String whereConditionName,
java.lang.Object... parameters)
Selects minimum value. |
|
|
Table.selectSum(java.lang.String expression)
Selects sum. |
|
|
Table.selectSum(java.lang.String expression,
java.lang.String whereConditionName,
java.lang.Object... parameters)
Selects sum. |
|
R |
Table.selectWhere(java.lang.String whereConditionName,
java.lang.Object... parameters)
Selects one row for where condition and parameters. |
|
int |
Table.update(R row)
Updates one row in table by primary key. |
|
int |
Table.updateAll(java.util.Collection<R> rows)
Updates collection of rows using primary key. |
|
int |
Table.updateAllBatch(java.util.Collection<R> rows)
Updates collection of rows using primary key in batch mode. |
Constructors in org.sormula that throw SormulaException | |
---|---|
Database(javax.sql.DataSource dataSource)
Constructs for no schema. |
|
Database(javax.sql.DataSource dataSource,
java.lang.String schema)
Constructs for schema. |
|
Database(java.lang.String dataSourceName)
Constructs for JNDI name and no schema. |
|
Database(java.lang.String dataSourceName,
java.lang.String schema)
Constructs for JNDI name and schema. |
|
Table(Database database,
java.lang.Class<R> rowClass)
Constructs for a database and the class that used for row objects. |
Uses of SormulaException in org.sormula.active.operation |
---|
Methods in org.sormula.active.operation that throw SormulaException | ||
---|---|---|
|
OperationDatabase.getTable(java.lang.Class<R> rowClass)
Gets table object for reading/writing row objects of type R from/to table. Cascade operations for Table |
Constructors in org.sormula.active.operation that throw SormulaException | |
---|---|
OperationTable(OperationDatabase operationDatabase,
java.lang.Class<R> rowClass)
Constructs for an operation database and class or record. |
Uses of SormulaException in org.sormula.operation |
---|
Subclasses of SormulaException in org.sormula.operation | |
---|---|
class |
OperationException
Exception that originates in the operation package. |
Constructors in org.sormula.operation that throw SormulaException | |
---|---|
FullDelete(Table<R> table)
Deprecated. Constructs for a Table to delete by primary key. |
|
FullDelete(Table<R> table,
java.lang.String whereConditionName)
Deprecated. Constructs for a Table . |
|
FullInsert(Table<R> table)
Deprecated. Constructs for a Table to insert into table. |
|
FullListSelect(Table<R> table)
Deprecated. Constructs for a Table to select all rows in table. |
|
FullListSelect(Table<R> table,
java.lang.String whereConditionName)
Deprecated. Constructs for a Table to select by a where condition. |
|
FullListSelect(Table<R> table,
java.lang.String whereConditionName,
java.lang.String orderByName)
Deprecated. Constructs for a Table to select by a where condition, and order by order condition. |
|
FullSave(Table<R> table)
Deprecated. Constructs for a Table to insert new rows and update exitsting rows by primary key. |
|
FullSave(Table<R> table,
java.lang.String whereConditionName)
Deprecated. Constructs for a Table to insert new rows and update exitsting rows by
using where condition. |
|
FullScalarSelect(Table<R> table)
Deprecated. Constructs for a Table to select by primary key. |
|
FullScalarSelect(Table<R> table,
java.lang.String whereConditionName)
Deprecated. Constructs for a Table to select by a where condition. |
|
FullUpdate(Table<R> table)
Deprecated. Constructs for a Table to update by primary key. |
|
FullUpdate(Table<R> table,
java.lang.String whereConditionName)
Deprecated. Constructs for a Table . |
Uses of SormulaException in org.sormula.operation.cascade.lazy |
---|
Methods in org.sormula.operation.cascade.lazy that throw SormulaException | |
---|---|
protected void |
AbstractLazySelector.begin()
Starts a transaction for AbstractLazySelector.lazySelect(Field) . |
protected void |
AbstractLazySelector.commit()
Commits the transaction for AbstractLazySelector.lazySelect(Field) . |
protected void |
AbstractLazySelector.rollback()
Rolls back the transaction for AbstractLazySelector.lazySelect(Field) . |
Uses of SormulaException in org.sormula.reflect |
---|
Subclasses of SormulaException in org.sormula.reflect | |
---|---|
class |
ReflectException
Exception that originates in the reflect package. |
Uses of SormulaException in org.sormula.translator |
---|
Subclasses of SormulaException in org.sormula.translator | |
---|---|
class |
NoColumnTranslatorException
Failed column translator lookup exception. |
class |
NoTypeTranslatorException
No type translator defined. |
class |
TranslatorException
Exception that originates in the translator package. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |