Modifier and Type | Method and Description |
---|---|
Vector |
ClassDescriptor.buildDirectValuesFromFieldValue(Object fieldValue)
INTERNAL:
Extract the direct values from the specified field value.
|
Object |
ClassDescriptor.buildFieldValueFromDirectValues(Vector directValues,
String elementDataTypeName,
AbstractSession session)
INTERNAL:
Build the appropriate field value for the specified
set of direct values.
|
Object |
ClassDescriptor.buildFieldValueFromForeignKeys(Vector foreignKeys,
String referenceDataTypeName,
AbstractSession session)
INTERNAL:
Build and return the appropriate field value for the specified
set of foreign keys (i.e.
|
Object |
ClassDescriptor.buildFieldValueFromNestedRow(AbstractRecord nestedRow,
AbstractSession session)
INTERNAL:
Build and return the field value from the specified nested database row.
|
Object |
ClassDescriptor.buildFieldValueFromNestedRows(Vector nestedRows,
String structureName,
AbstractSession session)
INTERNAL:
Build and return the appropriate field value for the specified
set of nested rows.
|
AbstractRecord |
ClassDescriptor.buildNestedRowFromFieldValue(Object fieldValue)
INTERNAL:
Build and return the nested database row from the specified field value.
|
Vector |
ClassDescriptor.buildNestedRowsFromFieldValue(Object fieldValue,
AbstractSession session)
INTERNAL:
Build and return the nested rows from the specified field value.
|
protected Vector |
InheritancePolicy.selectAllRowUsingCustomMultipleTableSubclassRead(ReadAllQuery query)
INTERNAL:
Select all rows from a abstract table descriptor.
|
protected Vector |
InheritancePolicy.selectAllRowUsingDefaultMultipleTableSubclassRead(ReadAllQuery query)
INTERNAL:
Select all rows from a abstract table descriptor.
|
Vector |
InheritancePolicy.selectAllRowUsingMultipleTableSubclassRead(ReadAllQuery query)
INTERNAL:
Select all rows from a abstract table descriptor.
|
protected AbstractRecord |
InheritancePolicy.selectOneRowUsingCustomMultipleTableSubclassRead(ReadObjectQuery query)
INTERNAL:
Select one rows from a abstract table descriptor.
|
protected AbstractRecord |
InheritancePolicy.selectOneRowUsingDefaultMultipleTableSubclassRead(ReadObjectQuery query)
INTERNAL:
Select one row of any concrete subclass,
This must use two selects, the first retreives the type field only.
|
AbstractRecord |
InheritancePolicy.selectOneRowUsingMultipleTableSubclassRead(ReadObjectQuery query)
INTERNAL:
Select one row of any concrete subclass,
This must use two selects, the first retreives the type field only.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseAccessor.basicBeginTransaction(AbstractSession session)
Begin a transaction on the database.
|
void |
DatabaseAccessor.basicCommitTransaction(AbstractSession session)
Commit a transaction on the database.
|
Object |
DatabaseAccessor.basicExecuteCall(Call call,
AbstractRecord translationRow,
AbstractSession session)
Execute the call.
|
void |
DatabaseAccessor.basicRollbackTransaction(AbstractSession session)
Rollback a transaction on the database.
|
void |
DatasourceAccessor.beginTransaction(AbstractSession session)
Begin a transaction on the database.
|
void |
Accessor.beginTransaction(AbstractSession session)
Begin a transaction on the data store.
|
AbstractRecord |
DatabaseAccessor.buildOutputRow(CallableStatement statement,
DatabaseCall call,
AbstractSession session)
Build a row from the output parameters of a sp call.
|
Vector |
DatabaseAccessor.buildSortedFields(Vector fields,
ResultSet resultSet,
AbstractSession session)
Return the field sorted in the correct order coresponding to the result set.
|
protected void |
DatabaseAccessor.checkTransactionIsolation()
Check to see if the transaction isolation needs to
be set for the newly created connection.
|
void |
DatabaseAccessor.closeCursor(ResultSet resultSet)
Close the result set of the cursored stream.
|
void |
DatabaseAccessor.closeDatasourceConnection()
Close the connection.
|
void |
DatasourceAccessor.commitTransaction(AbstractSession session)
Commit a transaction on the database.
|
void |
DatabaseAccessor.commitTransaction(AbstractSession session)
Commit a transaction on the database.
|
void |
Accessor.commitTransaction(AbstractSession session)
Commit a transaction on the data store.
|
protected void |
DatasourceAccessor.connect(Login login)
Connect to the database.
|
protected void |
DatabaseAccessor.connect(Login login)
Connect to the database.
|
void |
DatasourceAccessor.connect(Login login,
AbstractSession session)
Connect to the datasource.
|
void |
Accessor.connect(Login login,
AbstractSession session)
Connect to the data store using the configuration
information in the login.
|
AbstractRecord |
DatabaseAccessor.cursorRetrieveNextRow(Vector fields,
ResultSet resultSet,
AbstractSession session)
Advance the result set and return a DatabaseRow populated
with values from the next valid row in the result set.
|
AbstractRecord |
DatabaseAccessor.cursorRetrievePreviousRow(Vector fields,
ResultSet resultSet,
AbstractSession session)
Advance the result set and return a DatabaseRow populated
with values from the next valid row in the result set.
|
void |
DatasourceAccessor.disconnect(AbstractSession session)
Disconnect from the datasource.
|
void |
DatabaseAccessor.disconnect(AbstractSession session)
Disconnect from the datasource.
|
void |
Accessor.disconnect(AbstractSession session)
Disconnect from the data store.
|
protected void |
DatabaseAccessor.executeBatchedStatement(PreparedStatement statement,
AbstractSession session)
Execute the TopLink dynamicly batch/concat statement.
|
Object |
DatasourceAccessor.executeCall(Call call,
AbstractRecord translationRow,
AbstractSession session)
Execute the call.
|
Object |
DatabaseAccessor.executeCall(Call call,
AbstractRecord translationRow,
AbstractSession session)
Execute the call.
|
Object |
Accessor.executeCall(Call call,
AbstractRecord translationRow,
AbstractSession session)
Execute the call.
|
Integer |
DatabaseAccessor.executeDirectNoSelect(Statement statement,
DatabaseCall call,
AbstractSession session)
Execute the statement.
|
protected void |
DatabaseAccessor.executeJDK12BatchStatement(Statement statement,
DatabaseCall dbCall,
AbstractSession session)
Execute the batched statement through the JDBC2 API.
|
protected Integer |
DatabaseAccessor.executeNoSelect(DatabaseCall call,
Statement statement,
AbstractSession session)
Execute the statement.
|
protected AbstractRecord |
DatabaseAccessor.fetchRow(Vector fields,
ResultSet resultSet,
ResultSetMetaData metaData,
AbstractSession session)
Return a new DatabaseRow.
|
Vector |
DatasourceAccessor.getColumnInfo(String catalog,
String schema,
String tableName,
String columnName,
AbstractSession session)
Return column information for the specified
database objects.
|
Vector |
DatabaseAccessor.getColumnInfo(String catalog,
String schema,
String tableName,
String columnName,
AbstractSession session)
Get a description of table columns available in a catalog.
|
Vector |
Accessor.getColumnInfo(String catalog,
String schema,
String tableName,
String columnName,
AbstractSession session)
Return the column metadata for the specified
selection criteria.
|
Connection |
DatabaseAccessor.getConnection()
Return the receiver's connection to its data source.
|
protected Object |
DatabaseAccessor.getObject(ResultSet resultSet,
DatabaseField field,
ResultSetMetaData metaData,
int columnNumber,
DatabasePlatform platform,
boolean optimizeData,
AbstractSession session)
Return an object retrieved from resultSet with the getObject() method.
|
Vector |
DatasourceAccessor.getTableInfo(String catalog,
String schema,
String tableName,
String[] types,
AbstractSession session)
Return table information for the specified
database objects.
|
Vector |
DatabaseAccessor.getTableInfo(String catalog,
String schema,
String tableName,
String[] types,
AbstractSession session)
Get a description of tables available in a catalog.
|
Vector |
Accessor.getTableInfo(String catalog,
String schema,
String tableName,
String[] types,
AbstractSession session)
Return the table metadata for the specified
selection criteria.
|
protected void |
DatasourceAccessor.reconnect(AbstractSession session)
Attempt to save some of the cost associated with getting a fresh connection.
|
void |
DatasourceAccessor.reestablishConnection(AbstractSession session)
PUBLIC:
Reconnect to the database.
|
void |
Accessor.reestablishConnection(AbstractSession session)
Reconnect to the database.
|
void |
DatasourceAccessor.rollbackTransaction(AbstractSession session)
Rollback the transaction on the datasource.
|
void |
Accessor.rollbackTransaction(AbstractSession session)
Roll back a transaction on the data store.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectBuilder.assignReturnRow(Object object,
AbstractSession writeSession,
AbstractRecord row)
INTERNAL:
Assign returned row to object
|
Object |
ObjectBuilder.assignSequenceNumber(Object object,
AbstractSession writeSession)
INTERNAL:
Update the object primary key by fetching a new sequence number from the accessor.
|
void |
ObjectBuilder.buildAttributesIntoObject(Object domainObject,
AbstractRecord databaseRow,
ObjectBuildingQuery query,
JoinedAttributeManager joinManager,
boolean forRefresh)
Each mapping is recursed to assign values from the databaseRow to the attributes in the domain object.
|
void |
ObjectBuilder.buildAttributesIntoShallowObject(Object original,
AbstractRecord databaseRow,
ObjectBuildingQuery query)
INTERNAL:
For reading through the write connection when in transaction,
We need a partially populated original, so that we
can build a clone using the copy policy, even though we can't
put this original in the shared cache yet; just build a
shallow original (i.e.
|
void |
ObjectBuilder.buildAttributesIntoWorkingCopyClone(Object clone,
ObjectBuildingQuery query,
JoinedAttributeManager joinManager,
AbstractRecord databaseRow,
UnitOfWorkImpl unitOfWork,
boolean forRefresh)
INTERNAL:
For reading through the write connection when in transaction,
populate the clone directly from the database row.
|
protected Object |
ObjectBuilder.buildObject(ObjectBuildingQuery query,
AbstractRecord databaseRow,
AbstractSession session,
Vector primaryKey,
ClassDescriptor concreteDescriptor,
JoinedAttributeManager joinManager)
Return an instance of the recievers javaClass.
|
Object |
ObjectBuilder.buildObject(ObjectBuildingQuery query,
AbstractRecord databaseRow,
JoinedAttributeManager joinManager)
Return an instance of the recievers javaClass.
|
protected Object |
ObjectBuilder.buildObjectInUnitOfWork(ObjectBuildingQuery query,
JoinedAttributeManager joinManager,
AbstractRecord databaseRow,
UnitOfWorkImpl unitOfWork,
Vector primaryKey,
ClassDescriptor concreteDescriptor)
For executing all reads on the UnitOfWork, the session when building
objects from rows will now be the UnitOfWork.
|
Object |
ObjectBuilder.buildObjectsInto(ReadAllQuery query,
Vector databaseRows,
Object domainObjects)
Return a container which contains the instances of the receivers javaClass.
|
void |
ObjectBuilder.buildPrimaryKeyAttributesIntoObject(Object original,
AbstractRecord databaseRow,
ObjectBuildingQuery query)
INTERNAL:
Build just the primary key mappings into the object.
|
protected Object |
ObjectBuilder.buildWorkingCopyCloneFromRow(ObjectBuildingQuery query,
JoinedAttributeManager joinManager,
AbstractRecord databaseRow,
UnitOfWorkImpl unitOfWork,
Vector primaryKey)
INTERNAL:
Builds a working copy clone directly from the database row.
|
protected Object |
ObjectBuilder.buildWorkingCopyCloneNormally(ObjectBuildingQuery query,
AbstractRecord databaseRow,
UnitOfWorkImpl unitOfWork,
Vector primaryKey,
ClassDescriptor concreteDescriptor,
JoinedAttributeManager joinManager)
buildWorkingCopyCloneFromRow is an alternative to this which is the
normal behavior.
|
Modifier and Type | Method and Description |
---|---|
void |
RepeatableWriteUnitOfWork.commitRootUnitOfWork()
INTERNAL:
Commit the changes to any objects to the parent.
|
void |
RepeatableWriteUnitOfWork.commitTransaction()
INTERNAL:
This is internal to the uow, transactions should not be used explictly in a uow.
|
void |
RepeatableWriteUnitOfWork.rollbackTransaction()
INTERNAL:
This is internal to the uow, transactions should not be used explictly in a uow.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
QueryBasedValueHolder.instantiate() |
protected abstract Object |
DatabaseValueHolder.instantiate()
Instantiate the object.
|
protected Object |
QueryBasedValueHolder.instantiate(AbstractSession session)
Instantiate the object by executing the query on the session.
|
Modifier and Type | Method and Description |
---|---|
Object |
DatabaseQueryMechanism.buildObjectsFromRows(Vector rows)
Build the objects for the rows, and answer them
|
DatabaseCall |
DatasourceCallQueryMechanism.cursorSelectAllRows()
Read all rows from the database using a cursored stream.
|
abstract DatabaseCall |
DatabaseQueryMechanism.cursorSelectAllRows()
Read all rows from the database using a cursored stream.
|
Integer |
DatasourceCallQueryMechanism.deleteAll()
INTERNAL:
Delete a collection of objects.
|
abstract Integer |
DatabaseQueryMechanism.deleteAll() |
Integer |
DatasourceCallQueryMechanism.deleteAllUsingTempTables()
Execute deleteAll using temp tables
|
Integer |
StatementQueryMechanism.deleteObject()
INTERNAL:
delete the object
|
Integer |
DatasourceCallQueryMechanism.deleteObject()
INTERNAL:
Delete an object.
|
abstract Integer |
DatabaseQueryMechanism.deleteObject()
Delete an object
This should be overriden by subclasses.
|
protected Object |
DatasourceCallQueryMechanism.executeCall()
Execute the call.
|
protected Object |
DatasourceCallQueryMechanism.executeCall(DatasourceCall databaseCall)
Execute the call.
|
Integer |
StatementQueryMechanism.executeNoSelect()
Update the object
|
Integer |
DatasourceCallQueryMechanism.executeNoSelect()
Execute a non selecting call.
|
abstract Integer |
DatabaseQueryMechanism.executeNoSelect()
Execute a non selecting SQL call
This should be overriden by subclasses.
|
Integer |
DatasourceCallQueryMechanism.executeNoSelectCall()
Execute a non selecting call.
|
Vector |
DatasourceCallQueryMechanism.executeSelect()
INTERNAL:
Execute a selecting call.
|
abstract Vector |
DatabaseQueryMechanism.executeSelect()
Execute a select SQL call and return the rows.
|
Vector |
DatasourceCallQueryMechanism.executeSelectCall()
INTERNAL:
Execute a selecting call.
|
Object |
DatabaseQueryMechanism.executeWrite()
Check whether the object already exists on the database; then
perform an insert, update or delete, as appropriate.
|
Object |
DatabaseQueryMechanism.executeWriteWithChangeSet()
Check whether the object already exists on the database; then
perform an insert or update, as appropriate.
|
void |
StatementQueryMechanism.insertObject()
Insert the object
|
void |
DatasourceCallQueryMechanism.insertObject()
Insert the object.
|
abstract void |
DatabaseQueryMechanism.insertObject()
Insert an object.
|
Vector |
ExpressionQueryMechanism.selectAllReportQueryRows()
INTERNAL
Read all rows from the database.
|
Vector |
DatasourceCallQueryMechanism.selectAllReportQueryRows()
Read all rows from the database.
|
abstract Vector |
DatabaseQueryMechanism.selectAllReportQueryRows()
INTERNAL:
Read all rows from the database.
|
Vector |
ExpressionQueryMechanism.selectAllRows()
Read all rows from the database.
|
Vector |
DatasourceCallQueryMechanism.selectAllRows()
Read all rows from the database.
|
abstract Vector |
DatabaseQueryMechanism.selectAllRows()
Read and return rows from the database.
|
Vector |
ExpressionQueryMechanism.selectAllRowsFromConcreteTable()
Read all rows from the database.
|
Vector |
ExpressionQueryMechanism.selectAllRowsFromTable()
Read all rows from the database.
|
AbstractRecord |
ExpressionQueryMechanism.selectOneRow()
Read a single row from the database.
|
AbstractRecord |
DatasourceCallQueryMechanism.selectOneRow()
Read a single row from the database.
|
abstract AbstractRecord |
DatabaseQueryMechanism.selectOneRow()
Read and return a row from the database.
|
AbstractRecord |
ExpressionQueryMechanism.selectOneRowFromConcreteTable()
Read a single row from the database.
|
AbstractRecord |
ExpressionQueryMechanism.selectOneRowFromTable()
Read a single row from the database.
|
AbstractRecord |
DatasourceCallQueryMechanism.selectRowForDoesExist(DatabaseField field)
Perform a does exist check
|
abstract AbstractRecord |
DatabaseQueryMechanism.selectRowForDoesExist(DatabaseField field)
Read and return a row from the database for an existence check.
|
void |
DatabaseQueryMechanism.shallowDeleteObjectForWrite(Object object,
WriteObjectQuery writeQuery,
CommitManager commitManager)
INTERNAL:
Shallow delete the specified object.
|
void |
DatabaseQueryMechanism.shallowInsertObjectForWrite(Object object,
WriteObjectQuery writeQuery,
CommitManager commitManager)
INTERNAL:
Shallow insert the specified object.
|
Integer |
DatasourceCallQueryMechanism.updateAll()
Update the rows on the database.
|
abstract Integer |
DatabaseQueryMechanism.updateAll()
Issue update SQL statement
|
Integer |
DatasourceCallQueryMechanism.updateAllUsingTempTables()
Execute updateAll using temp tables
|
Integer |
StatementQueryMechanism.updateObject()
Update the object
|
Integer |
DatasourceCallQueryMechanism.updateObject()
Update the object.
|
abstract Integer |
DatabaseQueryMechanism.updateObject()
Update an object.
|
protected void |
DatabaseQueryMechanism.updateObjectAndRowWithSequenceNumber()
Update the object's primary key by fetching a new sequence number from the accessor.
|
Modifier and Type | Method and Description |
---|---|
void |
UnitOfWorkImpl.assignSequenceNumber(Object object)
ADVANCED:
Assign sequence number to the object.
|
void |
UnitOfWorkImpl.assignSequenceNumbers()
ADVANCED:
Assign sequence numbers to all new objects registered in this unit of work,
or any new objects reference by any objects registered.
|
protected void |
AbstractSession.basicBeginTransaction()
INTERNAL:
Called by beginTransaction() to start a transaction.
|
protected void |
AbstractSession.basicCommitTransaction()
INTERNAL:
Called by commitTransaction() to commit a transaction.
|
protected void |
AbstractSession.basicRollbackTransaction()
INTERNAL:
Called by rollbackTransaction() to rollback a transaction.
|
void |
UnitOfWorkImpl.beginEarlyTransaction()
PUBLIC:
Tell the unit of work to begin a transaction now.
|
void |
UnitOfWorkImpl.beginTransaction()
INTERNAL:
This is internal to the uow, transactions should not be used explictly in a uow.
|
void |
AbstractSession.beginTransaction()
PUBLIC:
Begin a transaction on the database.
|
void |
UnitOfWorkImpl.commit()
PUBLIC:
Commit the unit of work to its parent.
|
void |
CommitManager.commitAllObjects(IdentityHashtable domainObjects)
Commit all of the objects as a single transaction.
|
void |
CommitManager.commitAllObjectsWithChangeSet(UnitOfWorkChangeSet uowChangeSet)
Commit all of the objects as a single transaction.
|
void |
UnitOfWorkImpl.commitAndResume()
PUBLIC:
Commit the unit of work to its parent.
|
void |
UnitOfWorkImpl.commitAndResumeOnFailure()
PUBLIC:
Commit the unit of work to its parent.
|
void |
UnitOfWorkImpl.commitAndResumeWithPreBuiltChangeSet(UnitOfWorkChangeSet uowChangeSet)
INTERNAL:
This method is used by the MappingWorkbench for their read-only file feature
this method must not be exposed to or used by customers until it has been revised
and the feature revisited to support OptimisticLocking and Serialization
|
void |
UnitOfWorkImpl.commitRootUnitOfWork()
INTERNAL:
Commit the changes to any objects to the parent.
|
void |
UnitOfWorkImpl.commitRootUnitOfWorkWithPreBuiltChangeSet(UnitOfWorkChangeSet uowChangeSet)
INTERNAL:
This method is used by the MappingWorkbench read-only files feature
It will commit a pre-built unitofwork change set to the database
|
protected void |
UnitOfWorkImpl.commitToDatabaseWithChangeSet(boolean commitTransaction)
INTERNAL:
Commit the changes to any objects to the parent.
|
protected void |
UnitOfWorkImpl.commitToDatabaseWithPreBuiltChangeSet(UnitOfWorkChangeSet uowChangeSet,
boolean commitTransaction)
INTERNAL:
Commit pre-built changeSet to the database changest to the database.
|
void |
UnitOfWorkImpl.commitTransaction()
INTERNAL:
This is internal to the uow, transactions should not be used explictly in a uow.
|
void |
AbstractSession.commitTransaction()
PUBLIC:
Commit the active database transaction.
|
void |
DatabaseSessionImpl.connect()
INTERNAL:
Connect the session only.
|
void |
DatabaseSessionImpl.connect(boolean updatePlatform)
INTERNAL:
Connect the session only.
|
void |
AbstractSession.deleteAllObjects(Collection domainObjects)
PUBLIC:
delete all of the objects and all of their privately owned parts in the database.
|
void |
CommitManager.deleteAllObjects(Vector objectsForDeletion)
delete all of the objects as a single transaction.
|
void |
AbstractSession.deleteAllObjects(Vector domainObjects)
PUBLIC:
delete all of the objects and all of their privately owned parts in the database.
|
Object |
AbstractSession.deleteObject(Object domainObject)
PUBLIC:
Delete the object and all of its privately owned parts from the database.
|
void |
DatabaseSessionImpl.disconnect()
INTERNAL:
Disconnect the accessor only.
|
boolean |
AbstractSession.doesObjectExist(Object object)
PUBLIC:
Return if the object exists on the database or not.
|
Object |
UnitOfWorkImpl.executeCall(Call call,
AbstractRecord translationRow,
DatabaseQuery query)
INTERNAL:
Override From session.
|
Object |
IsolatedClientSession.executeCall(Call call,
AbstractRecord translationRow,
DatabaseQuery query)
INTERNAL:
Isolated sessions must forward call execution to its parent, unless in a transaction.
|
Object |
AbstractSession.executeCall(Call call,
AbstractRecord translationRow,
DatabaseQuery query)
INTERNAL:
Overridden by subclasses that do more than just execute the call.
|
int |
AbstractSession.executeNonSelectingCall(Call call)
PUBLIC:
Execute the call on the database.
|
void |
AbstractSession.executeNonSelectingSQL(String sqlString)
PUBLIC:
Execute the sql on the database.
|
Object |
AbstractSession.executeQuery(DatabaseQuery query)
PUBLIC:
Execute the database query.
|
Object |
AbstractSession.executeQuery(DatabaseQuery query,
AbstractRecord row)
INTERNAL:
Return the results from exeucting the database query.
|
Object |
AbstractSession.executeQuery(DatabaseQuery query,
Vector argumentValues)
PUBLIC:
Return the results from exeucting the database query.
|
Object |
AbstractSession.executeQuery(String queryName)
PUBLIC:
Execute the pre-defined query by name and return the result.
|
Object |
AbstractSession.executeQuery(String queryName,
Class domainClass)
PUBLIC:
Execute the pre-defined query by name and return the result.
|
Object |
AbstractSession.executeQuery(String queryName,
Class domainClass,
Object arg1)
PUBLIC:
Execute the pre-defined query by name and return the result.
|
Object |
AbstractSession.executeQuery(String queryName,
Class domainClass,
Object arg1,
Object arg2)
PUBLIC:
Execute the pre-defined query by name and return the result.
|
Object |
AbstractSession.executeQuery(String queryName,
Class domainClass,
Object arg1,
Object arg2,
Object arg3)
PUBLIC:
Execute the pre-defined query by name and return the result.
|
Object |
AbstractSession.executeQuery(String queryName,
Class domainClass,
Vector argumentValues)
PUBLIC:
Execute the pre-defined query by name and return the result.
|
Object |
AbstractSession.executeQuery(String queryName,
Object arg1)
PUBLIC:
Execute the pre-defined query by name and return the result.
|
Object |
AbstractSession.executeQuery(String queryName,
Object arg1,
Object arg2)
PUBLIC:
Execute the pre-defined query by name and return the result.
|
Object |
AbstractSession.executeQuery(String queryName,
Object arg1,
Object arg2,
Object arg3)
PUBLIC:
Execute the pre-defined query by name and return the result.
|
Object |
AbstractSession.executeQuery(String queryName,
Vector argumentValues)
PUBLIC:
Execute the pre-defined query by name and return the result.
|
Vector |
AbstractSession.executeSelectingCall(Call call)
PUBLIC:
Execute the call on the database and return the result.
|
Vector |
AbstractSession.executeSQL(String sqlString)
PUBLIC:
Execute the sql on the database and return the result.
|
protected void |
DatabaseSessionImpl.finalize()
INTERNAL:
Logout in case still connected.
|
Object |
AbstractSession.insertObject(Object domainObject)
PUBLIC:
Insert the object and all of its privately owned parts into the database.
|
Object |
UnitOfWorkImpl.internalExecuteQuery(DatabaseQuery query,
AbstractRecord databaseRow)
INTERNAL:
Return the results from exeucting the database query.
|
Object |
AbstractSession.internalExecuteQuery(DatabaseQuery query,
AbstractRecord databaseRow)
INTERNAL:
Return the results from exeucting the database query.
|
void |
DatabaseSessionImpl.login()
PUBLIC:
Connect to the database using the predefined login.
|
void |
DatabaseSessionImpl.login(Login login)
PUBLIC:
Connect to the database using the given login.
|
void |
DatabaseSessionImpl.login(String userName,
String password)
PUBLIC:
Connect to the database using the given user name and password.
|
void |
DatabaseSessionImpl.loginAndDetectDatasource()
PUBLIC:
Connect to the database using the predefined login.
|
void |
DatabaseSessionImpl.logout()
PUBLIC:
Disconnect from the database.
|
Vector |
AbstractSession.readAllObjects(Class domainClass)
PUBLIC:
Read all of the instances of the class from the database.
|
Vector |
AbstractSession.readAllObjects(Class referenceClass,
Call aCall)
PUBLIC:
Read all the instances of the class from the database returned through execution the Call string.
|
Vector |
AbstractSession.readAllObjects(Class domainClass,
Expression expression)
PUBLIC:
Read all of the instances of the class from the database matching the given expression.
|
Vector |
AbstractSession.readAllObjects(Class domainClass,
String sqlString)
PUBLIC:
Read all of the instances of the class from the database return through execution the SQL string.
|
Object |
AbstractSession.readObject(Class domainClass)
PUBLIC:
Read the first instance of the class from the database.
|
Object |
AbstractSession.readObject(Class domainClass,
Call aCall)
PUBLIC:
Read the first instance of the class from the database returned through execution the Call string.
|
Object |
AbstractSession.readObject(Class domainClass,
Expression expression)
PUBLIC:
Read the first instance of the class from the database matching the given expression.
|
Object |
AbstractSession.readObject(Class domainClass,
String sqlString)
PUBLIC:
Read the first instance of the class from the database return through execution the SQL string.
|
Object |
AbstractSession.readObject(Object object)
PUBLIC:
Use the example object to consruct a read object query by the objects primary key.
|
Object |
AbstractSession.refreshAndLockObject(Object object)
PUBLIC:
Refresh the attributes of the object and of all of its private parts from the database.
|
Object |
AbstractSession.refreshAndLockObject(Object object,
short lockMode)
PUBLIC:
Refresh the attributes of the object and of all of its private parts from the database.
|
Object |
AbstractSession.refreshObject(Object object)
PUBLIC:
Refresh the attributes of the object and of all of its private parts from the database.
|
Vector |
UnitOfWorkImpl.registerAllObjects(Vector domainObjects)
PUBLIC:
Register the objects with the unit of work.
|
void |
UnitOfWorkImpl.rollbackTransaction()
INTERNAL:
This is internal to the uow, transactions should not be used explictly in a uow.
|
void |
AbstractSession.rollbackTransaction()
PUBLIC:
Rollback the active database transaction.
|
protected void |
UnitOfWorkImpl.rollbackTransaction(boolean intendedToCommitTransaction)
INTERNAL:
rollbackTransaction() with a twist for external transactions.
|
Object |
AbstractSession.updateObject(Object domainObject)
PUBLIC:
Update the object and all of its privately owned parts in the database.
|
void |
DatabaseSessionImpl.writeAllObjects(Collection domainObjects)
PUBLIC:
Write all of the objects and all of their privately owned parts in the database.
|
protected void |
AbstractSession.writeAllObjects(IdentityHashtable domainObjects)
INTERNAL:
Write all of the objects and all of their privately owned parts in the database.
|
void |
DatabaseSessionImpl.writeAllObjects(Vector domainObjects)
PUBLIC:
Write all of the objects and all of their privately owned parts in the database.
|
protected void |
AbstractSession.writeAllObjectsWithChangeSet(UnitOfWorkChangeSet uowChangeSet)
INTERNAL:
Write all of the objects and all of their privately owned parts in the database.
|
Object |
AbstractSession.writeObject(Object domainObject)
PUBLIC:
Write the object and all of its privately owned parts in the database.
|
Modifier and Type | Method and Description |
---|---|
Connection |
JNDIConnector.connect(Properties properties)
INTERNAL:
Connect with the specified properties and return the Connection.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
AggregateObjectMapping.buildAggregateFromRow(AbstractRecord databaseRow,
Object targetObject,
JoinedAttributeManager joinManager,
boolean buildShallowOriginal,
AbstractSession session)
INTERNAL:
Build and return an aggregate object from the specified row.
|
protected void |
CollectionMapping.compareObjectsAndWrite(Object previousObjects,
Object currentObjects,
WriteObjectQuery query)
INTERNAL:
The memory objects are compared and only the changes are written to the database
|
protected void |
OneToManyMapping.deleteAll(WriteObjectQuery query)
Delete all the reference objects with a single query.
|
protected void |
AggregateCollectionMapping.deleteAll(WriteObjectQuery query)
To delete all the entries matching the selection criteria from the table stored in the
referenced descriptor
|
protected void |
OneToManyMapping.deleteReferenceObjectsLeftOnDatabase(WriteObjectQuery query)
This method will make sure that all the records privately owned by this mapping are
actually removed.
|
Vector |
AggregateCollectionMapping.getReferenceObjectKeys(ObjectLevelModifyQuery query)
INTERNAL:
get reference object keys
|
protected void |
ObjectReferenceMapping.insert(WriteObjectQuery query)
INTERNAL:
Insert the referenced objects.
|
protected void |
ManyToManyMapping.insertAddedObjectEntry(ObjectLevelModifyQuery query,
Object objectAdded)
INTERNAL:
An object was added to the collection during an update, insert it.
|
void |
ManyToManyMapping.insertIntoRelationTable(WriteObjectQuery query)
INTERNAL:
Insert into relation table.
|
void |
ManyToManyMapping.insertTargetObjects(WriteObjectQuery query)
INTERNAL:
Write the target objects if the cascade policy requires them to be written first.
|
protected void |
ManyToManyMapping.objectAddedDuringUpdate(ObjectLevelModifyQuery query,
Object objectAdded,
ObjectChangeSet changeSet)
INTERNAL:
An object was added to the collection during an update, insert it if private.
|
protected void |
CollectionMapping.objectAddedDuringUpdate(ObjectLevelModifyQuery query,
Object objectAdded,
ObjectChangeSet changeSet)
INTERNAL:
An object was added to the collection during an update, insert it if private.
|
protected void |
AggregateCollectionMapping.objectAddedDuringUpdate(ObjectLevelModifyQuery query,
Object objectAdded,
ObjectChangeSet changeSet)
INTERNAL:
An object was added to the collection during an update, insert it if private.
|
protected void |
ManyToManyMapping.objectRemovedDuringUpdate(ObjectLevelModifyQuery query,
Object objectDeleted)
INTERNAL:
An object was removed to the collection during an update, delete it if private.
|
protected void |
CollectionMapping.objectRemovedDuringUpdate(ObjectLevelModifyQuery query,
Object objectDeleted)
INTERNAL:
An object was removed to the collection during an update, delete it if private.
|
protected void |
AggregateCollectionMapping.objectRemovedDuringUpdate(ObjectLevelModifyQuery query,
Object objectDeleted)
INTERNAL:
An object was removed to the collection during an update, delete it if private.
|
protected void |
CollectionMapping.objectUnchangedDuringUpdate(ObjectLevelModifyQuery query,
Object object)
INTERNAL:
An object is still in the collection, update it as it may have changed.
|
protected void |
CollectionMapping.objectUnchangedDuringUpdate(ObjectLevelModifyQuery query,
Object object,
Hashtable backupclones,
CacheKey keys)
INTERNAL:
An object is still in the collection, update it as it may have changed.
|
protected void |
AggregateCollectionMapping.objectUnchangedDuringUpdate(ObjectLevelModifyQuery query,
Object object,
Hashtable backupCloneKeyedCache,
CacheKey cachedKey)
INTERNAL:
An object is still in the collection, update it as it may have changed.
|
void |
ManyToManyMapping.performDataModificationEvent(Object[] event,
AbstractSession session)
INTERNAL:
Perform the commit event.
|
void |
DirectCollectionMapping.performDataModificationEvent(Object[] event,
AbstractSession session)
INTERNAL:
Perform the commit event.
|
void |
DatabaseMapping.performDataModificationEvent(Object[] event,
AbstractSession session)
INTERNAL:
Perform the commit event.
|
void |
ObjectReferenceMapping.postDelete(WriteObjectQuery query)
INTERNAL:
Delete the referenced objects.
|
void |
DatabaseMapping.postDelete(WriteObjectQuery query)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
AggregateMapping.postDelete(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
protected void |
AggregateMapping.postDeleteAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
OneToManyMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert the referenced objects.
|
void |
ObjectReferenceMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert privately owned parts
|
void |
ManyToManyMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert into relation table.
|
void |
DirectMapMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert the private owned object.
|
void |
DirectCollectionMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert the private owned object.
|
void |
DatabaseMapping.postInsert(WriteObjectQuery query)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
AggregateMapping.postInsert(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
AggregateCollectionMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert privately owned parts
|
protected void |
AggregateMapping.postInsertAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
OneToManyMapping.postUpdate(WriteObjectQuery query)
INTERNAL:
Update the reference objects.
|
void |
ObjectReferenceMapping.postUpdate(WriteObjectQuery query)
INTERNAL:
Update privately owned parts
|
void |
ManyToManyMapping.postUpdate(WriteObjectQuery query)
INTERNAL:
Update the relation table with the entries related to this mapping.
|
void |
DirectCollectionMapping.postUpdate(WriteObjectQuery writeQuery)
INTERNAL:
Update private owned part.
|
void |
DatabaseMapping.postUpdate(WriteObjectQuery query)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
AggregateMapping.postUpdate(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
AggregateCollectionMapping.postUpdate(WriteObjectQuery writeQuery)
INTERNAL:
Update the privately owned parts
|
protected void |
AggregateMapping.postUpdateAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
protected void |
DirectMapMapping.postUpdateWithChangeSet(WriteObjectQuery writeQuery)
INTERNAL:
Update private owned part.
|
protected void |
DirectCollectionMapping.postUpdateWithChangeSet(WriteObjectQuery writeQuery)
INTERNAL:
Update private owned part.
|
void |
OneToManyMapping.preDelete(WriteObjectQuery query)
INTERNAL:
Delete the referenced objects.
|
void |
ObjectReferenceMapping.preDelete(WriteObjectQuery query)
INTERNAL:
Delete the referenced objects.
|
void |
ManyToManyMapping.preDelete(WriteObjectQuery query)
INTERNAL:
Delete entries related to this mapping from the relation table.
|
void |
DirectCollectionMapping.preDelete(WriteObjectQuery query)
INTERNAL:
Delete private owned part.
|
void |
DatabaseMapping.preDelete(WriteObjectQuery query)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
AggregateMapping.preDelete(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
AggregateCollectionMapping.preDelete(WriteObjectQuery query)
INTERNAL:
Delete privately owned parts
|
protected void |
AggregateMapping.preDeleteAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
ObjectReferenceMapping.preInsert(WriteObjectQuery query)
INTERNAL:
Insert privately owned parts
|
void |
DatabaseMapping.preInsert(WriteObjectQuery query)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
AggregateMapping.preInsert(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
AggregateCollectionMapping.preInsert(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
protected void |
AggregateMapping.preInsertAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
ObjectReferenceMapping.preUpdate(WriteObjectQuery query)
INTERNAL:
Update privately owned parts
|
void |
DatabaseMapping.preUpdate(WriteObjectQuery query)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
AggregateMapping.preUpdate(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
protected void |
AggregateMapping.preUpdateAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
Object |
AggregateObjectMapping.readFromReturnRowIntoObject(AbstractRecord row,
Object targetObject,
ReadObjectQuery query,
Collection handledMappings)
INTERNAL:
Build an aggregate object from the specified return row and put it
in the specified target object.
|
Object |
DatabaseMapping.readFromRowIntoObject(AbstractRecord databaseRow,
JoinedAttributeManager joinManager,
Object targetObject,
ObjectBuildingQuery sourceQuery)
INTERNAL:
Extract value from the row and set the attribute to this value in the object.
|
Object |
DatabaseMapping.readFromRowIntoObject(AbstractRecord databaseRow,
JoinedAttributeManager joinManager,
Object targetObject,
ObjectBuildingQuery sourceQuery,
AbstractSession executionSession)
INTERNAL:
Extract value from the row and set the attribute to this value in the object.
|
Object |
AggregateObjectMapping.readFromRowIntoObject(AbstractRecord databaseRow,
JoinedAttributeManager joinManager,
Object targetObject,
ObjectBuildingQuery sourceQuery,
AbstractSession executionSession)
INTERNAL:
Build an aggregate object from the specified row and put it
in the specified target object.
|
protected Object |
OneToOneMapping.readPrivateOwnedForObject(ObjectLevelModifyQuery modifyQuery)
INTERNAL:
Reads the private owned object.
|
protected Object |
ObjectReferenceMapping.readPrivateOwnedForObject(ObjectLevelModifyQuery modifyQuery)
INTERNAL:
Reads the private owned object.
|
protected Object |
CollectionMapping.readPrivateOwnedForObject(ObjectLevelModifyQuery modifyQuery)
INTERNAL:
All the privately owned parts are read
|
protected void |
ObjectReferenceMapping.update(WriteObjectQuery query)
INTERNAL:
Update the private owned part.
|
Object |
DatabaseMapping.valueFromRow(AbstractRecord row,
JoinedAttributeManager joinManager,
ObjectBuildingQuery query)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
Object |
ForeignReferenceMapping.valueFromRow(AbstractRecord row,
JoinedAttributeManager joinManager,
ObjectBuildingQuery query,
AbstractSession executionSession)
INTERNAL:
Return the value of the reference attribute or a value holder.
|
Object |
DirectCollectionMapping.valueFromRow(AbstractRecord row,
JoinedAttributeManager joinManager,
ObjectBuildingQuery query,
AbstractSession session)
INTERNAL:
Return the value of the reference attribute or a value holder.
|
Object |
DatabaseMapping.valueFromRow(AbstractRecord row,
JoinedAttributeManager joinManager,
ObjectBuildingQuery query,
AbstractSession session)
INTERNAL:
|
protected Object |
OneToOneMapping.valueFromRowInternal(AbstractRecord row,
JoinedAttributeManager joinManager,
AbstractSession executionSession)
INTERNAL:
Return the value of the field from the row or a value holder on the query to obtain the object.
|
protected Object |
ForeignReferenceMapping.valueFromRowInternal(AbstractRecord row,
JoinedAttributeManager joinManager,
AbstractSession executionSession)
INTERNAL:
Return the value of the reference attribute or a value holder.
|
protected Object |
AggregateCollectionMapping.valueFromRowInternal(AbstractRecord row,
JoinedAttributeManager joinManager,
AbstractSession executionSession)
INTERNAL:
Retrieves a value from the row for a particular query key
|
protected Object |
OneToOneMapping.valueFromRowInternalWithJoin(AbstractRecord row,
JoinedAttributeManager joinManager,
AbstractSession executionSession)
INTERNAL:
If the query used joining or partial attributes, build the target object directly.
|
protected Object |
ForeignReferenceMapping.valueFromRowInternalWithJoin(AbstractRecord row,
JoinedAttributeManager joinManager,
AbstractSession executionSession)
INTERNAL:
If the query used joining or partial attributes, build the target object directly.
|
protected Object |
CollectionMapping.valueFromRowInternalWithJoin(AbstractRecord row,
JoinedAttributeManager joinManager,
AbstractSession executionSession)
INTERNAL:
Return the value of the field from the row or a value holder on the query to obtain the object.
|
boolean |
OneToManyMapping.verifyDelete(Object object,
AbstractSession session)
INTERNAL:
Used to verify whether the specified object is deleted or not.
|
boolean |
ObjectReferenceMapping.verifyDelete(Object object,
AbstractSession session)
INTERNAL:
To verify if the specified object is deleted or not.
|
boolean |
DirectCollectionMapping.verifyDelete(Object object,
AbstractSession session)
INTERNAL:
Checks if object is deleted from the database or not.
|
boolean |
DatabaseMapping.verifyDelete(Object object,
AbstractSession session)
INTERNAL:
To verify if the specified object has been deleted or not.
|
boolean |
CollectionMapping.verifyDelete(Object object,
AbstractSession session)
INTERNAL:
Checks if object is deleted from the database or not.
|
boolean |
AggregateMapping.verifyDelete(Object object,
AbstractSession session)
INTERNAL:
Return whether the specified object and all its components have been deleted.
|
boolean |
AggregateCollectionMapping.verifyDelete(Object object,
AbstractSession session)
INTERNAL:
Checks if object is deleted from the database or not.
|
protected void |
AggregateCollectionMapping.verifyDeleteForUpdate(WriteObjectQuery query)
Verifying deletes make sure that all the records privately owned by this mapping are
actually removed.
|
protected boolean |
AggregateMapping.verifyDeleteOfAttributeValue(Object attributeValue,
AbstractSession session)
INTERNAL:
Return whether the specified object and all its components have been deleted.
|
Modifier and Type | Method and Description |
---|---|
Object |
ObjectLevelReadQuery.execute(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Execute the query.
|
Object |
DatabaseQuery.execute(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Execute the query.
|
void |
WriteObjectQuery.executeCommit()
INTERNAL:
Decide whether to perform an insert, update or delete and
delegate the work to the mechanism.
|
void |
UpdateObjectQuery.executeCommit()
INTERNAL:
Perform an update.
|
void |
InsertObjectQuery.executeCommit()
INTERNAL:
Perform an insert.
|
void |
DeleteObjectQuery.executeCommit()
INTERNAL:
Perform a delete.
|
void |
WriteObjectQuery.executeCommitWithChangeSet()
INTERNAL:
Perform a does exist check to decide whether to perform an insert or update and
delegate the work to the mechanism.
|
void |
UpdateObjectQuery.executeCommitWithChangeSet()
INTERNAL:
Perform an update.
|
Object |
WriteObjectQuery.executeDatabaseQuery()
INTERNAL:
Perform a does exist check to decide whether to perform an insert or update and
delegate the work to the mechanism.
|
Object |
ValueReadQuery.executeDatabaseQuery()
INTERNAL:
Execute the query.
|
Object |
UpdateAllQuery.executeDatabaseQuery()
INTERNAL:
Issue the SQL to the database and then merge into the cache.
|
Object |
ResultSetMappingQuery.executeDatabaseQuery()
INTERNAL:
Executes the prepared query on the datastore.
|
Object |
ReportQuery.executeDatabaseQuery()
INTERNAL:
Execute the query.
|
Object |
ObjectLevelReadQuery.executeDatabaseQuery() |
Object |
EJBQLPlaceHolderQuery.executeDatabaseQuery()
INTERNAL:
This should never be called and is only here because it is needed as an extension
to DatabaseQuery.
|
Object |
DoesExistQuery.executeDatabaseQuery()
INTERNAL:
Return if the object exists on the database.
|
Object |
DeleteAllQuery.executeDatabaseQuery()
INTERNAL:
Perform the work to delete a collection of objects.
|
abstract Object |
DatabaseQuery.executeDatabaseQuery()
INTERNAL:
Execute the query
|
Object |
DataReadQuery.executeDatabaseQuery()
INTERNAL:
Execute the query.
|
Object |
DataModifyQuery.executeDatabaseQuery()
INTERNAL:
Perform the work to execute the SQL call.
|
void |
DeleteAllQuery.executeDeleteAll(AbstractSession session,
AbstractRecord translationRow,
Vector objects)
INTERNAL:
Delete all queries are executed specially to avoid cloning and ensure preparing.
|
Object |
ObjectLevelReadQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
At this point only the code has been copied over from UnitOfWork
internalExecuteQuery.
|
Object |
ObjectLevelModifyQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
All have done is move code from UnitOfWork.internalExecuteQuery
|
Object |
ModifyAllQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
Override query execution where Session is a UnitOfWork.
|
Object |
DeleteAllQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
This method has to be broken.
|
Object |
DatabaseQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
Override query execution where Session is a UnitOfWork.
|
protected Object |
ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
This code was moved from UnitOfWork.internalExecuteQuery
|
protected Object |
DeleteObjectQuery.executeInUnitOfWorkObjectLevelModifyQuery(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
Code was moved from UnitOfWork.internalExecuteQuery
|
Object |
DirectReadQuery.executeNonCursor()
INTERNAL:
The results are *not* in a cursor, build the collection.
|
protected Object |
DataReadQuery.executeNonCursor()
INTERNAL:
The results are *not* in a cursor, build the collection.
|
protected Object |
ReadObjectQuery.executeObjectLevelReadQuery()
INTERNAL:
Execute the query.
|
protected Object |
ReadAllQuery.executeObjectLevelReadQuery()
INTERNAL:
Execute the query.
|
protected abstract Object |
ObjectLevelReadQuery.executeObjectLevelReadQuery() |
Modifier and Type | Method and Description |
---|---|
void |
UnitOfWork.assignSequenceNumber(Object object)
ADVANCED:
Assign sequence number to the object.
|
void |
UnitOfWork.assignSequenceNumbers()
ADVANCED:
Assign sequence numbers to all new objects registered in this unit of work,
or any new objects reference by any objects registered.
|
void |
UnitOfWork.beginEarlyTransaction()
PUBLIC:
Tell the unit of work to begin a transaction now.
|
void |
DatabaseSession.beginTransaction()
PUBLIC:
Begin a transaction on the database.
|
void |
UnitOfWork.commit()
PUBLIC:
Commit the unit of work to its parent.
|
void |
UnitOfWork.commitAndResume()
PUBLIC:
Commit the unit of work to its parent.
|
void |
UnitOfWork.commitAndResumeOnFailure()
PUBLIC:
Commit the unit of work to its parent.
|
void |
DatabaseSession.commitTransaction()
PUBLIC:
Commit the active database transaction.
|
Connection |
DirectConnector.connect(Properties properties)
INTERNAL:
Connect with the specified properties and return the Connection.
|
Connection |
DefaultConnector.connect(Properties properties)
INTERNAL:
Connect with the specified properties and return the Connection.
|
Object |
Login.connectToDatasource(Accessor accessor)
INTERNAL:
Connect to the datasource, and return the driver level connection object.
|
Object |
DatasourceLogin.connectToDatasource(Accessor accessor)
INTERNAL:
Connect to the datasource, and return the driver level connection object.
|
Object |
DatabaseSession.deleteObject(Object domainObject)
PUBLIC:
Delete the object and all of its privately owned parts from the database.
|
boolean |
Session.doesObjectExist(Object object)
PUBLIC:
Return if the object exists on the database or not.
|
Object |
DatabaseSession.insertObject(Object domainObject)
PUBLIC:
Insert the object and all of its privately owned parts into the database.
|
protected Driver |
DirectConnector.instantiateDriver(Class driverClass)
INTERNAL:
Instantiate the Driver if necessary.
|
protected Class |
DefaultConnector.loadDriver()
INTERNAL:
Ensure that the driver has been loaded and registered with the
DriverManager.
|
void |
DatabaseSession.login()
PUBLIC:
Connect to the database using the predefined login.
|
void |
DatabaseSession.login(Login login)
PUBLIC:
Connect to the database using the given login.
|
void |
DatabaseSession.login(String userName,
String password)
PUBLIC:
Connect to the database using the given user name and password.
|
void |
DatabaseSession.logout()
PUBLIC:
Disconnect from the database.
|
Vector |
Session.readAllObjects(Class domainClass)
PUBLIC:
Read all of the instances of the class from the database.
|
Vector |
Session.readAllObjects(Class domainClass,
Call aCall)
PUBLIC:
Read all the instances of the class from the database returned through execution the Call string.
|
Vector |
Session.readAllObjects(Class domainClass,
Expression selectionCriteria)
PUBLIC:
Read all of the instances of the class from the database matching the given expression.
|
Object |
Session.readObject(Class domainClass)
PUBLIC:
Read the first instance of the class from the database.
|
Object |
Session.readObject(Class domainClass,
Call aCall)
PUBLIC:
Read the first instance of the class from the database returned through execution the Call string.
|
Object |
Session.readObject(Class domainClass,
Expression selectionCriteria)
PUBLIC:
Read the first instance of the class from the database matching the given expression.
|
Object |
Session.readObject(Object object)
PUBLIC:
Use the example object to consruct a read object query by the objects primary key.
|
void |
ExternalTransactionController.registerSynchronizationListener(UnitOfWorkImpl uow,
AbstractSession session)
INTERNAL:
Register a listener on the unit of work.
|
void |
DatabaseSession.rollbackTransaction()
PUBLIC:
Rollback the active database transaction.
|
Object |
DatabaseSession.updateObject(Object domainObject)
PUBLIC:
Update the object and all of its privately owned parts in the database.
|
Object |
DatabaseSession.writeObject(Object domainObject)
PUBLIC:
Write the object and all of its privately owned parts in the database.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerSession.acquireClientConnection(ClientSession clientSession)
INTERNAL:
Allocate the client's connection resource.
|
ClientSession |
ServerSession.acquireClientSession()
PUBLIC:
Return a client session for this server session.
|
ClientSession |
Server.acquireClientSession()
PUBLIC:
Return a client session for this server session.
|
ClientSession |
ServerSession.acquireClientSession(ConnectionPolicy connectionPolicy)
PUBLIC:
Return a client session for this server session.
|
ClientSession |
ServerSession.acquireClientSession(Login login)
PUBLIC:
Return a client session for this server session.
|
ClientSession |
ServerSession.acquireClientSession(String poolName)
PUBLIC:
Return a client session for this server session.
|
void |
ClientSession.connect()
INTERNAL:
Connect the session only (this must be the write connection as the read is shared).
|
void |
ClientSession.disconnect()
INTERNAL:
Disconnect the accessor only (this must be the write connection as the read is shared).
|
Object |
ServerSession.executeCall(Call call,
AbstractRecord translationRow,
DatabaseQuery query)
INTERNAL:
Override to acquire the connection from the pool at the last minute
|
protected void |
ClientSession.finalize()
INTERNAL:
Release in case not released.
|
void |
ClientSession.release()
INTERNAL:
Was PUBLIC: customer will be redirected to
Session . |
void |
ServerSession.releaseClientSession(ClientSession clientSession)
INTERNAL:
Release the clients connection resource.
|
void |
ReadConnectionPool.releaseConnection(Accessor connection)
INTERNAL:
Because connections are not exclusive nothing is required.
|
void |
ExternalConnectionPool.releaseConnection(Accessor connection)
INTERNAL:
When you release an external connection, you simply let it go.
|
void |
ConnectionPool.releaseConnection(Accessor connection)
INTERNAL:
Add the connection as single that a new connection is available.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TableSequenceDefinition.checkIfExist(AbstractSession session)
INTERAL:
Execute the SQL required to insert the sequence row into the sequence table.
|
abstract boolean |
SequenceDefinition.checkIfExist(AbstractSession session)
INTERAL:
Verify whether the sequence exists.
|
boolean |
OracleSequenceDefinition.checkIfExist(AbstractSession session)
INTERNAL:
Check if the sequence object already exists, in which case dont create it.
|
TableCreator |
DefaultTableGenerator.generateFilteredDefaultTableCreator(AbstractSession session)
Generate a default TableCreator object from the TopLink project object,
and porform the table existence check through jdbc table metadata, and filter out
tables which are already in the database.
|
Vector |
SchemaManager.getAllColumnNames(String tableName)
Get a description of table columns available in a catalog.
|
Vector |
SchemaManager.getAllColumnNames(String creatorName,
String tableName)
Get a description of table columns available in a catalog.
|
Vector |
SchemaManager.getAllTableNames()
Get a description of tables available in a catalog.
|
Vector |
SchemaManager.getAllTableNames(String creatorName)
Get a description of table columns available in a catalog.
|
Vector |
SchemaManager.getColumnInfo(String catalog,
String schema,
String tableName,
String columnName)
Get a description of table columns available in a catalog.
|
Vector |
SchemaManager.getTableInfo(String catalog,
String schema,
String tableName,
String[] types)
Get a description of tables available in a catalog.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractTransactionController.registerSynchronizationListener(UnitOfWorkImpl uow,
AbstractSession session)
INTERNAL:
Associate the given unit of work and TopLink session with the current external
transaction.
|
Copyright © 2021. All rights reserved.