|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
DataSource
to be used by ActiveRecord
and related classes.ActiveOperation.operate()
on an active table.ActiveRecord
objects.ActiveDatabase
.
SelectOperation.createReadAllCollection()
.
SelectOperation.createReadAllCollection()
.
SelectOperation.createReadAllCollection()
.
ColumnsTranslator.read(ResultSet, int, Object)
and
ColumnsTranslator.write(PreparedStatement, int, Object)
.
ColumnTranslator
for a field.
Object.getClass()
.
ListSelectOperation
that uses ArrayList
for SelectOperation.readAll()
results.ActiveRecord.attach(ActiveDatabase)
.
ActiveRecord.attach(ActiveDatabase)
.
AbstractLazySelector.lazySelect(Field)
.
PreparedStatement.setBigDecimal(int, java.math.BigDecimal)
and ResultSet.getBigDecimal(int)
.Blob
object to a domain object for use by AbstractBlobColumnTranslator.read(ResultSet, int, Object)
.
PreparedStatement.setBoolean(int, boolean)
and ResultSet.getBoolean(int)
.PreparedStatement.setString(int, String)
and ResultSet.getString(int)
.TypeTranslator
that translates a boolean field using
PreparedStatement.setString(int, String)
and ResultSet.getString(int)
.PreparedStatement.setByte(int, byte)
and ResultSet.getByte(int)
.ElapsedTime.start()
and time paused with ElapsedTime.pause()
.
SqlOperation.prepareCascades()
.
Field.getGenericType()
and Field.getType()
when target class
is not specified (the default value of Object.class).
SelectCascade.lazy()
is true.
Transaction.isActive()
to false and restores auto commit to the original state.
CascadeOperation
objects for this operation.
AbstractLazySelector.checkLazySelects(String)
to close the Database
instance that
was used to perform the lazy selects.
Database
created with DurableLazySelector.openDatabase()
.
Database
from SimpleLazySelector.pendingLazySelects(Database)
is resued.
AbstractLazySelector.lazySelect(Field)
.
Connection.commit()
.
WhereField.comparisonOperator()
, aN is operand (typically "?"), and
boN is WhereField.booleanOperator()
CascadeOperation.cascadeOperationClass
supplied in the
constructor.
CascadeOperation.cascadeOperationClass
supplied in the
constructor.
CascadeOperation.cascadeOperationClass
supplied in the
constructor.
CascadeOperation.cascadeOperationClass
supplied in the
constructor.
OperationTime
instance with this database total time,
Database.getTotalOperationTime()
as the parent time.
ArrayList
to contain selected rows.
HashMap
to contain selected rows.
LinkedHashMap
to contain selected rows.
SelectOperation.readAll()
.
ActiveTable
for record class returned by ActiveRecord.getRecordClass()
.
SormulaField
from Field
.
Table
objects for reading/writing from/to database.PreparedStatement.setTimestamp(int, java.sql.Timestamp)
and ResultSet.getTimestamp(int)
for java.util.Date objects.Table.delete(Object)
Table.deleteAll(Collection)
and Table.deleteAll()
.Table.deleteAllBatch(Collection)
.Cascade
annotation to define a cascade delete operation.InsertOperation
.
PreparedStatement.setDouble(int, double)
and ResultSet.getDouble(int)
.DataSource
or data source name to create the
Database
when performing the lazy select.ActiveOperation.operate()
within a try/catch and transaction.
TypeTranslator
.ExplicitType
annotations from classes.ExplicitType
.Blob
for use by AbstractBlobColumnTranslator.write(PreparedStatement, int, Object)
.
PreparedStatement.setFloat(int, float)
and ResultSet.getFloat(int)
.ElapsedTime
into a standard format.
Table
to delete by primary key.
Table
.
Table
to insert into table.
ListSelectOperation
.
Table
to select all rows in table.
Table
to select by a where condition.
Table
to select by a where condition, and order by order condition.
Table
to insert new rows and update exitsting rows by primary key.
Table
to insert new rows and update exitsting rows by
using where condition.
Table
to select by primary key.
Table
to select by a where condition.
Table
to update by primary key.
Table
.
ActiveRecord.attach(ActiveDatabase)
.
SqlOperation.setCustomSql(String)
.
Database.Database(DataSource)
and
Database.Database(DataSource, String)
.
DataSource
from database used by DurableLazySelector.pendingLazySelects(Database)
.
DataSource
.
DataSource
.
Collection
C by SelectOperation.createReadAllCollection()
.
SelectCascade.lazy()
true.
Table.translateName(String)
.
PreparedStatement
to set parameters.
ActiveOperation.execute()
.
SqlOperation.setTimings(boolean)
have been enabled.
ScalarSelectOperation.setOrderBy(String)
.
OrderByTranslator
.
SqlOperation.setParameters(Object...)
.
SqlOperation.prepare()
.
ModifyOperation.execute()
.
ScalarSelectOperation.execute()
.
DurableLazySelector.pendingLazySelects(Database)
.
SelectOperation.readAll()
.
SormulaField
.
ScalarSelectOperation.getSql()
.
ActiveOperation.execute()
.
SormulaField
.
ElapsedTime.getFormattedTime()
and
ElapsedTime.getFormattedAverageTime()
.
Database.getTypeTranslator(Class)
but uses class name.
SqlOperation.setWhere(String)
GregorianCalendar
using PreparedStatement.setTimestamp(int, java.sql.Timestamp)
and ResultSet.getTimestamp(int)
.MapSelectOperation
that uses HashMap
for SelectOperation.readAll()
results.TypeTranslator
for a row field or row field class.ImplicitType
annotations from classes.SqlOperation.setBaseSql(String)
.
SqlOperation.setBaseSql(String)
.
SqlOperation.setBaseSql(String)
.
SqlOperation.setBaseSql(String)
.
SqlOperation.setBaseSql(String)
.
SqlOperation.setBaseSql(String)
.
Cascade
is annotated on source field.
Cascade
is annotated on source field.
Cascade
is annotated on source field.
Cascade
is annotated on source field.
Cascade
is annotated on source field.
Cascade
is annotated on source field.
Transient
and Cascade
annotations.
OneToManyCascade
is annotated on source field.
OneToManyCascade
is annotated on source field.
OneToManyCascade
is annotated on source field.
OneToManyCascade
is annotated on source field.
OneToManyCascade
is annotated on source field.
OneToManyCascade
is annotated on source field.
OneToOneCascade
is annotated on source field.
OneToOneCascade
is annotated on source field.
OneToOneCascade
is annotated on source field.
OneToOneCascade
is annotated on source field.
OneToOneCascade
is annotated on source field.
OneToOneCascade
is annotated on source field.
OperationTime
object that will record elapsed times for this operation.
RowTranslator
for use by this table.
Creates a RowTranslator
where ColumnsTranslator.read(ResultSet, int, Object)
and ColumnsTranslator.write(PreparedStatement, int, Object)
attach the active
database to the row using ActiveRecord.attach(ActiveDatabase)
.
RowTranslator
for use by this table.
Database
class.
UnusedColumns
annotations.
Table.insert(Object)
Table.insertAll(Collection)
.Table.insertAllBatch(Collection)
.Cascade
annotation to define a cascade insert operation.InsertOperation
.
ExplicitType
annotations from sources and adds them to
type map if they are not already defined.
ImplicitType
annotations from sources and adds them to
type map if they are not already defined.
PreparedStatement.setInt(int, int)
and ResultSet.getInt(int)
.Statement.getGeneratedKeys()
is used to read column defined as
identity and then sets the generated key value in the row.
Collection
inheritance.
SelectCascade.lazy()
true.
Map
inheritance.
ScalarSelectOperation.isLazySelectsCascades()
is true and row is instanceof LazySelectable
.
StandardNameTranslator.translate(String, Class)
.
SelectCascade.lazy()
is
true.
MapSelectOperation
that uses LinkedHashMap
for SelectOperation.readAll()
results.SelectOperation
that uses List
for SelectOperation.readAll()
results.Database.getOperationTimeMap()
to log.
PreparedStatement.setLong(int, long)
and ResultSet.getLong(int)
.String.toLowerCase()
.SelectOperation
that uses Map
for SelectOperation.readAll()
results.PreparedStatement.setObject(int, Object)
and ResultSet.getObject(int)
.AbstractLazySelector.checkLazySelects(String)
to create a Database
instance that will be used to
perform the lazy selects.
Database
from data source name or data source obtained in
DurableLazySelector.pendingLazySelects(Database)
.
Database
from SimpleLazySelector.pendingLazySelects(Database)
is resued.
ActiveOperation.execute()
to perform the operation.
Database
for one transaction within an ActiveOperation
.Table
for use by one transaction within an ActiveOperation
.SqlOperation
.OperationTime
.Transaction
for use by classes in org.sormula.active.operation package.OrderBy
annotations from a class.OrderBy
annotation.ActiveTable
.ElapsedTime.resume()
is invoked.
OperationTime.resume()
is invoked.
DataSource
and schema are obtained from database parameter.
SqlOperation.isAutoGeneratedKeys()
is true.
SqlOperation.prepareCascades()
to prepare statements for any cascade operations.
SqlOperation.prepareCascades()
to prepare statements for any cascade operations.
SqlOperation.prepare()
if it is null.
Column.primaryKey()
or Column.identity()
annotations.Statement.getGeneratedKeys()
.
Database.putTypeTranslator(Class, TypeTranslator)
but uses class name.
Database
for all operations on this table.
Table.putTypeTranslator(Class, TypeTranslator)
but uses class name.
TypeTranslatorMap.putTypeTranslator(Class, TypeTranslator)
but uses class name.
SelectCountOperation.readCount()
instead.
AbstractLazySelector.lazySelect(Field)
.
Connection.rollback()
.
Table.save(Object)
SaveOperation
to update an existing row or insert row if it
is not already in database.
Table.saveAll(Collection)
.SaveOperation
to update an existing rows or insert rows if they
are not already in database.
Cascade
annotation to define a cascade save operation.SaveOperation
.
Table.select(Object...)
.Table.selectAll()
.Table.selectAllCustom(String, Object...)
.Table.selectAllWhere(String, Object...)
.Table.selectAllWhereOrdered(String, String, Object...)
Table
.Cascade
annotation to define a cascade select operation.SelectOperation
.
Table.selectCount()
.Table.selectCustom(String, Object...)
.Table
.Table
.Table
.Table.selectWhere(String, Object...)
.OperationTime.logTimings()
.
PreparedStatement
.
OrderByTranslator
that creates the sql "order by" phrase based upon
the OrderBy
annotations.
SelectCascadeOperation.cascade(S)
invokes this method to set parameters in cascade operation based
upon parameter fields that were created by SelectCascadeOperation.prepareParameterFields()
.
SqlOperation.getOperationTime()
.
StandardNameTranslator.translate(String, Class)
.
Where.name()
for row.
PreparedStatement.setShort(int, short)
and ResultSet.getShort(int)
.Database
that was used to select source row.PreparedStatement.setDate(int, java.sql.Date)
and ResultSet.getDate(int)
.PreparedStatement.setTimestamp(int, java.sql.Timestamp)
and ResultSet.getTimestamp(int)
.PreparedStatement.setTime(int, java.sql.Time)
and ResultSet.getTime(int)
.PreparedStatement.setString(int, String)
and ResultSet.getString(int)
.Connection
.TypeTranslator
using a
key of Class
.Table.update(Object)
Table.updateAll(Collection)
.Table.updateAllBatch(Collection)
.Cascade
annotation to define a cascade update operation.UpdateOperation
.
TypeTranslator
to type translator map if not already
defined for ExplicitType.type()
.
TypeTranslator
to type translator map if not already
defined for Field type.
String.toUpperCase()
.Where
annotations from a class.Where
annotation.Where
annotations for a row class.RowTranslator
.
PreparedStatement.setObject(int, Object)
.
WhereTranslator
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |