Modifier and Type | Method and Description |
---|---|
AbstractRecord |
ClassDescriptor.buildNestedRowFromFieldValue(Object fieldValue)
INTERNAL:
Build and return the nested database row from the specified field value.
|
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 |
InheritancePolicy.addClassIndicatorFieldToInsertRow(AbstractRecord databaseRow)
INTERNAL:
Add abstract class indicator information to the database row.
|
void |
InheritancePolicy.addClassIndicatorFieldToRow(AbstractRecord databaseRow)
INTERNAL:
Add abstract class indicator information to the database row.
|
void |
VersionLockingPolicy.addLockFieldsToUpdateRow(AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
Add update fields for template row.
|
Expression |
VersionLockingPolicy.buildDeleteExpression(DatabaseTable table,
Expression mainExpression,
AbstractRecord row)
INTERNAL:
When given an expression, this method will return a new expression with
the optimistic locking values included.
|
Object |
ClassDescriptor.buildFieldValueFromNestedRow(AbstractRecord nestedRow,
AbstractSession session)
INTERNAL:
Build and return the field value from the specified nested database row.
|
Expression |
VersionLockingPolicy.buildUpdateExpression(DatabaseTable table,
Expression mainExpression,
AbstractRecord row,
AbstractRecord row2)
INTERNAL:
When given an expression, this method will return a new expression
with the optimistic locking values included.
|
Class |
InheritancePolicy.classFromRow(AbstractRecord rowFromDatabase,
AbstractSession session)
INTERNAL:
This method is invoked only for the abstract descriptors.
|
Object |
VersionLockingPolicy.getValueToPutInCache(AbstractRecord row,
AbstractSession session)
INTERNAL:
Return the value that should be stored in the identity map.
|
Object |
TimestampLockingPolicy.getValueToPutInCache(AbstractRecord row,
AbstractSession session)
INTERNAL:
Return the value that should be stored in the identity map.
|
boolean |
VersionLockingPolicy.isNewerVersion(AbstractRecord databaseRow,
Object domainObject,
Vector primaryKey,
AbstractSession session)
INTERNAL:
Compares the value from the row and from the object (or cache).
|
boolean |
TimestampLockingPolicy.isNewerVersion(AbstractRecord databaseRow,
Object domainObject,
Vector primaryKey,
AbstractSession session)
INTERNAL:
Compares the value from the row and from the object (or cache).
|
Modifier and Type | Field and Description |
---|---|
protected AbstractRecord |
DatabaseException.queryArguments |
protected AbstractRecord |
QueryException.queryArguments |
Modifier and Type | Method and Description |
---|---|
static DescriptorException |
DescriptorException.illegalAccessWhileInvokingRowExtractionMethod(AbstractRecord row,
Method method,
ClassDescriptor descriptor,
Throwable exception) |
static DescriptorException |
DescriptorException.missingClassIndicatorField(AbstractRecord row,
ClassDescriptor descriptor) |
static QueryException |
QueryException.noConcreteClassIndicated(AbstractRecord row,
DatabaseQuery query) |
static QueryException |
QueryException.nullPrimaryKeyInBuildingObject(DatabaseQuery query,
AbstractRecord databaseRow) |
void |
DatabaseException.setQueryArguments(AbstractRecord queryArguments)
PUBLIC:
Set the query argements used in the original query when exception is thrown
|
void |
QueryException.setQueryArguments(AbstractRecord queryArguments)
INTERNAL:
Set the query argements used in the original query when exception is thrown
|
static DescriptorException |
DescriptorException.targetInvocationWhileInvokingRowExtractionMethod(AbstractRecord row,
Method method,
ClassDescriptor descriptor,
Throwable exception) |
Modifier and Type | Method and Description |
---|---|
boolean |
Expression.doesConform(Object object,
AbstractSession session,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
INTERNAL:
Check if the object conforms to the expression in memory.
|
boolean |
Expression.doesConform(Object object,
AbstractSession session,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean objectIsUnregistered)
INTERNAL:
New parameter added to doesConform for feature 2612601
|
boolean |
Expression.extractPrimaryKeyValues(boolean requireExactMatch,
ClassDescriptor descriptor,
AbstractRecord primaryKeyRow,
AbstractRecord translationRow)
INTERNAL:
Extract the primary key from the expression into the row.
|
Object |
Expression.valueFromObject(Object object,
AbstractSession session,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
INTERNAL:
Return the value for in memory comparison.
|
Object |
ExpressionBuilder.valueFromObject(Object object,
AbstractSession session,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean isObjectUnregistered)
INTERNAL:
The expression builder represent the entire object, just return it.
|
Object |
Expression.valueFromObject(Object object,
AbstractSession session,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean isObjectUnregistered)
INTERNAL:
Return the value for in memory comparison.
|
Modifier and Type | Method and Description |
---|---|
AbstractRecord |
DatabaseCall.buildOutputRow(CallableStatement statement)
INTERNAL:
Return DatabaseRow containing output fields and values.
|
AbstractRecord |
DatabaseAccessor.buildOutputRow(CallableStatement statement,
DatabaseCall call,
AbstractSession session)
Build a row from the output parameters of a sp call.
|
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.
|
protected AbstractRecord |
DatabaseAccessor.fetchRow(Vector fields,
ResultSet resultSet,
ResultSetMetaData metaData,
AbstractSession session)
Return a new DatabaseRow.
|
AbstractRecord |
DatabaseCall.getContexts()
INTERNAL:
Return the contexts (for LOB)
|
Modifier and Type | Method and Description |
---|---|
Object |
DatabaseAccessor.basicExecuteCall(Call call,
AbstractRecord translationRow,
AbstractSession session)
Execute the call.
|
protected abstract Object |
DatasourceAccessor.basicExecuteCall(Call call,
AbstractRecord row,
AbstractSession session)
Execute the call to driver level datasource.
|
Object |
DatabaseAccessor.executeCall(Call call,
AbstractRecord translationRow,
AbstractSession session)
Execute the call.
|
Object |
DatasourceAccessor.executeCall(Call call,
AbstractRecord translationRow,
AbstractSession session)
Execute the call.
|
Object |
Accessor.executeCall(Call call,
AbstractRecord translationRow,
AbstractSession session)
Execute the call.
|
protected Object |
DatasourceCall.getValueForInOutParameter(Object parameter,
AbstractRecord translationRow,
AbstractRecord modifyRow,
AbstractSession session)
INTERNAL:
Returns value for INOUT parameter.
|
protected Object |
DatasourceCall.getValueForInParameter(Object parameter,
AbstractRecord translationRow,
AbstractRecord modifyRow,
AbstractSession session,
boolean shouldBind)
INTERNAL:
Returns value for IN parameter.
|
Statement |
DatabaseCall.prepareStatement(DatabaseAccessor accessor,
AbstractRecord translationRow,
AbstractSession session)
INTERNAL:
Prepare the JDBC statement, this may be parameterize or a call statement.
|
void |
DatabaseCall.setContexts(AbstractRecord contexts)
INTERNAL:
Set the contexts (for LOB)
|
void |
QueryStringCall.translate(AbstractRecord translationRow,
AbstractRecord modifyRow,
AbstractSession session)
Allow the call to translate from the translation for predefined calls.
|
void |
DatasourceCall.translate(AbstractRecord translationRow,
AbstractRecord modifyRow,
AbstractSession session)
Allow the call to translate from the translation for predefined calls.
|
void |
DatabaseCall.translate(AbstractRecord translationRow,
AbstractRecord modifyRow,
AbstractSession session)
INTERNAL:
Allow the call to translate from the translation for predefined calls.
|
void |
QueryStringCall.translateQueryString(AbstractRecord translationRow,
AbstractRecord modifyRow,
AbstractSession session)
Allow the call to translate from the translation for predefined calls.
|
void |
DatasourceCall.translateQueryString(AbstractRecord translationRow,
AbstractRecord modifyRow,
AbstractSession session)
INTERNAL:
Allow the call to translate from the translation for predefined calls.
|
Modifier and Type | Method and Description |
---|---|
AbstractRecord |
ObjectBuilder.buildRow(AbstractRecord databaseRow,
Object object,
AbstractSession session)
Build the row representation of an object.
|
AbstractRecord |
ObjectBuilder.buildRow(Object object,
AbstractSession session)
Build the row representation of an object.
|
AbstractRecord |
ObjectBuilder.buildRowForShallowDelete(AbstractRecord databaseRow,
Object object,
AbstractSession session)
Build the row representation of the object for update.
|
AbstractRecord |
ObjectBuilder.buildRowForShallowDelete(Object object,
AbstractSession session)
Build the row representation of the object for update.
|
AbstractRecord |
ObjectBuilder.buildRowForShallowInsert(AbstractRecord databaseRow,
Object object,
AbstractSession session)
Build the row representation of the object for update.
|
AbstractRecord |
ObjectBuilder.buildRowForShallowInsert(Object object,
AbstractSession session)
Build the row representation of the object for update.
|
AbstractRecord |
ObjectBuilder.buildRowForShallowInsertWithChangeSet(AbstractRecord databaseRow,
ObjectChangeSet objectChangeSet,
AbstractSession session)
Build the row representation of the object for update.
|
AbstractRecord |
ObjectBuilder.buildRowForShallowInsertWithChangeSet(ObjectChangeSet objectChangeSet,
AbstractSession session)
Build the row representation of the object for update.
|
AbstractRecord |
ObjectBuilder.buildRowForTranslation(Object object,
AbstractSession session)
Build the row representation of an object.
|
AbstractRecord |
ObjectBuilder.buildRowForUpdate(WriteObjectQuery query)
Build the row representation of the object for update.
|
AbstractRecord |
ObjectBuilder.buildRowForUpdateWithChangeSet(WriteObjectQuery query)
Build the row representation of the object for update.
|
AbstractRecord |
ObjectBuilder.buildRowForWhereClause(ObjectLevelModifyQuery query)
Build the row representation of an object.
|
AbstractRecord |
ObjectBuilder.buildRowFromPrimaryKeyValues(Vector key,
AbstractSession session)
Build the row from the primary key values.
|
AbstractRecord |
ObjectBuilder.buildRowWithChangeSet(AbstractRecord databaseRow,
ObjectChangeSet objectChangeSet,
AbstractSession session)
Build the row representation of an object.
|
AbstractRecord |
ObjectBuilder.buildRowWithChangeSet(ObjectChangeSet objectChangeSet,
AbstractSession session)
Build the row representation of an object.
|
AbstractRecord |
ObjectBuilder.buildTemplateInsertRow(AbstractSession session)
Build the row of all of the fields used for insertion.
|
AbstractRecord |
ObjectBuilder.buildTemplateUpdateRow(AbstractSession session)
Build the row representation of the object for update.
|
AbstractRecord |
ObjectBuilder.createRecord()
Create a new row/record for the object builder.
|
AbstractRecord |
ObjectBuilder.createRecord(int size)
Create a new row/record for the object builder.
|
AbstractRecord |
ObjectBuilder.extractPrimaryKeyRowFromExpression(Expression expression,
AbstractRecord translationRow,
AbstractSession session)
Return the row with primary keys and their values from the given expression.
|
AbstractRecord |
ObjectBuilder.extractPrimaryKeyRowFromObject(Object domainObject,
AbstractSession session)
Extract primary key attribute values from the domainObject.
|
Modifier and Type | Method and Description |
---|---|
void |
OptimisticLockingPolicy.addLockFieldsToUpdateRow(AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
Add update fields for template row.
|
void |
ObjectBuilder.addPrimaryKeyForNonDefaultTable(AbstractRecord databaseRow)
Add the primary key and its value to the databaseRow for all the non default tables.
|
void |
ObjectBuilder.addPrimaryKeyForNonDefaultTable(AbstractRecord databaseRow,
Object object,
AbstractSession session)
Add the primary key and its value to the databaseRow for all the non default tables.
|
void |
ObjectBuilder.assignReturnRow(Object object,
AbstractSession writeSession,
AbstractRecord row)
INTERNAL:
Assign returned row to object
|
void |
ObjectBuilder.assignReturnValueForField(Object object,
ReadObjectQuery query,
AbstractRecord row,
DatabaseField field,
Collection handledMappings)
INTERNAL:
Assign values from objectRow to the object through all the mappings corresponding to the field.
|
protected void |
ObjectBuilder.assignReturnValueToMapping(Object object,
ReadObjectQuery query,
AbstractRecord row,
DatabaseField field,
DatabaseMapping mapping,
Collection handledMappings)
INTERNAL:
Assign values from objectRow to the object through the mapping.
|
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.
|
Expression |
ObjectBuilder.buildDeleteExpression(DatabaseTable table,
AbstractRecord row)
Build and return the expression to use as the where clause to delete an object.
|
Expression |
OptimisticLockingPolicy.buildDeleteExpression(DatabaseTable table,
Expression mainExpression,
AbstractRecord row)
INTERNAL:
When given an expression, this method will return a new expression with
the optimistic locking values included.
|
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.
|
void |
ObjectBuilder.buildPrimaryKeyAttributesIntoObject(Object original,
AbstractRecord databaseRow,
ObjectBuildingQuery query)
INTERNAL:
Build just the primary key mappings into the object.
|
AbstractRecord |
ObjectBuilder.buildRow(AbstractRecord databaseRow,
Object object,
AbstractSession session)
Build the row representation of an object.
|
AbstractRecord |
ObjectBuilder.buildRowForShallowDelete(AbstractRecord databaseRow,
Object object,
AbstractSession session)
Build the row representation of the object for update.
|
AbstractRecord |
ObjectBuilder.buildRowForShallowInsert(AbstractRecord databaseRow,
Object object,
AbstractSession session)
Build the row representation of the object for update.
|
AbstractRecord |
ObjectBuilder.buildRowForShallowInsertWithChangeSet(AbstractRecord databaseRow,
ObjectChangeSet objectChangeSet,
AbstractSession session)
Build the row representation of the object for update.
|
AbstractRecord |
ObjectBuilder.buildRowWithChangeSet(AbstractRecord databaseRow,
ObjectChangeSet objectChangeSet,
AbstractSession session)
Build the row representation of an object.
|
void |
ObjectBuilder.buildTemplateInsertRow(AbstractSession session,
AbstractRecord databaseRow) |
Expression |
ObjectBuilder.buildUpdateExpression(DatabaseTable table,
AbstractRecord transactionRow,
AbstractRecord modifyRow)
Build and return the expression to use as the where clause to an update object.
|
Expression |
OptimisticLockingPolicy.buildUpdateExpression(DatabaseTable table,
Expression mainExpression,
AbstractRecord translationRow,
AbstractRecord modifyRow)
INTERNAL:
When given an expression, this method will return a new expression with
the optimistic locking values included.
|
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.
|
protected void |
ObjectBuilder.copyQueryInfoToCacheKey(CacheKey cacheKey,
ObjectBuildingQuery query,
AbstractRecord databaseRow,
AbstractSession session,
ClassDescriptor concreteDescriptor)
Initialize a cache key.
|
Vector |
ObjectBuilder.extractPrimaryKeyFromExpression(boolean requiresExactMatch,
Expression expression,
AbstractRecord translationRow,
AbstractSession session)
Return the row with primary keys and their values from the given expression.
|
Vector |
ObjectBuilder.extractPrimaryKeyFromRow(AbstractRecord databaseRow,
AbstractSession session)
Extract primary key values from the specified row.
|
AbstractRecord |
ObjectBuilder.extractPrimaryKeyRowFromExpression(Expression expression,
AbstractRecord translationRow,
AbstractSession session)
Return the row with primary keys and their values from the given expression.
|
Object |
OptimisticLockingPolicy.getValueToPutInCache(AbstractRecord row,
AbstractSession session)
INTERNAL:
Return the value that should be stored in the identity map.
|
Object |
ObjectBuilder.instantiateWorkingCopyCloneFromRow(AbstractRecord row,
ObjectBuildingQuery query)
It is now possible to build working copy clones directly from rows.
|
boolean |
OptimisticLockingPolicy.isNewerVersion(AbstractRecord databaseRow,
Object domainObject,
Vector primaryKey,
AbstractSession session)
INTERNAL:
Returns true if the value stored with the domainObject is more recent
than the value in the row.
|
Modifier and Type | Field and Description |
---|---|
protected AbstractRecord |
SQLModifyStatement.modifyRow |
protected AbstractRecord |
ExpressionSQLPrinter.translationRow
Stores the row.
|
protected AbstractRecord |
SQLStatement.translationRow |
Modifier and Type | Method and Description |
---|---|
AbstractRecord |
SQLModifyStatement.getModifyRow() |
protected AbstractRecord |
ExpressionSQLPrinter.getTranslationRow()
INTERNAL:
Return the row for translation
|
AbstractRecord |
SQLStatement.getTranslationRow()
INTERNAL:
Return the row for translation
|
Modifier and Type | Method and Description |
---|---|
boolean |
LogicalExpression.doesConform(Object object,
AbstractSession session,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean objectIsUnregistered)
INTERNAL:
Check if the object conforms to the expression in memory.
|
boolean |
RelationExpression.doesConform(Object object,
AbstractSession session,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean isObjectUnregistered)
INTERNAL:
Check if the object conforms to the expression in memory.
|
boolean |
FunctionExpression.doesConform(Object object,
AbstractSession session,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean isObjectUnregistered)
INTERNAL:
Check if the object conforms to the expression in memory.
|
boolean |
LogicalExpression.extractPrimaryKeyValues(boolean requireExactMatch,
ClassDescriptor descriptor,
AbstractRecord primaryKeyRow,
AbstractRecord translationRow)
INTERNAL:
Extract the primary key from the expression into the row.
|
boolean |
RelationExpression.extractPrimaryKeyValues(boolean requireExactMatch,
ClassDescriptor descriptor,
AbstractRecord primaryKeyRow,
AbstractRecord translationRow)
INTERNAL:
Extract the primary key from the expression into the row.
|
Object |
ParameterExpression.getValue(AbstractRecord translationRow,
AbstractSession session)
Extract the value from the row.
|
void |
SQLModifyStatement.setModifyRow(AbstractRecord row) |
protected void |
ExpressionSQLPrinter.setTranslationRow(AbstractRecord theRow)
INTERNAL:
Set the row for translation
|
void |
SQLStatement.setTranslationRow(AbstractRecord theRow)
INTERNAL:
Set the row for translation
|
Object |
FieldExpression.valueFromObject(Object object,
AbstractSession session,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean isObjectUnregistered)
INTERNAL:
Return the value for in memory comparison.
|
Object |
ParameterExpression.valueFromObject(Object object,
AbstractSession session,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean isObjectUnregistered)
INTERNAL:
Return the value for in memory comparison.
|
Object |
ConstantExpression.valueFromObject(Object object,
AbstractSession session,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean isObjectUnregistered)
INTERNAL:
Return the value for in memory comparison.
|
Object |
LiteralExpression.valueFromObject(Object object,
AbstractSession session,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean isObjectUnregistered)
INTERNAL:
Return the value for in memory comparison.
|
Object |
QueryKeyExpression.valueFromObject(Object object,
AbstractSession session,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean isObjectUnregistered)
INTERNAL:
Return the value for in memory comparison.
|
Object |
FunctionExpression.valueFromObject(Object object,
AbstractSession session,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean isObjectUnregistered)
INTERNAL:
Return the value for in memory comparison.
|
Constructor and Description |
---|
ExpressionSQLPrinter(AbstractSession session,
AbstractRecord translationRow,
SQLCall call,
boolean printQualifiedNames) |
Modifier and Type | Field and Description |
---|---|
protected AbstractRecord |
DatabaseValueHolder.row
Stores the row representation of the object.
|
Modifier and Type | Method and Description |
---|---|
abstract AbstractRecord |
IndirectionPolicy.extractReferenceRow(Object referenceObject)
INTERNAL:
Return the reference row for the reference object.
|
AbstractRecord |
TransparentIndirectionPolicy.extractReferenceRow(Object referenceObject)
INTERNAL:
Return the reference row for the reference object.
|
AbstractRecord |
NoIndirectionPolicy.extractReferenceRow(Object referenceObject)
INTERNAL:
Return the reference row for the reference object.
|
AbstractRecord |
BasicIndirectionPolicy.extractReferenceRow(Object referenceObject)
INTERNAL:
Return the reference row for the reference object.
|
AbstractRecord |
DatabaseValueHolder.getRow()
Return the row.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseValueHolder.setRow(AbstractRecord row)
Set the row.
|
Object |
TransparentIndirectionPolicy.valueFromMethod(Object object,
AbstractRecord row,
AbstractSession session)
INTERNAL:
Return the value to be stored in the object's attribute.
|
abstract Object |
IndirectionPolicy.valueFromQuery(ReadQuery query,
AbstractRecord row,
AbstractSession session)
INTERNAL:
Return the value to be stored in the object's attribute.
|
Object |
TransparentIndirectionPolicy.valueFromQuery(ReadQuery query,
AbstractRecord row,
AbstractSession session)
INTERNAL:
Return the value to be stored in the object's attribute.
|
Object |
NoIndirectionPolicy.valueFromQuery(ReadQuery query,
AbstractRecord row,
AbstractSession session)
INTERNAL:
Return the value to be stored in the object's attribute.
|
Object |
BasicIndirectionPolicy.valueFromQuery(ReadQuery query,
AbstractRecord row,
AbstractSession session)
INTERNAL:
Return the value to be stored in the object's attribute.
|
Object |
TransparentIndirectionPolicy.valueFromQuery(ReadQuery query,
AbstractRecord row,
Object object,
AbstractSession session)
INTERNAL:
A combination of valueFromQuery and valueFromRow(object).
|
Constructor and Description |
---|
QueryBasedValueHolder(ReadQuery query,
AbstractRecord row,
AbstractSession session)
Initialize the query-based value holder.
|
UnitOfWorkQueryValueHolder(ValueHolderInterface attributeValue,
Object clone,
ForeignReferenceMapping mapping,
AbstractRecord row,
UnitOfWorkImpl unitOfWork) |
Modifier and Type | Method and Description |
---|---|
AbstractRecord |
DatabaseQueryMechanism.getModifyRow()
Convenience method
|
protected AbstractRecord |
DatabaseQueryMechanism.getTranslationRow()
Convenience method
|
AbstractRecord |
ExpressionQueryMechanism.selectOneRow()
Read a single row from the database.
|
abstract AbstractRecord |
DatabaseQueryMechanism.selectOneRow()
Read and return a row from the database.
|
AbstractRecord |
DatasourceCallQueryMechanism.selectOneRow()
Read a single row from the database.
|
AbstractRecord |
ExpressionQueryMechanism.selectOneRowFromConcreteTable()
Read a single row from the database.
|
AbstractRecord |
ExpressionQueryMechanism.selectOneRowFromTable()
Read a single row from the database.
|
abstract AbstractRecord |
DatabaseQueryMechanism.selectRowForDoesExist(DatabaseField field)
Read and return a row from the database for an existence check.
|
AbstractRecord |
DatasourceCallQueryMechanism.selectRowForDoesExist(DatabaseField field)
Perform a does exist check
|
Modifier and Type | Method and Description |
---|---|
Object |
ExpressionQueryMechanism.checkCacheForObject(AbstractRecord translationRow,
AbstractSession session)
Perform a cache lookup for the query
This is only called from read object query.
|
Object |
DatabaseQueryMechanism.checkCacheForObject(AbstractRecord translationRow,
AbstractSession session)
Perform a cache lookup for the query.
|
void |
DatabaseQueryMechanism.updateChangeSet(ClassDescriptor desc,
ObjectChangeSet objectChangeSet,
AbstractRecord row,
Object object)
Update the change set with all of the field values in the row.
|
Modifier and Type | Method and Description |
---|---|
Object |
AbstractSession.executeCall(Call call,
AbstractRecord translationRow,
DatabaseQuery query)
INTERNAL:
Overridden by subclasses that do more than just execute the call.
|
Object |
IsolatedClientSession.executeCall(Call call,
AbstractRecord translationRow,
DatabaseQuery query)
INTERNAL:
Isolated sessions must forward call execution to its parent, unless in a transaction.
|
Object |
UnitOfWorkImpl.executeCall(Call call,
AbstractRecord translationRow,
DatabaseQuery query)
INTERNAL:
Override From session.
|
Object |
AbstractSession.executeQuery(DatabaseQuery query,
AbstractRecord row)
INTERNAL:
Return the results from exeucting the database query.
|
Vector |
UnitOfWorkIdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean shouldReturnInvalidatedObjects)
INTERNAL:
This method overrides the getAllFromIdentityMap method in Session.
|
Vector |
UnitOfWorkImpl.getAllFromNewObjects(Expression selectionCriteria,
Class theClass,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
INTERNAL:
Return any new objects matching the expression.
|
Object |
UnitOfWorkImpl.getObjectFromNewObjects(Expression selectionCriteria,
Class theClass,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
INTERNAL:
Return any new object matching the expression.
|
Object |
AbstractSession.internalExecuteQuery(DatabaseQuery query,
AbstractRecord databaseRow)
INTERNAL:
Return the results from exeucting the database query.
|
Object |
UnitOfWorkImpl.internalExecuteQuery(DatabaseQuery query,
AbstractRecord databaseRow)
INTERNAL:
Return the results from exeucting the database query.
|
boolean |
IdentityMapAccessor.isValid(AbstractRecord rowContainingPrimaryKey,
Class theClass)
ADVANCED:
Return true if this object is valid in TopLink's identity maps
return false otherwise
|
void |
AbstractRecord.mergeFrom(AbstractRecord row)
INTERNAL:
Merge the provided row into this row.
|
IdentityHashtable |
UnitOfWorkImpl.scanForConformingInstances(Expression selectionCriteria,
Class referenceClass,
AbstractRecord arguments,
ObjectLevelReadQuery query)
INTERNAL:
Scans the UnitOfWork identity map for conforming instances.
|
void |
UnitOfWorkImpl.storeDeferredModifyAllQuery(DatabaseQuery query,
AbstractRecord translationRow)
INTERNAL:
Store the deferred UpdateAllQuery's from the UoW in the list.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractRecord |
AggregateObjectMapping.buildNullReferenceRow()
INTERNAL:
Build and return a database row with all the reference
fields set to nulls.
|
protected AbstractRecord |
AggregateObjectMapping.buildRowFromAggregate(Object object,
Object attributeValue,
AbstractSession session)
INTERNAL:
Build and return a database row built with the values from
the specified attribute value.
|
protected AbstractRecord |
AggregateObjectMapping.buildRowFromAggregate(Object object,
Object attributeValue,
AbstractSession session,
boolean forceWriteOfReadOnlyClasses)
INTERNAL:
Build and return a database row built with the values from
the specified attribute value.
|
protected AbstractRecord |
AggregateObjectMapping.buildRowFromAggregateForUpdate(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
Build and return a database row built with the changed values from
the specified attribute value.
|
protected AbstractRecord |
AggregateObjectMapping.buildRowFromAggregateWithChangeRecord(ChangeRecord changeRecord,
ObjectChangeSet objectChangeSet,
AbstractSession session)
INTERNAL:
Build and return a database row built with the values from
the specified attribute value.
|
protected AbstractRecord |
AggregateObjectMapping.buildRowFromAggregateWithChangeRecord(ChangeRecord changeRecord,
ObjectChangeSet objectChangeSet,
AbstractSession session,
boolean forceWriteOfReadOnlyClasses)
INTERNAL:
Build and return a database row built with the values from
the specified attribute value.
|
protected AbstractRecord |
AggregateObjectMapping.buildTemplateInsertRow(AbstractSession session)
INTERNAL:
Build and return a "template" database row with all the fields
set to null.
|
AbstractRecord |
ObjectReferenceMapping.extractPrimaryKeyRowForSourceObject(Object domainObject,
AbstractSession session)
INTERNAL:
Extract the reference pk for rvh usage in remote model.
|
AbstractRecord |
AggregateCollectionMapping.getAggregateRow(ObjectLevelModifyQuery query,
Object object)
INTERNAL:
return the aggregate databaseRow with the primary keys from the source table and targer table
|
AbstractRecord |
ForeignReferenceMapping.trimRowForJoin(AbstractRecord row,
JoinedAttributeManager joinManager,
AbstractSession executionSession)
INTERNAL:
|
AbstractRecord |
ForeignReferenceMapping.trimRowForJoin(AbstractRecord row,
Object value,
AbstractSession executionSession)
INTERNAL:
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
AggregateObjectMapping.allAggregateFieldsAreNull(AbstractRecord databaseRow)
INTERNAL:
Return whether all the aggregate fields in the specified
row are NULL.
|
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.
|
void |
AggregateObjectMapping.buildCloneFromRow(AbstractRecord databaseRow,
JoinedAttributeManager joinManager,
Object clone,
ObjectBuildingQuery sourceQuery,
UnitOfWorkImpl unitOfWork,
AbstractSession executionSession)
INTERNAL:
A combination of readFromRowIntoObject and buildClone.
|
void |
ForeignReferenceMapping.buildCloneFromRow(AbstractRecord databaseRow,
JoinedAttributeManager joinManager,
Object clone,
ObjectBuildingQuery sourceQuery,
UnitOfWorkImpl unitOfWork,
AbstractSession executionSession)
INTERNAL:
A combination of readFromRowIntoObject and buildClone.
|
void |
AggregateMapping.buildCloneFromRow(AbstractRecord databaseRow,
JoinedAttributeManager joinManager,
Object clone,
ObjectBuildingQuery sourceQuery,
UnitOfWorkImpl unitOfWork,
AbstractSession executionSession)
INTERNAL:
A combination of readFromRowIntoObject and buildClone.
|
abstract void |
DatabaseMapping.buildCloneFromRow(AbstractRecord databaseRow,
JoinedAttributeManager joinManager,
Object clone,
ObjectBuildingQuery sourceQuery,
UnitOfWorkImpl unitOfWork,
AbstractSession executionSession)
INTERNAL:
A combination of readFromRowIntoObject and buildClone.
|
void |
AggregateObjectMapping.buildShallowOriginalFromRow(AbstractRecord databaseRow,
Object original,
JoinedAttributeManager joinManager,
AbstractSession executionSession)
INTERNAL:
Builds a shallow original object.
|
void |
DatabaseMapping.buildShallowOriginalFromRow(AbstractRecord databaseRow,
Object original,
ObjectBuildingQuery query,
AbstractSession executionSession)
INTERNAL:
Builds a shallow original object.
|
void |
OneToOneMapping.buildShallowOriginalFromRow(AbstractRecord databaseRow,
Object original,
ObjectBuildingQuery query,
AbstractSession executionSession)
INTERNAL:
Builds a shallow original object.
|
UnitOfWorkValueHolder |
ObjectReferenceMapping.createUnitOfWorkValueHolder(ValueHolderInterface attributeValue,
Object original,
Object clone,
AbstractRecord row,
UnitOfWorkImpl unitOfWork,
boolean buildDirectlyFromRow)
INTERNAL:
Builder the unit of work value holder.
|
UnitOfWorkValueHolder |
ForeignReferenceMapping.createUnitOfWorkValueHolder(ValueHolderInterface attributeValue,
Object original,
Object clone,
AbstractRecord row,
UnitOfWorkImpl unitOfWork,
boolean buildDirectlyFromRow)
INTERNAL:
Builder the unit of work value holder.
|
UnitOfWorkValueHolder |
DatabaseMapping.createUnitOfWorkValueHolder(ValueHolderInterface attributeValue,
Object original,
Object clone,
AbstractRecord row,
UnitOfWorkImpl unitOfWork,
boolean buildDirectlyFromRow)
INTERNAL:
Builder the unit of work value holder.
|
protected Vector |
OneToOneMapping.extractForeignKeyFromRow(AbstractRecord row,
AbstractSession session)
INTERNAL:
Extract the foreign key value from the source row.
|
protected Vector |
DirectCollectionMapping.extractKeyFromReferenceRow(AbstractRecord row,
AbstractSession session)
INTERNAL:
Extract the source primary key value from the reference direct row.
|
protected Vector |
ManyToManyMapping.extractKeyFromRelationRow(AbstractRecord row,
AbstractSession session)
INTERNAL:
Extract the source primary key value from the relation row.
|
protected Vector |
OneToManyMapping.extractKeyFromRow(AbstractRecord row,
AbstractSession session)
Extract the key field values from the specified row.
|
protected Vector |
AggregateCollectionMapping.extractKeyFromTargetRow(AbstractRecord row,
AbstractSession session)
INTERNAL:
Extract the source primary key value from the target row.
|
protected Vector |
DirectCollectionMapping.extractPrimaryKeyFromRow(AbstractRecord row,
AbstractSession session)
INTERNAL:
Extract the primary key value from the source row.
|
protected Vector |
ManyToManyMapping.extractPrimaryKeyFromRow(AbstractRecord row,
AbstractSession session)
INTERNAL:
Extract the primary key value from the source row.
|
protected Vector |
AggregateCollectionMapping.extractPrimaryKeyFromRow(AbstractRecord row,
AbstractSession session)
INTERNAL:
Extract the primary key value from the source row.
|
Vector |
ObjectReferenceMapping.extractPrimaryKeysForReferenceObjectFromRow(AbstractRecord row)
INTERNAL:
Return the primary key for the reference object (i.e.
|
Vector |
OneToOneMapping.extractPrimaryKeysForReferenceObjectFromRow(AbstractRecord row)
INTERNAL:
Return the primary key for the reference object (i.e.
|
Object |
DirectMapMapping.extractResultFromBatchQuery(DatabaseQuery query,
AbstractRecord databaseRow,
AbstractSession session,
AbstractRecord argumentRow)
INTERNAL:
Ovewrite super method
|
protected Object |
AggregateObjectMapping.getMatchingAttributeValueFromObject(AbstractRecord row,
Object targetObject,
AbstractSession session,
ClassDescriptor descriptor)
INTERNAL:
This is used to preserve object identity during a refreshObject()
query.
|
protected void |
DirectCollectionMapping.prepareTranslationRow(AbstractRecord translationRow,
Object object,
AbstractSession session)
INTERNAL:
The translation row may require additional fields than the primary key if the mapping in not on the primary key.
|
protected void |
ManyToManyMapping.prepareTranslationRow(AbstractRecord translationRow,
Object object,
AbstractSession session)
INTERNAL:
The translation row may require additional fields than the primary key if the mapping in not on the primary key.
|
protected void |
CollectionMapping.prepareTranslationRow(AbstractRecord translationRow,
Object object,
AbstractSession session)
INTERNAL:
copies the non primary key information into the row currently used only in ManyToMany
|
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 |
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.
|
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.
|
AbstractRecord |
ForeignReferenceMapping.trimRowForJoin(AbstractRecord row,
JoinedAttributeManager joinManager,
AbstractSession executionSession)
INTERNAL:
|
AbstractRecord |
ForeignReferenceMapping.trimRowForJoin(AbstractRecord row,
Object value,
AbstractSession executionSession)
INTERNAL:
|
Object |
DatabaseMapping.valueFromRow(AbstractRecord row,
JoinedAttributeManager joinManager,
ObjectBuildingQuery query)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
Object |
DirectCollectionMapping.valueFromRow(AbstractRecord row,
JoinedAttributeManager joinManager,
ObjectBuildingQuery query,
AbstractSession session)
INTERNAL:
Return the value of the reference attribute or a value holder.
|
Object |
ForeignReferenceMapping.valueFromRow(AbstractRecord row,
JoinedAttributeManager joinManager,
ObjectBuildingQuery query,
AbstractSession executionSession)
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 |
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.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.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.
|
protected Object |
OneToOneMapping.valueFromRowInternalWithJoin(AbstractRecord row,
JoinedAttributeManager joinManager,
AbstractSession executionSession)
INTERNAL:
If the query used joining or partial attributes, build the target object directly.
|
void |
AggregateObjectMapping.writeFromAttributeIntoRow(Object attribute,
AbstractRecord row,
AbstractSession session)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
DatabaseMapping.writeFromAttributeIntoRow(Object attribute,
AbstractRecord row,
AbstractSession session)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
OneToOneMapping.writeFromAttributeIntoRow(Object attribute,
AbstractRecord row,
AbstractSession session)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
AggregateObjectMapping.writeFromObjectIntoRow(Object object,
AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
Get the attribute value from the object and add the appropriate
values to the specified database row.
|
void |
DatabaseMapping.writeFromObjectIntoRow(Object object,
AbstractRecord row,
AbstractSession session)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
OneToOneMapping.writeFromObjectIntoRow(Object object,
AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
Get a value from the object and set that in the respective field of the row.
|
void |
DatabaseMapping.writeFromObjectIntoRowForShallowDelete(Object object,
AbstractRecord row,
AbstractSession session)
INTERNAL:
This row is built for shallow delete which happens in case of circular dependencies for bidirectional deletes.
|
void |
OneToOneMapping.writeFromObjectIntoRowForShallowDelete(Object object,
AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
This row is built for shallow update which happens in case of bidirectional deletes.
|
void |
DatabaseMapping.writeFromObjectIntoRowForShallowInsert(Object object,
AbstractRecord row,
AbstractSession session)
INTERNAL:
This row is built for shallow insert which happens in case of of circular dependencies bidirectional inserts.
|
void |
OneToOneMapping.writeFromObjectIntoRowForShallowInsert(Object object,
AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
This row is built for shallow insert which happens in case of bidirectional inserts.
|
void |
DatabaseMapping.writeFromObjectIntoRowForShallowInsertWithChangeRecord(ChangeRecord changeRecord,
AbstractRecord row,
AbstractSession session)
INTERNAL:
This row is built for shallow insert which happens in case of bidirectional inserts.
|
void |
OneToOneMapping.writeFromObjectIntoRowForShallowInsertWithChangeRecord(ChangeRecord ChangeRecord,
AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
This row is built for shallow insert which happens in case of bidirectional inserts.
|
protected void |
OneToOneMapping.writeFromObjectIntoRowForShallowOperation(Object object,
AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
This row is built for shallow insert or delete which happens in case of bidirectional relationships.
|
void |
ObjectReferenceMapping.writeFromObjectIntoRowForUpdate(WriteObjectQuery query,
AbstractRecord databaseRow)
INTERNAL:
Get a value from the object and set that in the respective field of the row.
|
void |
AggregateObjectMapping.writeFromObjectIntoRowForUpdate(WriteObjectQuery query,
AbstractRecord databaseRow)
INTERNAL:
Get the attribute value from the object and add the changed
values to the specified database row.
|
void |
DatabaseMapping.writeFromObjectIntoRowForUpdate(WriteObjectQuery query,
AbstractRecord row)
INTERNAL:
Write the attribute value from the object to the row for update.
|
void |
ObjectReferenceMapping.writeFromObjectIntoRowForWhereClause(ObjectLevelModifyQuery query,
AbstractRecord databaseRow)
INTERNAL:
Get a value from the object and set that in the respective field of the row.
|
void |
DatabaseMapping.writeFromObjectIntoRowForWhereClause(ObjectLevelModifyQuery query,
AbstractRecord row)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
AggregateObjectMapping.writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord,
AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
Get the attribute value from the object and add the appropriate
values to the specified database row.
|
void |
DatabaseMapping.writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord,
AbstractRecord row,
AbstractSession session)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
OneToOneMapping.writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord,
AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
Get a value from the object and set that in the respective field of the row.
|
void |
AggregateObjectMapping.writeInsertFieldsIntoRow(AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
Write fields needed for insert into the template for with null values.
|
void |
DatabaseMapping.writeInsertFieldsIntoRow(AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
Write fields needed for insert into the template for with null values.
|
void |
OneToOneMapping.writeInsertFieldsIntoRow(AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
Write fields needed for insert into the template for with null values.
|
void |
DatabaseMapping.writeUpdateFieldsIntoRow(AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
Write fields needed for update into the template for with null values.
|
protected void |
DirectToFieldMapping.writeValueIntoRow(AbstractRecord row,
DatabaseField field,
Object fieldValue) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDirectMapping.buildCloneFromRow(AbstractRecord databaseRow,
JoinedAttributeManager joinManager,
Object clone,
ObjectBuildingQuery sourceQuery,
UnitOfWorkImpl unitOfWork,
AbstractSession executionSession)
INTERNAL:
Extract value from the row and set the attribute to this value in the
working copy clone.
|
void |
AbstractDirectMapping.buildShallowOriginalFromRow(AbstractRecord databaseRow,
Object original,
ObjectBuildingQuery query,
AbstractSession executionSession)
INTERNAL:
Builds a shallow original object.
|
Object |
AbstractDirectMapping.valueFromRow(AbstractRecord row,
JoinedAttributeManager joinManager,
ObjectBuildingQuery query,
AbstractSession executionSession)
INTERNAL:
In the case of building a UnitOfWork clone directly from a row, the
session set in the query will not know which database platform to use
for converting the value.
|
void |
AbstractDirectMapping.writeFromObjectIntoRow(Object object,
AbstractRecord row,
AbstractSession session)
INTERNAL:
Get a value from the object and set that in the respective field of the row.
|
void |
AbstractDirectMapping.writeFromObjectIntoRowForUpdate(WriteObjectQuery query,
AbstractRecord aDatabaseRow)
INTERNAL:
Write the attribute value from the object to the row for update.
|
void |
AbstractDirectMapping.writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord,
AbstractRecord row,
AbstractSession session)
INTERNAL:
Get a value from the object and set that in the respective field of the row.
|
void |
AbstractDirectMapping.writeInsertFieldsIntoRow(AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
Write fields needed for insert into the template for with null values.
|
protected abstract void |
AbstractDirectMapping.writeValueIntoRow(AbstractRecord row,
DatabaseField field,
Object value) |
Modifier and Type | Field and Description |
---|---|
protected AbstractRecord |
ModifyQuery.modifyRow |
protected AbstractRecord |
DatabaseQuery.translationRow
Mappings and the descriptor use parameterized mechanisms that will be translated with the data from the row.
|
Modifier and Type | Method and Description |
---|---|
AbstractRecord |
ModifyQuery.getModifyRow()
INTERNAL:
Return the modify row
|
AbstractRecord |
DatabaseQuery.getTranslationRow()
INTERNAL:
Return the row for translation
|
AbstractRecord |
DatabaseQuery.rowFromArguments(Vector argumentValues)
INTERNAL:
Translate argumentValues into a database row.
|
Modifier and Type | Method and Description |
---|---|
Object |
ReadQuery.buildObject(AbstractRecord row)
INTERNAL:
By default return the row.
|
Object |
ObjectLevelReadQuery.buildObject(AbstractRecord row)
INTERNAL:
Called by CursoredStream to construct objects from rows.
|
Object |
DirectReadQuery.buildObject(AbstractRecord row)
INTERNAL:
Used by cursored stream.
|
Object |
ReportQuery.buildObject(AbstractRecord row,
Vector toManyJoinData)
INTERNAL:
Construct a result from a row.
|
protected void |
ReportQueryResult.buildResult(ReportQuery query,
AbstractRecord row,
Vector toManyData)
INTERNAL:
Create an array of attribute values (converted from raw field values using the mapping).
|
Object |
DoesExistQuery.checkEarlyReturn(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Check if existence can be determined without going to the database.
|
Object |
ObjectLevelReadQuery.checkEarlyReturn(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Check to see if this query already knows the return vale without preforming any further work.
|
Object |
DatabaseQuery.checkEarlyReturn(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Check to see if this query already knows the return vale without preforming any further work.
|
Object |
DoesExistQuery.checkEarlyReturn(Object object,
Vector primaryKey,
AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Check if existence can be determined without going to the database.
|
protected Object |
ReadAllQuery.checkEarlyReturnImpl(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
The cache check is done before the prepare as a hit will not require the work to be done.
|
protected abstract Object |
ObjectLevelReadQuery.checkEarlyReturnImpl(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Contains the body of the check early return call, implemented by subclasses.
|
protected Object |
ReadObjectQuery.checkEarlyReturnImpl(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
The cache check is done before the prepare as a hit will not require the work to be done.
|
protected Object |
ReportQuery.checkEarlyReturnImpl(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
The cache check is done before the prepare as a hit will not require the work to be done.
|
protected DatabaseQuery |
ReadAllQuery.checkForCustomQuery(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Check to see if a custom query should be used for this query.
|
protected DatabaseQuery |
DeleteObjectQuery.checkForCustomQuery(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Check to see if a custom query should be used for this query.
|
protected DatabaseQuery |
ReadObjectQuery.checkForCustomQuery(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Check to see if a custom query should be used for this query.
|
protected DatabaseQuery |
DatabaseQuery.checkForCustomQuery(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Check to see if a custom query should be used for this query.
|
void |
ObjectLevelReadQuery.checkPrepare(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Check to see if this query needs to be prepare and prepare it.
|
void |
DatabaseQuery.checkPrepare(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Check to see if this query needs to be prepare and prepare it.
|
protected Object |
ObjectLevelReadQuery.conformIndividualResult(Object result,
UnitOfWorkImpl unitOfWork,
AbstractRecord arguments,
Expression selectionCriteriaClone,
IdentityHashtable alreadyReturned,
boolean buildDirectlyFromRows)
INTERNAL:
Conforms and registers an individual result.
|
protected Object |
ReadAllQuery.conformResult(Object result,
UnitOfWorkImpl unitOfWork,
AbstractRecord arguments,
boolean buildDirectlyFromRows)
INTERNAL:
Conform the result if specified.
|
protected Object |
ReadObjectQuery.conformResult(Object result,
UnitOfWorkImpl unitOfWork,
AbstractRecord databaseRow,
boolean buildDirectlyFromRows)
INTERNAL:
Conform the result in the UnitOfWork.
|
Object |
ObjectLevelReadQuery.execute(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Execute the query.
|
Object |
DatabaseQuery.execute(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Execute the query.
|
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 |
DeleteAllQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
This method has to be broken.
|
Object |
ObjectLevelModifyQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
All have done is move code from UnitOfWork.internalExecuteQuery
|
Object |
DatabaseQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
Override query execution where Session is a UnitOfWork.
|
Object |
ModifyAllQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
Override query execution where Session is a UnitOfWork.
|
protected Object |
DeleteObjectQuery.executeInUnitOfWorkObjectLevelModifyQuery(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
Code was moved from UnitOfWork.internalExecuteQuery
|
protected Object |
ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
This code was moved from UnitOfWork.internalExecuteQuery
|
PreparedStatement |
EJBQLCall.prepareStatement(DatabaseAccessor accessor,
AbstractRecord translationRow,
AbstractSession session)
INTERNAL:
Prepare the JDBC statement, this may be parameterize or a call statement.
|
void |
ReportQuery.prepareSubSelect(AbstractSession session,
AbstractRecord translationRow,
Dictionary clonedExpressions)
INTERNAL:
Prepare the receiver for being printed inside a subselect.
|
protected Object |
ReportQueryResult.processItem(ReportQuery query,
AbstractRecord row,
Vector toManyData,
ReportItem item)
INTERNAL:
Return a value from an item and database row (converted from raw field values using the mapping).
|
Object |
ReadAllQuery.registerResultInUnitOfWork(Object result,
UnitOfWorkImpl unitOfWork,
AbstractRecord arguments,
boolean buildDirectlyFromRows)
INTERNAL:
All objects queried via a UnitOfWork get registered here.
|
abstract Object |
ObjectLevelReadQuery.registerResultInUnitOfWork(Object result,
UnitOfWorkImpl unitOfWork,
AbstractRecord arguments,
boolean buildDirectlyFromRows)
INTERNAL:
All objects queried via a UnitOfWork get registered here.
|
Object |
ReadObjectQuery.registerResultInUnitOfWork(Object result,
UnitOfWorkImpl unitOfWork,
AbstractRecord arguments,
boolean buildDirectlyFromRows)
INTERNAL:
All objects queried via a UnitOfWork get registered here.
|
void |
ModifyQuery.setModifyRow(AbstractRecord row)
INTERNAL:
Set the modify row
|
void |
DatabaseQuery.setTranslationRow(AbstractRecord translationRow)
INTERNAL:
Set the row for translation
|
void |
EJBQLCall.translate(AbstractRecord translationRow,
AbstractRecord modifyRow,
AbstractSession session)
INTERNAL:
translate method comment.
|
Constructor and Description |
---|
ReportQueryResult(ReportQuery query,
AbstractRecord row,
Vector toManyResults) |
Modifier and Type | Class and Description |
---|---|
class |
DatabaseRecord
Purpose: Define a representation of a database row as field=>value pairs.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IdentityMapAccessor.isValid(AbstractRecord rowContainingPrimaryKey,
Class theClass)
ADVANCED:
Returns true if this Object with the given primary key of the Row and Class type
given is valid in TopLink's identity maps.
|
void |
SessionEventManager.outputParametersDetected(AbstractRecord outputRow,
DatasourceCall call)
INTERNAL:
Raised for stored proc output parameters.
|
Object |
SessionProfiler.profileExecutionOfQuery(DatabaseQuery query,
AbstractRecord row,
AbstractSession session)
INTERNAL:
Finish a profile operation if profiling.
|
Modifier and Type | Method and Description |
---|---|
Object |
ServerSession.executeCall(Call call,
AbstractRecord translationRow,
DatabaseQuery query)
INTERNAL:
Override to acquire the connection from the pool at the last minute
|
Copyright © 2023. All rights reserved.