Modifier and Type | Method and Description |
---|---|
protected Vector |
InheritancePolicy.selectAllRowUsingDefaultMultipleTableSubclassRead(ReadAllQuery query)
INTERNAL:
Select all 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 |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
EJBQLCallQueryMechanism.prepareForExecution()
All the query mechanism related things are initialized here.
|
Modifier and Type | Method and Description |
---|---|
void |
ReportItem.initialize(ReportQuery query)
INTERNAL:
Looks up mapping for attribute during preExecute of ReportQuery
|
void |
ExpressionQueryMechanism.prepare()
Override super to do nothing.
|
void |
DatabaseQueryMechanism.prepare()
This is different from 'prepareForExecution()'
in that this is called on the original query,
and the other is called on the clone of the query.
|
void |
ContainerPolicy.prepare(DatabaseQuery query,
AbstractSession session)
Prepare and validate.
|
void |
MapContainerPolicy.prepare(DatabaseQuery query,
AbstractSession session)
Prepare and validate.
|
void |
DatasourceCallQueryMechanism.prepareCall()
INTERNAL:
This is different from 'prepareForExecution' in that this is called on the original query,
and the other is called on the copy of the query.
|
void |
CallQueryMechanism.prepareCall()
INTERNAL:
This is different from 'prepareForExecution' in that this is called on the original query,
and the other is called on the copy of the query.
|
void |
DatasourceCallQueryMechanism.prepareCursorSelectAllRows()
Pre-build configure the call.
|
abstract void |
DatabaseQueryMechanism.prepareCursorSelectAllRows()
Pre-pare for a cursored execute.
|
abstract void |
DatabaseQueryMechanism.prepareDeleteAll()
Prepare for a delete all.
|
abstract void |
DatabaseQueryMechanism.prepareDeleteObject()
Prepare for a delete.
|
abstract void |
DatabaseQueryMechanism.prepareDoesExist(DatabaseField field)
Pre-pare for a select execute.
|
abstract void |
DatabaseQueryMechanism.prepareExecuteNoSelect()
Prepare for a raw (non-object), non-selecting call.
|
abstract void |
DatabaseQueryMechanism.prepareExecuteSelect()
Prepare for a raw (non-object) select call.
|
void |
ContainerPolicy.prepareForExecution()
Prepare and validate.
|
void |
DatabaseQueryMechanism.prepareForExecution()
All the query mechanism related things are initialized here.
|
abstract void |
DatabaseQueryMechanism.prepareInsertObject()
Prepare for an insert.
|
abstract void |
DatabaseQueryMechanism.prepareReportQuerySelectAllRows()
Pre-pare for a select execute.
|
abstract void |
DatabaseQueryMechanism.prepareReportQuerySubSelect()
Pre-pare a report query for a sub-select.
|
abstract void |
DatabaseQueryMechanism.prepareSelectAllRows()
Prepare for a select returning (possibly) multiple rows.
|
abstract void |
DatabaseQueryMechanism.prepareSelectOneRow()
Prepare for a select returning a single row.
|
abstract void |
DatabaseQueryMechanism.prepareUpdateAll()
Prepare for an update all.
|
abstract void |
DatabaseQueryMechanism.prepareUpdateObject()
Prepare for an update.
|
Modifier and Type | Method and Description |
---|---|
Vector |
UnitOfWorkIdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean shouldReturnInvalidatedObjects)
INTERNAL:
This method overrides the getAllFromIdentityMap method in Session.
|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow)
ADVANCED:
Query the cache in-memory.
|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
ADVANCED:
Query the cache in-memory.
|
Vector |
IsolatedClientSessionIdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean shouldReturnInvalidatedObjects)
ADVANCED:
Query the cache in-memory.
|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean shouldReturnInvalidatedObjects)
ADVANCED:
Query the cache in-memory.
|
Object |
UnitOfWorkImpl.getBackupClone(Object clone)
INTERNAL:
Return the backup clone for the working clone.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow)
ADVANCED:
Query the cache in-memory.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
ADVANCED:
Query the cache in-memory.
|
Object |
UnitOfWorkImpl.internalExecuteQuery(DatabaseQuery query,
AbstractRecord databaseRow)
INTERNAL:
Return the results from exeucting the database query.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectLevelModifyQuery.checkDescriptor(AbstractSession session)
INTERNAL:
Ensure that the descriptor has been set.
|
void |
DatabaseQuery.checkDescriptor(AbstractSession session)
INTERNAL:
Ensure that the descriptor has been set.
|
void |
ObjectLevelReadQuery.checkDescriptor(AbstractSession session)
INTERNAL:
Ensure that the descriptor has been set.
|
void |
ReadObjectQuery.checkDescriptor(AbstractSession session)
INTERNAL:
Ensure that the descriptor has been set.
|
Object |
DirectReadQuery.executeNonCursor()
INTERNAL:
The results are *not* in a cursor, build the collection.
|
ClassDescriptor |
ObjectLevelReadQuery.getLeafDescriptorFor(Expression expression,
ClassDescriptor rootDescriptor)
INTERNAL:
Lookup the descriptor for this item by traversing its expression recursively.
|
DatabaseMapping |
ObjectLevelReadQuery.getLeafMappingFor(Expression expression,
ClassDescriptor rootDescriptor)
INTERNAL:
Lookup the mapping for this item by traversing its expression recursively.
|
void |
ConstructorReportItem.initialize(ReportQuery query)
INTERNAL:
Looks up mapping for attribute during preExecute of ReportQuery
|
protected void |
ObjectLevelModifyQuery.prepare()
INTERNAL:
Prepare the receiver for execution in a session.
|
protected void |
DoesExistQuery.prepare()
INTERNAL:
Prepare the receiver for execution in a session.
|
protected void |
DatabaseQuery.prepare()
INTERNAL:
This is different from 'prepareForExecution' in that this is called on the original query,
and the other is called on the copy of the query.
|
protected void |
ObjectLevelReadQuery.prepare()
INTERNAL:
Prepare the receiver for execution in a session.
|
protected void |
UpdateAllQuery.prepare()
INTERNAL:
|
protected void |
ReadObjectQuery.prepare()
INTERNAL:
Prepare the receiver for execution in a session.
|
protected void |
ReportQuery.prepare()
INTERNAL:
Prepare the receiver for execution in a session.
|
protected void |
ReadAllQuery.prepare()
INTERNAL:
Prepare the receiver for execution in a session.
|
protected void |
DeleteAllQuery.prepare()
INTERNAL:
Prepare the receiver for execution in a session.
|
void |
DatabaseQuery.prepareCall(Session session,
Record translationRow)
ADVANCED:
Pre-generate the call/SQL for the query.
|
void |
ObjectLevelModifyQuery.prepareForExecution()
INTERNAL:
Prepare the receiver for execution in a session.
|
void |
DoesExistQuery.prepareForExecution()
INTERNAL:
Prepare the receiver for execution in a session.
|
void |
DatabaseQuery.prepareForExecution()
INTERNAL:
Prepare the receiver for execution in a session.
|
void |
DataModifyQuery.prepareForExecution()
INTERNAL:
Prepare the receiver for execution in a session.
|
void |
ReadObjectQuery.prepareForExecution()
INTERNAL:
Prepare the receiver for execution in a session.
|
void |
WriteObjectQuery.prepareForExecution()
INTERNAL:
Prepare the receiver for execution in a session.
|
void |
DeleteObjectQuery.prepareForExecution()
INTERNAL:
Prepare the receiver for execution in a session.
|
void |
ReadAllQuery.prepareForExecution()
INTERNAL:
Prepare the receiver for execution in a session.
|
void |
DataReadQuery.prepareForExecution()
INTERNAL:
Prepare the receiver for execution in a session.
|
protected void |
ObjectLevelReadQuery.prepareQuery()
INTERNAL:
Prepare the receiver for execution in a session.
|
void |
ReportQuery.prepareSubSelect(AbstractSession session,
AbstractRecord translationRow,
Dictionary clonedExpressions)
INTERNAL:
Prepare the receiver for being printed inside a subselect.
|
protected void |
ObjectLevelReadQuery.prePrepare()
INTERNAL:
Prepare the receiver for execution in a session.
|
AbstractRecord |
DatabaseQuery.rowFromArguments(Vector argumentValues)
INTERNAL:
Translate argumentValues into a database row.
|
Modifier and Type | Method and Description |
---|---|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
ADVANCED:
Queries the cache in-memory with the passed in criteria and returns matching Objects.
|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean shouldReturnInvalidatedObjects)
ADVANCED:
Queries the cache in-memory with the passed in criteria and returns matching Objects.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow)
ADVANCED:
Queries the cache in-memory and returns an Object from this identity map.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
ADVANCED:
Queries the cache in-memory and returns an Object from this identity map.
|
Copyright © 2023. All rights reserved.