Modifier and Type | Field and Description |
---|---|
protected DatabaseQuery |
DescriptorEvent.query
The query causing the event.
|
Modifier and Type | Method and Description |
---|---|
DatabaseQuery |
DescriptorQueryManager.getLocalQuery(String name,
Vector arguments)
INTENAL:
Return the query from the set of pre-defined queries with the given name and argument types.
|
DatabaseQuery |
DescriptorEvent.getQuery()
PUBLIC:
The query causing the event.
|
DatabaseQuery |
DescriptorQueryManager.getQuery(String queryName)
PUBLIC:
Return the query name from the set of pre-defined queries
If only one query exists with this name, it will be returned.
|
DatabaseQuery |
DescriptorQueryManager.getQuery(String name,
Vector arguments)
PUBLIC:
Return the query from the set of pre-defined queries with the given name and argument types.
|
protected DatabaseQuery |
DescriptorQueryManager.getQueryFromParent(String name,
Vector arguments)
INTERNAL:
CR#3711: Check if the class for this descriptor has a parent class.
|
Modifier and Type | Method and Description |
---|---|
void |
DescriptorQueryManager.addQuery(DatabaseQuery query)
PUBLIC:
Add the query to the session queries
|
void |
DescriptorQueryManager.addQuery(String name,
DatabaseQuery query)
PUBLIC:
Add the query to the descriptor queries with the given name
|
void |
DescriptorEvent.setQuery(DatabaseQuery query)
INTERNAL:
The query causing the event.
|
Modifier and Type | Method and Description |
---|---|
DatabaseQuery |
EJBQuery.getDatabaseQuery()
PUBLIC:
Return the cached database query for this EJBQueryImpl.
|
Modifier and Type | Method and Description |
---|---|
void |
EJBQuery.setDatabaseQuery(DatabaseQuery query)
PUBLIC:
Replace the cached query with the given query.
|
Modifier and Type | Field and Description |
---|---|
protected DatabaseQuery |
QueryException.query |
protected DatabaseQuery |
DatabaseException.query |
Modifier and Type | Method and Description |
---|---|
DatabaseQuery |
QueryException.getQuery()
PUBLIC:
Return the query in which the problem was detected.
|
DatabaseQuery |
DatabaseException.getQuery()
PUBLIC:
This method returns the databaseQuery.
|
Constructor and Description |
---|
QueryException(String message,
DatabaseQuery query)
INTERNAL:
TopLink exceptions should only be thrown by TopLink.
|
Modifier and Type | Field and Description |
---|---|
protected DatabaseQuery |
DatasourceCall.query |
Modifier and Type | Method and Description |
---|---|
DatabaseQuery |
DatasourceCall.getQuery()
Back reference to query, unfortunately required for events.
|
Modifier and Type | Method and Description |
---|---|
DatabaseQueryMechanism |
DatabaseCall.buildNewQueryMechanism(DatabaseQuery query)
Return the appropriate mechanism,
with the call added as necessary.
|
DatabaseQueryMechanism |
DatasourceCall.buildNewQueryMechanism(DatabaseQuery query)
Return the appropriate mechanism,
with the call added as necessary.
|
DatabaseQueryMechanism |
DatabaseCall.buildQueryMechanism(DatabaseQuery query,
DatabaseQueryMechanism mechanism)
Return the appropriate mechanism,
with the call added as necessary.
|
DatabaseQueryMechanism |
DatasourceCall.buildQueryMechanism(DatabaseQuery query,
DatabaseQueryMechanism mechanism)
Return the appropriate mechanism,
with the call added as necessary.
|
void |
DatasourceCall.setQuery(DatabaseQuery query)
Back reference to query, unfortunately required for events.
|
Constructor and Description |
---|
EJBQueryImpl(DatabaseQuery query,
EntityManagerImpl entityManager)
Create an EJBQueryImpl with a TopLink query.
|
Modifier and Type | Field and Description |
---|---|
protected DatabaseQuery |
EJBQueryImpl.databaseQuery |
Modifier and Type | Method and Description |
---|---|
static DatabaseQuery |
EJBQueryImpl.buildEJBQLDatabaseQuery(String ejbql,
Boolean flushOnExecute,
Session session)
Build a DatabaseQuery from an EJBQL string.
|
static DatabaseQuery |
EJBQueryImpl.buildEJBQLDatabaseQuery(String ejbql,
Boolean flushOnExecute,
Session session,
ClassLoader classLoader)
Build a DatabaseQuery from an EJBQL string.
|
static DatabaseQuery |
EJBQueryImpl.buildEJBQLDatabaseQuery(String ejbql,
Session session)
Build a DatabaseQuery from an EJBQL string.
|
static DatabaseQuery |
EJBQueryImpl.buildEJBQLDatabaseQuery(String ejbql,
Session session,
HashMap hints)
Build a DatabaseQuery from an EJBQL string.
|
static DatabaseQuery |
EJBQueryImpl.buildEJBQLDatabaseQuery(String ejbql,
Session session,
HashMap hints,
ClassLoader classLoader)
Build a DatabaseQuery from an EJBQL string.
|
static DatabaseQuery |
EJBQueryImpl.buildEJBQLDatabaseQuery(String queryName,
String ejbql,
Boolean flushOnExecute,
Session session,
HashMap hints,
ClassLoader classLoader)
Build a DatabaseQuery from an EJBQL string.
|
static DatabaseQuery |
EJBQueryImpl.buildSQLDatabaseQuery(Class resultClass,
String sqlString)
Build a ReadAllQuery from a class and sql string.
|
static DatabaseQuery |
EJBQueryImpl.buildSQLDatabaseQuery(Class resultClass,
String sqlString,
HashMap hints)
Build a ReadAllQuery from a class and sql string.
|
static DatabaseQuery |
EJBQueryImpl.buildSQLDatabaseQuery(String sqlString,
Boolean flushOnExecute)
Build a DataReadQuery from a sql string.
|
static DatabaseQuery |
EJBQueryImpl.buildSQLDatabaseQuery(String sqlString,
HashMap hints)
Build a DataReadQuery from a sql string.
|
static DatabaseQuery |
EJBQueryImpl.buildSQLDatabaseQuery(String sqlResultSetMappingName,
String sqlString)
Build a ResultSetMappingQuery from a sql result set mapping name and sql string.
|
static DatabaseQuery |
EJBQueryImpl.buildSQLDatabaseQuery(String sqlResultSetMappingName,
String sqlString,
HashMap hints)
Build a ResultSetMappingQuery from a sql result set mapping name and sql string.
|
protected DatabaseQuery |
EntityManagerImpl.createNativeQueryInternal(String sqlString,
Class resultType)
This method is used to create a query using SQL.
|
protected DatabaseQuery |
EntityManagerImpl.createQueryInternal(Expression expression,
Class resultType)
This method is used to create a query using a Toplink Expression and the return type.
|
DatabaseQuery |
EJBQueryImpl.getDatabaseQuery()
Return the cached database query for this EJBQueryImpl.
|
Modifier and Type | Method and Description |
---|---|
static void |
QueryHintsHandler.apply(Map hints,
DatabaseQuery query)
INTERNAL:
Applies the hints to the query.
|
static void |
QueryHintsHandler.apply(String hintName,
Object hintValue,
DatabaseQuery query)
INTERNAL:
Applies the hint to the query.
|
protected static void |
EJBQueryImpl.applyHints(HashMap hints,
DatabaseQuery query)
Set implementation-specific hints.
|
void |
EJBQueryImpl.setDatabaseQuery(DatabaseQuery query)
Replace the cached query with the given query.
|
Constructor and Description |
---|
EJBQueryImpl(DatabaseQuery query,
EntityManagerImpl entityManager)
Create an EJBQueryImpl with a TopLink query.
|
Modifier and Type | Method and Description |
---|---|
DatabaseQuery |
ParseTree.createDatabaseQuery()
INTERNAL
Returns a DatabaseQuery instance for this ParseTree.
|
DatabaseQuery |
UpdateNode.createDatabaseQuery(ParseTreeContext context)
INTERNAL
Returns a DatabaseQuery instance representing the owning
ParseTree.
|
DatabaseQuery |
SelectNode.createDatabaseQuery(ParseTreeContext context)
INTERNAL
Returns a DatabaseQuery instance representing the owning
ParseTree.
|
abstract DatabaseQuery |
QueryNode.createDatabaseQuery(ParseTreeContext context)
INTERNAL
Returns a DatabaseQuery instance according to the kind of the query the
owning ParseTree represents: SELECT, UPDATE or DELETE.
|
DatabaseQuery |
DeleteNode.createDatabaseQuery(ParseTreeContext context)
INTERNAL
Returns a DatabaseQuery instance representing the owning
ParseTree.
|
Modifier and Type | Method and Description |
---|---|
void |
ParseTree.addParametersToQuery(DatabaseQuery query)
INTERNAL
Add parameters to the query
|
void |
ParseTree.adjustReferenceClassForQuery(DatabaseQuery theQuery,
GenerationContext generationContext)
INTERNAL
Adjust the reference class of the passed query if necessary
Need to test this for Employee, employee.getAddress(), report query
|
void |
ParseTree.applyQueryNodeToQuery(DatabaseQuery theQuery,
GenerationContext generationContext)
INTERNAL
Apply the select or update to the passed query.
|
void |
ModifyNode.applyToQuery(DatabaseQuery theQuery,
GenerationContext context)
INTERNAL
Apply this node to the passed query.
|
void |
SelectNode.applyToQuery(DatabaseQuery theQuery,
GenerationContext context)
INTERNAL
Apply this node to the passed query
|
abstract void |
QueryNode.applyToQuery(DatabaseQuery theQuery,
GenerationContext context)
INTERNAL
Apply this node to the passed query
|
GenerationContext |
ParseTree.buildContext(DatabaseQuery query,
AbstractSession sessionForContext)
INTERNAL
Build the context to be used when generating the expression from the parse tree
|
Expression |
ParseTree.generateExpression(DatabaseQuery readQuery,
GenerationContext generationContext)
INTERNAL
Build a context for the expression generation
|
Class |
ParseTree.getReferenceClass(DatabaseQuery query,
GenerationContext generationContext)
getReferenceClass(): Answer the class which will be the reference class for the query.
|
void |
EJBQLParseTree.populateQuery(DatabaseQuery query,
AbstractSession session)
Add all of the relevant query settings from an EJBQLParseTree to the given
database query.
|
void |
ParseTree.setSelectionCriteriaForQuery(DatabaseQuery theQuery,
GenerationContext generationContext) |
void |
ParseTree.verifySelect(DatabaseQuery theQuery,
GenerationContext generationContext)
INTERNAL
Verify that the alias in the SELECT is valid.
|
Constructor and Description |
---|
EJBQLCallQueryMechanism(DatabaseQuery query)
Initialize the state of the query
|
EJBQLCallQueryMechanism(DatabaseQuery query,
EJBQLCall call)
INTERNAL
Initialize the state of the query
|
Modifier and Type | Field and Description |
---|---|
protected DatabaseQuery |
DatabaseQueryMechanism.query
The database query that uses this mechanism.
|
Modifier and Type | Method and Description |
---|---|
DatabaseQuery |
DatabaseQueryMechanism.getQuery()
Return the query that uses the mechanism.
|
Modifier and Type | Method and Description |
---|---|
DatabaseQueryMechanism |
ExpressionQueryMechanism.clone(DatabaseQuery queryClone)
Clone the mechanism for the specified query clone.
|
DatabaseQueryMechanism |
DatabaseQueryMechanism.clone(DatabaseQuery queryClone)
Clone the mechanism for the specified query clone.
|
DatabaseQueryMechanism |
StatementQueryMechanism.clone(DatabaseQuery queryClone)
Clone the mechanism for the specified query clone.
|
void |
MapContainerPolicy.prepare(DatabaseQuery query,
AbstractSession session)
Prepare and validate.
|
void |
ContainerPolicy.prepare(DatabaseQuery query,
AbstractSession session)
Prepare and validate.
|
void |
DatabaseQueryMechanism.setQuery(DatabaseQuery query)
Set the query that uses this mechanism.
|
Constructor and Description |
---|
CallQueryMechanism(DatabaseQuery query)
Initialize the state of the query
|
CallQueryMechanism(DatabaseQuery query,
DatabaseCall call)
Initialize the state of the query
|
DatabaseQueryMechanism(DatabaseQuery query)
Initialize the state of the query
|
DatasourceCallQueryMechanism(DatabaseQuery query)
Initialize the state of the query
|
DatasourceCallQueryMechanism(DatabaseQuery query,
DatasourceCall call)
Initialize the state of the query
|
ExpressionQueryMechanism(DatabaseQuery query)
Initialize the state of the query
|
ExpressionQueryMechanism(DatabaseQuery query,
Expression expression)
Initialize the state of the query
|
StatementQueryMechanism(DatabaseQuery query)
INTERNAL:
Return a new mechanism for the query
|
StatementQueryMechanism(DatabaseQuery query,
SQLStatement statement)
Return a new mechanism for the query
|
Modifier and Type | Method and Description |
---|---|
DatabaseQuery |
AbstractSession.getQuery(String name)
PUBLIC:
Return the query from the session pre-defined queries with the given name.
|
DatabaseQuery |
UnitOfWorkImpl.getQuery(String name)
PUBLIC:
Return the query from the session pre-defined queries with the given name.
|
DatabaseQuery |
AbstractSession.getQuery(String name,
Vector arguments)
PUBLIC:
Return the query from the session pre-defined queries with the given name and argument types.
|
DatabaseQuery |
UnitOfWorkImpl.getQuery(String name,
Vector arguments)
PUBLIC:
Return the query from the session pre-defined queries with the given name.
|
DatabaseQuery |
AbstractSession.prepareDatabaseQuery(DatabaseQuery query)
INTERNAL:
A call back to do session specific preparation of a query.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractSession.addEjbqlPlaceHolderQuery(DatabaseQuery query)
INTERNAL:
Return all pre-defined not yet parsed EJBQL queries.
|
protected void |
AbstractSession.addQuery(DatabaseQuery query)
INTERNAL:
Add the query to the session queries.
|
void |
AbstractSession.addQuery(String name,
DatabaseQuery query)
PUBLIC:
Add the query to the session queries with the given name.
|
Object |
AbstractSession.executeCall(Call call,
AbstractRecord translationRow,
DatabaseQuery query)
INTERNAL:
Overridden by subclasses that do more than just execute the call.
|
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.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.
|
AbstractSession |
AbstractSession.getExecutionSession(DatabaseQuery query)
INTERNAL:
Gets the session which this query will be executed on.
|
AbstractSession |
UnitOfWorkImpl.getExecutionSession(DatabaseQuery query)
INTERNAL:
Gets the session which this query will be executed on.
|
AbstractSession |
IsolatedClientSession.getExecutionSession(DatabaseQuery query)
INTERNAL:
Gets the session which this query will be executed on.
|
AbstractSession |
AbstractSession.getParentIdentityMapSession(DatabaseQuery query)
INTERNAL:
Gets the next link in the chain of sessions followed by a query's check
early return, the chain of sessions with identity maps all the way up to
the root session.
|
AbstractSession |
AbstractSession.getParentIdentityMapSession(DatabaseQuery query,
boolean canReturnSelf,
boolean terminalOnly)
INTERNAL:
Gets the next link in the chain of sessions followed by a query's check
early return, the chain of sessions with identity maps all the way up to
the root session.
|
AbstractSession |
UnitOfWorkImpl.getParentIdentityMapSession(DatabaseQuery query,
boolean canReturnSelf,
boolean terminalOnly)
INTERNAL:
Gets the next link in the chain of sessions followed by a query's check
early return, the chain of sessions with identity maps all the way up to
the root session.
|
AbstractSession |
IsolatedClientSession.getParentIdentityMapSession(DatabaseQuery query,
boolean canReturnSelf,
boolean terminalOnly)
INTERNAL:
Gets the next link in the chain of sessions followed by a query's check
early return, the chain of sessions with identity maps all the way up to
the root session.
|
AbstractSession |
AbstractSession.getRootSession(DatabaseQuery query)
INTERNAL:
The session that this query is executed against when not in transaction.
|
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.
|
protected boolean |
IsolatedClientSession.isIsolatedQuery(DatabaseQuery query)
INTERNAL: Answers if this query is an isolated query and must be
executed locally.
|
DatabaseQuery |
AbstractSession.prepareDatabaseQuery(DatabaseQuery query)
INTERNAL:
A call back to do session specific preparation of a query.
|
protected boolean |
IsolatedClientSession.shouldExecuteLocally(DatabaseQuery query)
INTERNAL:
Helper method to calculate whether to execute this query locally or send
it to the server session.
|
void |
UnitOfWorkImpl.storeDeferredModifyAllQuery(DatabaseQuery query,
AbstractRecord translationRow)
INTERNAL:
Store the deferred UpdateAllQuery's from the UoW in the list.
|
void |
UnitOfWorkImpl.storeModifyAllQuery(DatabaseQuery query)
INTERNAL:
Store the ModifyAllQuery's from the UoW in the list.
|
void |
AbstractSession.validateQuery(DatabaseQuery query)
INTERNAL:
This method will be used to update the query with any settings required
For this session.
|
Modifier and Type | Method and Description |
---|---|
Object |
DirectMapMapping.extractResultFromBatchQuery(DatabaseQuery query,
AbstractRecord databaseRow,
AbstractSession session,
AbstractRecord argumentRow)
INTERNAL:
Ovewrite super method
|
Modifier and Type | Class and Description |
---|---|
class |
DataModifyQuery
Purpose:
Concrete class used for executing non selecting SQL strings.
|
class |
DataReadQuery
Purpose:
Concrete class to perform read using raw SQL.
|
class |
DeleteAllQuery
Purpose:
Query used to delete a collection of objects
|
class |
DeleteObjectQuery
Purpose: Used for deleting objects.
|
class |
DirectReadQuery
Purpose:
Concrete class to perform a direct read.
|
class |
DoesExistQuery
Purpose:
This should only be used by the descriptor, this should not be executed directly.
|
class |
EJBQLPlaceHolderQuery
Purpose:
A EJB3 placeholder Query object to store EJBQL strings so that processing the string is delayed
until Login
|
class |
InsertObjectQuery
Purpose:
Used for inserting new objects into the database.
|
class |
ModifyAllQuery
PUBLIC:
Query used to perform a bulk delete using TopLink's expression framework.
|
class |
ModifyQuery
Purpose:
Abstract class for all modify queries.
|
class |
ObjectBuildingQuery
Purpose:
Abstract class for all read queries that build objects and potentially manipulate
the TopLink cache.
|
class |
ObjectLevelModifyQuery
Purpose:
Abstract class for all object modify queries.
|
class |
ObjectLevelReadQuery
Purpose:
Abstract class for all read queries using objects.
|
class |
ReadAllQuery
set
|
class |
ReadObjectQuery
Purpose:
Concrete class for all read queries involving a single object.
|
class |
ReadQuery
Purpose:
Abstract class for all read queries.
|
class |
ReportQuery
Purpose: Query for information about a set of objects instead of the objects themselves.
|
class |
ResultSetMappingQuery
Purpose:
Concrete class to perform read using raw SQL and the SQLResultSetMapping.
|
class |
UpdateAllQuery
PUBLIC:
A Query Class used to perform a bulk update using TopLink's expression framework.
|
class |
UpdateObjectQuery
Purpose:
Used for updating existing objects into the database.
|
class |
ValueReadQuery
Purpose:
Concrete class to perform a read of a single data value.
|
class |
WriteObjectQuery
Purpose:
Used for inserting or updating objects
WriteObjectQuery determines whether to perform a insert or an update on the database.
|
Modifier and Type | Field and Description |
---|---|
protected DatabaseQuery |
EJBQLCall.query |
Modifier and Type | Method and Description |
---|---|
protected DatabaseQuery |
DeleteObjectQuery.checkForCustomQuery(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Check to see if a custom query should be used for this query.
|
protected DatabaseQuery |
ReadAllQuery.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.
|
DatabaseQuery |
EJBQLCall.getQuery()
Back reference to query, unfortunately required for events.
|
DatabaseQuery |
ObjectLevelReadQuery.prepareOutsideUnitOfWork(AbstractSession session)
INTERNAL:
There is a very special case where a query may be a bean-level
pessimistic locking query.
|
DatabaseQuery |
EJBQLPlaceHolderQuery.processEjbQLQuery(Session session) |
Modifier and Type | Method and Description |
---|---|
DatabaseQueryMechanism |
Call.buildNewQueryMechanism(DatabaseQuery query)
INTERNAL:
Return the appropriate mechanism,
with the call set as necessary.
|
DatabaseQueryMechanism |
EJBQLCall.buildNewQueryMechanism(DatabaseQuery query)
INTERNAL:
Return the appropriate mechanism,
with the call added as necessary.
|
DatabaseQueryMechanism |
Call.buildQueryMechanism(DatabaseQuery query,
DatabaseQueryMechanism mechanism)
INTERNAL:
Return the appropriate mechanism,
with the call added as necessary.
|
DatabaseQueryMechanism |
EJBQLCall.buildQueryMechanism(DatabaseQuery query,
DatabaseQueryMechanism mechanism)
INTERNAL:
Return the appropriate mechanism,
with the call added as necessary.
|
protected void |
ModifyAllQuery.clonedQueryExecutionComplete(DatabaseQuery query,
AbstractSession session)
INTERNAL
Used to give the subclasses oportunity to copy aspects of the cloned query
to the original query.
|
protected void |
ReadQuery.clonedQueryExecutionComplete(DatabaseQuery query,
AbstractSession session)
INTERNAL
Used to give the subclasses oportunity to copy aspects of the cloned query
to the original query.
|
protected void |
DatabaseQuery.clonedQueryExecutionComplete(DatabaseQuery query,
AbstractSession session)
INTERNAL
Used to give the subclasses oportunity to copy aspects of the cloned query
to the original query.
|
protected void |
DeleteObjectQuery.prepareCustomQuery(DatabaseQuery customQuery)
INTERNAL:
Set the properties needed to be cascaded into the custom query.
|
protected void |
ReadAllQuery.prepareCustomQuery(DatabaseQuery customQuery)
INTERNAL:
Set the properties needed to be cascaded into the custom query.
|
protected void |
ReadObjectQuery.prepareCustomQuery(DatabaseQuery customQuery)
INTERNAL:
Set the properties needed to be cascaded into the custom query inlucding the translation row.
|
protected void |
DatabaseQuery.prepareCustomQuery(DatabaseQuery customQuery)
INTERNAL:
Set the properties needed to be cascaded into the custom query.
|
void |
EJBQLCall.setQuery(DatabaseQuery query)
INTERNAL:
Back reference to query, unfortunately required for events.
|
Modifier and Type | Method and Description |
---|---|
protected Vector |
QuerySequence.createArguments(DatabaseQuery query,
String seqName,
Number sizeOrNewValue)
INTERNAL:
|
Modifier and Type | Field and Description |
---|---|
protected DatabaseQuery |
SessionEvent.query
Some events may have a query associated with them (pre/postExecuteQuery).
|
Modifier and Type | Method and Description |
---|---|
DatabaseQuery |
SessionEvent.getQuery()
PUBLIC:
Some events may have a query associated with them (pre/postExecuteQuery).
|
DatabaseQuery |
Session.getQuery(String name)
PUBLIC:
Return the query from the session pre-defined queries with the given name.
|
DatabaseQuery |
Session.getQuery(String name,
Vector arguments)
PUBLIC:
Return the query from the session pre-defined queries with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.addEjbqlPlaceHolderQuery(DatabaseQuery query)
ADVANCED:
Add a pre-defined not yet parsed EJBQL String/query to the session to be parsed
after descriptors are initialized.
|
void |
Session.addQuery(String name,
DatabaseQuery query)
PUBLIC:
Add the query to the session queries with the given name.
|
Object |
Session.executeQuery(DatabaseQuery query)
PUBLIC:
Execute the database query.
|
Object |
Session.executeQuery(DatabaseQuery query,
Vector argumentValues)
PUBLIC:
Return the results from exeucting the database query.
|
void |
SessionEventManager.postExecuteQuery(DatabaseQuery query,
Object result)
INTERNAL:
Post execute query.
|
void |
SessionEventManager.preExecuteQuery(DatabaseQuery query)
INTERNAL:
Pre execute query.
|
Object |
SessionProfiler.profileExecutionOfQuery(DatabaseQuery query,
AbstractRecord row,
AbstractSession session)
INTERNAL:
Finish a profile operation if profiling.
|
void |
SessionEvent.setQuery(DatabaseQuery query)
INTERNAL:
Some events may have a query associated with them (pre/postExecuteQuery).
|
Modifier and Type | Method and Description |
---|---|
DatabaseQuery |
ClientSession.getQuery(String name)
INTERNAL:
Was PUBLIC: customer will be redirected to
Session . |
DatabaseQuery |
ClientSession.getQuery(String name,
Vector args)
INTERNAL:
|
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
|
AbstractSession |
ServerSession.getExecutionSession(DatabaseQuery query)
INTERNAL:
Gets the session which this query will be executed on.
|
AbstractSession |
ClientSession.getExecutionSession(DatabaseQuery query)
INTERNAL:
Gets the session which this query will be executed on.
|
AbstractSession |
ClientSession.getParentIdentityMapSession(DatabaseQuery query,
boolean canReturnSelf,
boolean terminalOnly)
INTERNAL:
Gets the next link in the chain of sessions followed by a query's check
early return, the chain of sessions with identity maps all the way up to
the root session.
|
Copyright © 2023. All rights reserved.