Uses of Class
org.eclipse.persistence.queries.DatabaseQuery
-
-
Uses of DatabaseQuery in org.eclipse.persistence.descriptors
Fields in org.eclipse.persistence.descriptors declared as DatabaseQuery Modifier and Type Field Description protected DatabaseQueryDescriptorEvent. queryThe query causing the event.Fields in org.eclipse.persistence.descriptors with type parameters of type DatabaseQuery Modifier and Type Field Description protected Map<String,List<DatabaseQuery>>DescriptorQueryManager. queriesMethods in org.eclipse.persistence.descriptors that return DatabaseQuery Modifier and Type Method Description DatabaseQueryDescriptorQueryManager. getCachedExpressionQuery(DatabaseQuery query)INTERNAL: Return the cached SQL call for the expression query.DatabaseQueryDescriptorQueryManager. getLocalQuery(String name, Vector arguments)INTENAL: Return the query from the set of pre-defined queries with the given name and argument types.DatabaseQueryDescriptorQueryManager. getLocalQueryByArgumentTypes(String name, List argumentTypes)INTERNAL: Return the query from the set of pre-defined queries with the given name and argument types.DatabaseQueryDescriptorEvent. getQuery()PUBLIC: The query causing the event.DatabaseQueryDescriptorQueryManager. 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.DatabaseQueryDescriptorQueryManager. getQuery(String name, Vector arguments)PUBLIC: Return the query from the set of pre-defined queries with the given name and argument types.protected DatabaseQueryDescriptorQueryManager. getQueryFromParent(String name, Vector arguments)INTERNAL: CR#3711: Check if the class for this descriptor has a parent class.Methods in org.eclipse.persistence.descriptors that return types with arguments of type DatabaseQuery Modifier and Type Method Description Map<String,List<DatabaseQuery>>DescriptorQueryManager. getQueries()PUBLIC: Return the pre-defined queries for the descriptor.Methods in org.eclipse.persistence.descriptors with parameters of type DatabaseQuery Modifier and Type Method Description voidDescriptorQueryManager. addQuery(String name, DatabaseQuery query)PUBLIC: Add the query to the descriptor queries with the given namevoidDescriptorQueryManager. addQuery(DatabaseQuery query)PUBLIC: Add the query to the session queriesDatasourceCallClassDescriptor. buildCallFromStatement(SQLStatement statement, DatabaseQuery query, AbstractSession session)INTERNAL: Return a call built from a statement.DatabaseQueryDescriptorQueryManager. getCachedExpressionQuery(DatabaseQuery query)INTERNAL: Return the cached SQL call for the expression query.voidDescriptorQueryManager. putCachedExpressionQuery(DatabaseQuery query)INTERNAL: Set the cached SQL call for the expression query.voidDescriptorQueryManager. removeCachedExpressionQuery(DatabaseQuery query)INTERNAL: Remove the cached expression query.voidDescriptorEvent. setQuery(DatabaseQuery query)INTERNAL: The query causing the event. -
Uses of DatabaseQuery in org.eclipse.persistence.descriptors.partitioning
Methods in org.eclipse.persistence.descriptors.partitioning with parameters of type DatabaseQuery Modifier and Type Method Description AccessorPartitioningPolicy. acquireAccessor(String poolName, ServerSession session, DatabaseQuery query, boolean returnNullIfDead)INTERNAL: Return an accessor from the pool.AccessorPartitioningPolicy. getAccessor(String poolName, AbstractSession session, DatabaseQuery query, boolean returnNullIfDead)INTERNAL: Return an accessor from the pool for the session.List<Accessor>CustomPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Forward to custom policyList<Accessor>HashPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.abstract List<Accessor>PartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)List<Accessor>PinnedPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from each pool.List<Accessor>RangePartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.List<Accessor>ReplicationPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from each pool.List<Accessor>RoundRobinPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.List<Accessor>UnionPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.List<Accessor>ValuePartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.AccessorRoundRobinPartitioningPolicy. nextAccessor(ServerSession session, DatabaseQuery query)INTERNAL: Return the next connection accessor. -
Uses of DatabaseQuery in org.eclipse.persistence.eis
Methods in org.eclipse.persistence.eis with parameters of type DatabaseQuery Modifier and Type Method Description DatasourceCallEISDescriptor. buildCallFromStatement(SQLStatement statement, DatabaseQuery query, AbstractSession session)INTERNAL: Override this method to throw an exception.DatasourceCallEISPlatform. buildCallFromStatement(SQLStatement statement, DatabaseQuery query, AbstractSession session)INTERNAL: Override this method to throw an exception by default. -
Uses of DatabaseQuery in org.eclipse.persistence.exceptions
Fields in org.eclipse.persistence.exceptions declared as DatabaseQuery Modifier and Type Field Description protected DatabaseQueryDatabaseException. queryprotected DatabaseQueryQueryException. queryMethods in org.eclipse.persistence.exceptions that return DatabaseQuery Modifier and Type Method Description DatabaseQueryDatabaseException. getQuery()PUBLIC: This method returns the databaseQuery.DatabaseQueryQueryException. getQuery()PUBLIC: Return the query in which the problem was detected.Constructors in org.eclipse.persistence.exceptions with parameters of type DatabaseQuery Constructor Description QueryException(String message, DatabaseQuery query)INTERNAL: Constructor.QueryException(String message, DatabaseQuery query, Exception internalException)INTERNAL: Constructor. -
Uses of DatabaseQuery in org.eclipse.persistence.expressions
Methods in org.eclipse.persistence.expressions with parameters of type DatabaseQuery Modifier and Type Method Description ClassDescriptorExpression. getLeafDescriptor(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the descriptor for this item by traversing its expression recursively.ClassDescriptorExpressionBuilder. getLeafDescriptor(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the descriptor for this item by traversing its expression recursively.DatabaseMappingExpression. getLeafMapping(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the mapping for this item by traversing its expression recursively. -
Uses of DatabaseQuery in org.eclipse.persistence.internal.databaseaccess
Fields in org.eclipse.persistence.internal.databaseaccess declared as DatabaseQuery Modifier and Type Field Description protected DatabaseQueryDatasourceCall. queryMethods in org.eclipse.persistence.internal.databaseaccess that return DatabaseQuery Modifier and Type Method Description DatabaseQueryDatasourceCall. getQuery()Back reference to query, unfortunately required for events.DatabaseQueryDatabasePlatform. getVPDClearIdentifierQuery(String vpdIdentifier)Any platform that supports VPD should implement this method.DatabaseQueryDatabasePlatform. getVPDSetIdentifierQuery(String vpdIdentifier)Any platform that supports VPD should implement this method.Methods in org.eclipse.persistence.internal.databaseaccess with parameters of type DatabaseQuery Modifier and Type Method Description DatabaseQueryMechanismDatabaseCall. buildNewQueryMechanism(DatabaseQuery query)Return the appropriate mechanism, with the call added as necessary.DatabaseQueryMechanismDatasourceCall. buildNewQueryMechanism(DatabaseQuery query)Return the appropriate mechanism, with the call added as necessary.DatabaseQueryMechanismDatabaseCall. buildQueryMechanism(DatabaseQuery query, DatabaseQueryMechanism mechanism)Return the appropriate mechanism, with the call added as necessary.DatabaseQueryMechanismDatasourceCall. buildQueryMechanism(DatabaseQuery query, DatabaseQueryMechanism mechanism)Return the appropriate mechanism, with the call added as necessary.voidDatasourceCall. setQuery(DatabaseQuery query)Back reference to query, unfortunately required for events.booleanDatasourcePlatform. shouldPrepare(DatabaseQuery query)Allows query prepare to be disable in the platform. -
Uses of DatabaseQuery in org.eclipse.persistence.internal.expressions
Methods in org.eclipse.persistence.internal.expressions with parameters of type DatabaseQuery Modifier and Type Method Description DatabaseCallSQLSelectStatement. buildCall(AbstractSession session, DatabaseQuery query)Build the call, setting the query first, this is required in some cases when the query info is required to print the SQL.ClassDescriptorQueryKeyExpression. getLeafDescriptor(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the descriptor for this item by traversing its expression recursively.ClassDescriptorTreatAsExpression. getLeafDescriptor(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)DatabaseMappingFunctionExpression. getLeafMapping(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the mapping for this item by traversing its expression recursively.DatabaseMappingQueryKeyExpression. getLeafMapping(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the mapping for this item by traversing its expression recursively.DatabaseMappingTreatAsExpression. getLeafMapping(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)protected QueryKeyFunctionExpression. getLeafQueryKeyFor(DatabaseQuery query, Expression expression, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the query key for this item.ObjectParameterExpression. getValue(AbstractRecord translationRow, DatabaseQuery query, AbstractSession session)Extract the value from the row. -
Uses of DatabaseQuery in org.eclipse.persistence.internal.helper
Fields in org.eclipse.persistence.internal.helper with type parameters of type DatabaseQuery Modifier and Type Field Description static Class<DatabaseQuery>ClassConstants. DatabaseQuery_Class -
Uses of DatabaseQuery in org.eclipse.persistence.internal.jpa.jpql
Methods in org.eclipse.persistence.internal.jpa.jpql that return DatabaseQuery Modifier and Type Method Description DatabaseQueryHermesParser. buildQuery(CharSequence jpqlQuery, AbstractSession session)DatabaseQueryConstructorQueryMappings. getQuery()Returns theDatabaseQueryfor which its JPQL query was scanned to check if it's constructor query and if so, to gather the information.Methods in org.eclipse.persistence.internal.jpa.jpql with parameters of type DatabaseQuery Modifier and Type Method Description ConstructorQueryMappingsJPQLQueryHelper. getConstructorQueryMappings(AbstractSession session, DatabaseQuery query)Retrieves the class names and the attribute names mapped to their types that are used in the constructor expressions defined in theSELECTclause.voidHermesParser. populateQuery(CharSequence jpqlQuery, DatabaseQuery query, AbstractSession session) -
Uses of DatabaseQuery in org.eclipse.persistence.internal.queries
Fields in org.eclipse.persistence.internal.queries declared as DatabaseQuery Modifier and Type Field Description DatabaseQueryMappedKeyMapContainerPolicy. keyQueryprotected DatabaseQueryDatabaseQueryMechanism. queryThe database query that uses this mechanism.Methods in org.eclipse.persistence.internal.queries that return DatabaseQuery Modifier and Type Method Description DatabaseQueryMappedKeyMapContainerPolicy. getKeyQuery()INTERNAL: Some map keys must be obtained from the database.DatabaseQueryDatabaseQueryMechanism. getQuery()Return the query that uses the mechanism.Methods in org.eclipse.persistence.internal.queries with parameters of type DatabaseQuery Modifier and Type Method Description DatabaseQueryMechanismDatabaseQueryMechanism. clone(DatabaseQuery queryClone)Clone the mechanism for the specified query clone.DatabaseQueryMechanismDatasourceCallQueryMechanism. clone(DatabaseQuery queryClone)Clone the DatasourceCall andVector<DatasourceCall>.DatabaseQueryMechanismExpressionQueryMechanism. clone(DatabaseQuery queryClone)Clone the mechanism for the specified query clone.DatabaseQueryMechanismStatementQueryMechanism. clone(DatabaseQuery queryClone)Clone the mechanism for the specified query clone.voidContainerPolicy. prepare(DatabaseQuery query, AbstractSession session)Prepare and validate.voidMapContainerPolicy. prepare(DatabaseQuery query, AbstractSession session)Prepare and validate.voidMappedKeyMapContainerPolicy. setKeyQuery(DatabaseQuery keyQuery)INTERNAL: Some map keys must be obtained from the database.voidDatabaseQueryMechanism. setQuery(DatabaseQuery query)Set the query that uses this mechanism.Constructors in org.eclipse.persistence.internal.queries with parameters of type DatabaseQuery Constructor Description CallQueryMechanism(DatabaseQuery query)Initialize the state of the queryCallQueryMechanism(DatabaseQuery query, DatabaseCall call)Initialize the state of the queryDatabaseQueryMechanism(DatabaseQuery query)Initialize the state of the queryDatasourceCallQueryMechanism(DatabaseQuery query)Initialize the state of the queryDatasourceCallQueryMechanism(DatabaseQuery query, DatasourceCall call)Initialize the state of the queryExpressionQueryMechanism(DatabaseQuery query)Initialize the state of the queryExpressionQueryMechanism(DatabaseQuery query, Expression expression)Initialize the state of the queryJPQLCallQueryMechanism(DatabaseQuery query)Initialize the state of the queryJPQLCallQueryMechanism(DatabaseQuery query, JPQLCall call)INTERNAL Initialize the state of the queryQueryByExampleMechanism(DatabaseQuery query)Initialize the state of the queryQueryByExampleMechanism(DatabaseQuery query, Expression expression)Initialize the state of the queryStatementQueryMechanism(DatabaseQuery query)INTERNAL: Return a new mechanism for the queryStatementQueryMechanism(DatabaseQuery query, SQLStatement statement)Return a new mechanism for the query -
Uses of DatabaseQuery in org.eclipse.persistence.internal.sessions
Fields in org.eclipse.persistence.internal.sessions with type parameters of type DatabaseQuery Modifier and Type Field Description protected Map<String,List<DatabaseQuery>>AbstractSession. queriesStores predefine reusable queries.protected List<DatabaseQuery>AbstractSession. tablePerTenantQueriesPERF: cache table per tenant queries needing to be initialized per EMMethods in org.eclipse.persistence.internal.sessions that return DatabaseQuery Modifier and Type Method Description DatabaseQueryAbstractSession. getQuery(String name)PUBLIC: Return the query from the session pre-defined queries with the given name.DatabaseQueryAbstractSession. getQuery(String name, List arguments)PUBLIC: Return the query from the session pre-defined queries with the given name and argument types.DatabaseQueryAbstractSession. getQuery(String name, Vector arguments)PUBLIC: Return the query from the session pre-defined queries with the given name and argument types.DatabaseQueryAbstractSession. getQuery(String name, Vector arguments, boolean shouldSearchParent)INTERNAL: Return the query from the session pre-defined queries with the given name and argument types.DatabaseQueryUnitOfWorkImpl. getQuery(String name)PUBLIC: Return the query from the session pre-defined queries with the given name.DatabaseQueryUnitOfWorkImpl. getQuery(String name, Vector arguments)PUBLIC: Return the query from the session pre-defined queries with the given name.DatabaseQueryAbstractSession. prepareDatabaseQuery(DatabaseQuery query)INTERNAL: A call back to do session specific preparation of a query.Methods in org.eclipse.persistence.internal.sessions that return types with arguments of type DatabaseQuery Modifier and Type Method Description List<DatabaseQuery>AbstractSession. getAllQueries()INTERNAL: Return the pre-defined queries in this session.List<DatabaseQuery>AbstractSession. getJPAQueries()ADVANCED: Return all pre-defined not yet parsed JPQL queries.List<DatabaseQuery>AbstractSession. getJPATablePerTenantQueries()ADVANCED: Return all pre-defined not yet parsed JPQL queries.Map<String,List<DatabaseQuery>>AbstractSession. getQueries()ADVANCED: Return all pre-defined queries.List<DatabaseQuery>AbstractSession. getTablePerTenantQueries()INTERNAL: Return list of table per tenant multitenant descriptors.Methods in org.eclipse.persistence.internal.sessions with parameters of type DatabaseQuery Modifier and Type Method Description voidAbstractSession. addJPAQuery(DatabaseQuery query)INTERNAL: Return all pre-defined not yet parsed EJBQL queries.voidAbstractSession. addJPATablePerTenantQuery(DatabaseQuery query)INTERNAL: Return all pre-defined not yet parsed EJBQL multitenant queries.voidAbstractSession. addQuery(String name, DatabaseQuery query)PUBLIC: Add the query to the session queries with the given name.voidAbstractSession. addQuery(String name, DatabaseQuery query, boolean replace)PUBLIC: Add the query to the session queries with the given name.protected voidAbstractSession. addQuery(DatabaseQuery query, boolean nameMustBeUnique)INTERNAL: Add the query to the session queries.protected voidAbstractSession. addTablePerTenantQuery(DatabaseQuery query)INTERNAL: Add a query that queries a table per tenant entityObjectAbstractSession. basicExecuteCall(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Execute the call on each accessors and merge the results.voidAbstractSession. endOperationProfile(String operationName, DatabaseQuery query, int weight)INTERNAL: End the operation timing.ObjectAbstractSession. executeCall(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Overridden by subclasses that do more than just execute the call.ObjectUnitOfWorkImpl. executeCall(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Override From session.ObjectAbstractSession. executeQuery(DatabaseQuery query)PUBLIC: Execute the database query.ObjectAbstractSession. executeQuery(DatabaseQuery query, List argumentValues)PUBLIC: Return the results from executing the database query.ObjectAbstractSession. executeQuery(DatabaseQuery query, AbstractRecord row)INTERNAL: Return the results from executing the database query.ObjectAbstractSession. executeQuery(DatabaseQuery query, AbstractRecord row, int retryCount)INTERNAL: Return the results from executing the database query.Collection<Accessor>AbstractSession. getAccessors(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Return the connections to use for the query execution.Collection<Accessor>UnitOfWorkImpl. getAccessors(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Return the connections to use for the query execution.AbstractSessionAbstractSession. getExecutionSession(DatabaseQuery query)INTERNAL: Gets the session which this query will be executed on.AbstractSessionIsolatedClientSession. getExecutionSession(DatabaseQuery query)INTERNAL: Gets the session which this query will be executed on.AbstractSessionUnitOfWorkImpl. getExecutionSession(DatabaseQuery query)INTERNAL: Gets the session which this query will be executed on.AbstractSessionAbstractSession. 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.AbstractSessionAbstractSession. 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.AbstractSessionAbstractSession. getRootSession(DatabaseQuery query)INTERNAL: The session that this query is executed against when not in transaction.voidAbstractSession. incrementProfile(String operationName, DatabaseQuery query)INTERNAL: Updates the count of SessionProfiler eventObjectAbstractSession. internalExecuteQuery(DatabaseQuery query, AbstractRecord databaseRow)INTERNAL: Return the results from exeucting the database query.ObjectUnitOfWorkImpl. internalExecuteQuery(DatabaseQuery query, AbstractRecord databaseRow)INTERNAL: Return the results from executing the database query.protected booleanIsolatedClientSession. isIsolatedQuery(DatabaseQuery query)INTERNAL: Answers if this query is an isolated query and must be executed locally.DatabaseQueryAbstractSession. prepareDatabaseQuery(DatabaseQuery query)INTERNAL: A call back to do session specific preparation of a query.protected voidAbstractSession. processJPAQuery(DatabaseQuery jpaQuery)INTERNAL: Process the JPA named query into an EclipseLink Session query.voidAbstractSession. releaseConnectionAfterCall(DatabaseQuery query)INTERNAL: Release (if required) connection after call.ObjectAbstractSession. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query.ObjectDatabaseSessionImpl. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query.ObjectUnitOfWorkImpl. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query.protected booleanExclusiveIsolatedClientSession. shouldExecuteLocally(DatabaseQuery query)INTERNAL: Helper method to calculate whether to execute this query locally or send it to the server session.protected booleanIsolatedClientSession. shouldExecuteLocally(DatabaseQuery query)INTERNAL: Helper method to calculate whether to execute this query locally or send it to the server session.voidAbstractSession. startOperationProfile(String operationName, DatabaseQuery query, int weight)INTERNAL: Start the operation timing.voidUnitOfWorkImpl. storeDeferredModifyAllQuery(DatabaseQuery query, AbstractRecord translationRow)INTERNAL: Store the deferred UpdateAllQuery's from the UoW in the list for execution.voidUnitOfWorkImpl. storeModifyAllQuery(DatabaseQuery query)INTERNAL: Store the ModifyAllQuery's from the UoW in the list.voidAbstractSession. validateQuery(DatabaseQuery query)INTERNAL: This method will be used to update the query with any settings required For this session.Method parameters in org.eclipse.persistence.internal.sessions with type arguments of type DatabaseQuery Modifier and Type Method Description voidAbstractSession. setQueries(Map<String,List<DatabaseQuery>> queries)INTERNAL: Set the named queries. -
Uses of DatabaseQuery in org.eclipse.persistence.internal.sessions.remote
Fields in org.eclipse.persistence.internal.sessions.remote declared as DatabaseQuery Modifier and Type Field Description protected DatabaseQueryTransporter. queryMethods in org.eclipse.persistence.internal.sessions.remote that return DatabaseQuery Modifier and Type Method Description DatabaseQueryTransporter. getQuery()Return the query associated with this transporter.Methods in org.eclipse.persistence.internal.sessions.remote with parameters of type DatabaseQuery Modifier and Type Method Description ObjectRemoteUnitOfWork. internalExecuteQuery(DatabaseQuery query, AbstractRecord Record)INTERNAL: Return the results from exeucting the database query.abstract TransporterRemoteConnection. remoteExecute(DatabaseQuery query)Execute query remotely.voidTransporter. setQuery(DatabaseQuery query)Set the query associated with this transporter -
Uses of DatabaseQuery in org.eclipse.persistence.mappings
Methods in org.eclipse.persistence.mappings with parameters of type DatabaseQuery Modifier and Type Method Description protected voidCollectionMapping. executeBatchQuery(DatabaseQuery query, CacheKey parentCacheKey, Map referenceObjectsByKey, AbstractSession session, AbstractRecord translationRow)INTERNAL: Prepare and execute the batch query and store the results for each source object in a map keyed by the mappings source keys of the source objects.protected voidDirectCollectionMapping. executeBatchQuery(DatabaseQuery query, CacheKey parentCacheKey, Map referenceDataByKey, AbstractSession session, AbstractRecord translationRow)INTERNAL: Prepare and execute the batch query and store the results for each source object in a map keyed by the mappings source keys of the source objects.protected voidDirectMapMapping. executeBatchQuery(DatabaseQuery query, CacheKey parentCacheKey, Map referenceDataByKey, AbstractSession session, AbstractRecord translationRow)INTERNAL: Prepare and execute the batch query and store the results for each source object in a map keyed by the mappings source keys of the source objects.protected voidForeignReferenceMapping. executeBatchQuery(DatabaseQuery query, CacheKey parentCacheKey, Map referenceObjectsByKey, AbstractSession session, AbstractRecord row)INTERNAL: Prepare and execute the batch query and store the results for each source object in a map keyed by the mappings source keys of the source objects.protected voidOneToOneMapping. executeBatchQuery(DatabaseQuery query, CacheKey parentCacheKey, Map referenceObjectsByKey, AbstractSession session, AbstractRecord translationRow)INTERNAL: Prepare and execute the batch query and store the results for each source object in a map keyed by the mappings source keys of the source objects. -
Uses of DatabaseQuery in org.eclipse.persistence.platform.database
Methods in org.eclipse.persistence.platform.database that return DatabaseQuery Modifier and Type Method Description DatabaseQueryOraclePlatform. getVPDClearIdentifierQuery(String vpdIdentifier)INTERNAL: Return an Oracle defined VPD clear identifier query.DatabaseQueryOraclePlatform. getVPDSetIdentifierQuery(String vpdIdentifier)INTERNAL: Return an Oracle defined VPD set identifier query. -
Uses of DatabaseQuery in org.eclipse.persistence.queries
Subclasses of DatabaseQuery in org.eclipse.persistence.queries Modifier and Type Class Description classDataModifyQueryPurpose: Concrete class used for executing non selecting SQL strings.classDataReadQueryPurpose: Concrete class to perform read using raw SQL.classDeleteAllQueryPurpose: Query used to delete a collection of objects.classDeleteObjectQueryPurpose: Used for deleting objects.classDirectReadQueryPurpose: Concrete class to perform a direct read.classDoesExistQueryPurpose: This should only be used by the descriptor, this should not be executed directly.classInsertObjectQueryPurpose: Used for inserting new objects into the database.classModifyAllQueryPUBLIC: Query used to perform a bulk delete using the expression framework.classModifyQueryPurpose: Abstract class for all modify queries.classObjectBuildingQueryPurpose: Abstract class for all read queries that build objects and potentially manipulate the TopLink cache.classObjectLevelModifyQueryPurpose: Abstract class for all object modify queries.classObjectLevelReadQueryPurpose: Abstract class for all read queries using objects.classReadAllQueryPurpose: Concrete class for all read queries involving a collection of objects.classReadObjectQueryPurpose: Concrete class for all read queries involving a single object.classReadQueryPurpose: Abstract class for all read queries.classReportQueryPurpose: Query for information about a set of objects instead of the objects themselves.classResultSetMappingQueryPurpose: Concrete class to perform read using raw SQL and the SQLResultSetMapping.classUpdateAllQueryPUBLIC: A Query Class used to perform a bulk update using TopLink's expression framework.classUpdateObjectQueryPurpose: Used for updating existing objects into the database.classValueReadQueryPurpose: Concrete class to perform a read of a single data value.classWriteObjectQueryPurpose: Used for inserting or updating objects WriteObjectQuery determines whether to perform a insert or an update on the database.Fields in org.eclipse.persistence.queries declared as DatabaseQuery Modifier and Type Field Description protected DatabaseQueryJPQLCall. queryFields in org.eclipse.persistence.queries with type parameters of type DatabaseQuery Modifier and Type Field Description protected Map<Class<?>,DatabaseQuery>ObjectLevelReadQuery. concreteSubclassQueriesAllow concrete subclasses queries to be prepared and cached for inheritance queries.Methods in org.eclipse.persistence.queries that return DatabaseQuery Modifier and Type Method Description DatabaseQueryJPAQueryBuilder. buildQuery(CharSequence jpqlQuery, AbstractSession session)Creates a fully initializedDatabaseQueryby parsing the given JPQL query.protected DatabaseQueryDatabaseQuery. checkForCustomQuery(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if a custom query should be used for this query.protected DatabaseQueryDeleteObjectQuery. checkForCustomQuery(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if a custom query should be used for this query.protected DatabaseQueryInsertObjectQuery. checkForCustomQuery(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if a custom query should be used for this query.protected DatabaseQueryObjectLevelReadQuery. checkForCustomQuery(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if a custom query should be used for this query.protected DatabaseQueryReportQuery. checkForCustomQuery(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if a custom query should be used for this query.protected DatabaseQueryUpdateObjectQuery. checkForCustomQuery(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if a custom query should be used for this query.DatabaseQueryJPQLCall. getQuery()Back reference to query, unfortunately required for events.DatabaseQueryObjectLevelReadQuery. prepareOutsideUnitOfWork(AbstractSession session)INTERNAL: There is a very special case where a query may be a bean-level pessimistic locking query.Methods in org.eclipse.persistence.queries that return types with arguments of type DatabaseQuery Modifier and Type Method Description Map<Class<?>,DatabaseQuery>ObjectLevelReadQuery. getConcreteSubclassQueries()INTERNAL: Return the cache of concrete subclass queries.Methods in org.eclipse.persistence.queries with parameters of type DatabaseQuery Modifier and Type Method Description DatabaseQueryMechanismCall. buildNewQueryMechanism(DatabaseQuery query)INTERNAL: Return the appropriate mechanism, with the call set as necessary.DatabaseQueryMechanismJPQLCall. buildNewQueryMechanism(DatabaseQuery query)INTERNAL: Return the appropriate mechanism, with the call added as necessary.DatabaseQueryMechanismCall. buildQueryMechanism(DatabaseQuery query, DatabaseQueryMechanism mechanism)INTERNAL: Return the appropriate mechanism, with the call added as necessary.DatabaseQueryMechanismJPQLCall. buildQueryMechanism(DatabaseQuery query, DatabaseQueryMechanism mechanism)INTERNAL: Return the appropriate mechanism, with the call added as necessary.static ObjectQueryRedirectorHelper. checkEclipseLinkCache(DatabaseQuery query, DataRecord dataRecord, Session session)This method will cause EclipseLink to check the EclipseLink cache for the object.protected voidDatabaseQuery. clonedQueryExecutionComplete(DatabaseQuery query, AbstractSession session)INTERNAL Used to give the subclasses opportunity to copy aspects of the cloned query to the original query.protected voidModifyAllQuery. clonedQueryExecutionComplete(DatabaseQuery query, AbstractSession session)INTERNAL Used to give the subclasses opportunity to copy aspects of the cloned query to the original query.protected voidObjectBuildingQuery. clonedQueryExecutionComplete(DatabaseQuery query, AbstractSession session)INTERNAL Used to give the subclasses opportunity to copy aspects of the cloned query to the original query.protected voidReadQuery. clonedQueryExecutionComplete(DatabaseQuery query, AbstractSession session)INTERNAL Used to give the subclasses opportunity to copy aspects of the cloned query to the original query.voidDatabaseQuery. copyFromQuery(DatabaseQuery query)INTERNAL: Copy all setting from the query.voidObjectBuildingQuery. copyFromQuery(DatabaseQuery query)INTERNAL: Copy all setting from the query.voidObjectLevelReadQuery. copyFromQuery(DatabaseQuery query)INTERNAL: Copy all setting from the query.voidReadObjectQuery. copyFromQuery(DatabaseQuery query)INTERNAL: Copy all setting from the query.voidReadQuery. copyFromQuery(DatabaseQuery query)INTERNAL: Copy all setting from the query.protected voidMethodBaseQueryRedirector. initializeMethod(DatabaseQuery query)INTERNAL: Set the method.ObjectMethodBaseQueryRedirector. invokeQuery(DatabaseQuery query, DataRecord arguments, Session session)INTERNAL: Call the static method to execute the query.ObjectQueryRedirector. invokeQuery(DatabaseQuery query, DataRecord arguments, Session session)REQUIRED: Perform the query.voidJPAQueryBuilder. populateQuery(CharSequence jpqlQuery, DatabaseQuery query, AbstractSession session)Populates the givenDatabaseQueryby parsing the given JPQL query.voidCursoredStreamPolicy. prepare(DatabaseQuery query, AbstractSession session)INTERNAL: Prepare and validate.voidCursorPolicy. prepare(DatabaseQuery query, AbstractSession session)INTERNAL: Prepare and validate.protected voidDatabaseQuery. prepareCustomQuery(DatabaseQuery customQuery)INTERNAL: Set the properties needed to be cascaded into the custom query.protected voidDeleteObjectQuery. prepareCustomQuery(DatabaseQuery customQuery)INTERNAL: Set the properties needed to be cascaded into the custom query.protected voidInsertObjectQuery. prepareCustomQuery(DatabaseQuery customQuery)INTERNAL: Set the properties needed to be cascaded into the custom query.protected voidObjectBuildingQuery. prepareCustomQuery(DatabaseQuery customQuery)INTERNAL: Set the properties needed to be cascaded into the custom query including the translation row.protected voidReadAllQuery. prepareCustomQuery(DatabaseQuery customQuery)INTERNAL: Set the properties needed to be cascaded into the custom query.protected voidReadObjectQuery. prepareCustomQuery(DatabaseQuery customQuery)INTERNAL: Set the properties needed to be cascaded into the custom query including the translation row.protected voidUpdateObjectQuery. prepareCustomQuery(DatabaseQuery customQuery)INTERNAL: Set the properties needed to be cascaded into the custom query.voidDatabaseQuery. prepareFromQuery(DatabaseQuery query)INTERNAL: Prepare the query from the prepared query.voidObjectBuildingQuery. prepareFromQuery(DatabaseQuery query)INTERNAL: Prepare the query from the prepared query.voidObjectLevelReadQuery. prepareFromQuery(DatabaseQuery query)INTERNAL: Prepare the query from the prepared query.voidReadAllQuery. prepareFromQuery(DatabaseQuery query)INTERNAL: Prepare the query from the prepared query.voidReportQuery. prepareFromQuery(DatabaseQuery query)INTERNAL: Prepare the query from the prepared query.ObjectDatabaseQuery. redirectQuery(QueryRedirector redirector, DatabaseQuery queryToRedirect, AbstractSession session, AbstractRecord translationRow)INTERNAL: Use a EclipseLink redirector to redirect this query to a method.voidJPQLCall. setQuery(DatabaseQuery query)INTERNAL: Back reference to query, unfortunately required for events. -
Uses of DatabaseQuery in org.eclipse.persistence.sequencing
Methods in org.eclipse.persistence.sequencing with parameters of type DatabaseQuery Modifier and Type Method Description protected Vector<Object>QuerySequence. createArguments(DatabaseQuery query, String seqName, Number sizeOrNewValue)INTERNAL: -
Uses of DatabaseQuery in org.eclipse.persistence.sessions
Fields in org.eclipse.persistence.sessions declared as DatabaseQuery Modifier and Type Field Description protected DatabaseQuerySessionEvent. querySome events may have a query associated with them (pre/postExecuteQuery).Fields in org.eclipse.persistence.sessions with type parameters of type DatabaseQuery Modifier and Type Field Description protected List<DatabaseQuery>Project. jpaQueriesList of queries from JPA that need special processing before execution.protected List<DatabaseQuery>Project. jpaTablePerTenantQueriesList of queries from JPA that may special processing and handling before execution.protected List<DatabaseQuery>Project. queriesList of queries - once Project is initialized, these are copied to the Session.Methods in org.eclipse.persistence.sessions that return DatabaseQuery Modifier and Type Method Description DatabaseQuerySession. getQuery(String name)PUBLIC: Return the query from the session pre-defined queries with the given name.DatabaseQuerySession. getQuery(String name, List arguments)PUBLIC: Return the query from the session pre-defined queries with the given name.DatabaseQuerySessionEvent. getQuery()PUBLIC: Some events may have a query associated with them (pre/postExecuteQuery).Methods in org.eclipse.persistence.sessions that return types with arguments of type DatabaseQuery Modifier and Type Method Description List<DatabaseQuery>Project. getJPAQueries()INTERNAL: Return all pre-defined not yet parsed JPQL queries.List<DatabaseQuery>Session. getJPAQueries()ADVANCED: Return all pre-defined not yet parsed EJBQL queries.List<DatabaseQuery>Project. getJPATablePerTenantQueries()INTERNAL: Return all pre-defined not yet parsed JPQL queries to table per tenant entities.List<DatabaseQuery>Project. getQueries()INTERNAL: List of queries that upon initialization are copied over to the sessionMap<String,List<DatabaseQuery>>Session. getQueries()ADVANCED: Return all pre-defined queries.Methods in org.eclipse.persistence.sessions with parameters of type DatabaseQuery Modifier and Type Method Description voidProject. addJPAQuery(DatabaseQuery query)INTERNAL: Return all pre-defined not yet parsed EJBQL queries.voidSession. addJPAQuery(DatabaseQuery query)ADVANCED: Add a pre-defined not yet parsed JPQL String/query to the session to be parsed after descriptors are initialized.voidProject. addJPATablePerTenantQuery(DatabaseQuery query)INTERNAL: Return all pre-defined not yet parsed EJBQL queries to table per tenant entities.voidSession. addQuery(String name, DatabaseQuery query)PUBLIC: Add the query to the session queries with the given name.voidSessionProfiler. endOperationProfile(String operationName, DatabaseQuery query, int weight)INTERNAL: End the operation timing.voidSessionProfilerAdapter. endOperationProfile(String operationName, DatabaseQuery query, int weight)INTERNAL: End the operation timing.ObjectSession. executeQuery(DatabaseQuery query)PUBLIC: Execute the database query.ObjectSession. executeQuery(DatabaseQuery query, List argumentValues)PUBLIC: Return the results from executing the database query.voidSessionProfiler. occurred(String operationName, DatabaseQuery query, AbstractSession session)INTERNAL: Increase DMS Event sensor occurrence.(DMS)voidSessionProfilerAdapter. occurred(String operationName, DatabaseQuery query, AbstractSession session)INTERNAL: Increase DMS Event sensor occurrence.(DMS)voidSessionEventManager. postExecuteQuery(DatabaseQuery query, Object result)INTERNAL: Post execute query.voidSessionEventManager. preExecuteQuery(DatabaseQuery query)INTERNAL: Pre execute query.ObjectSessionProfiler. profileExecutionOfQuery(DatabaseQuery query, DataRecord row, AbstractSession session)INTERNAL: Finish a profile operation if profiling.ObjectSessionProfilerAdapter. profileExecutionOfQuery(DatabaseQuery query, DataRecord row, AbstractSession session)INTERNAL: Finish a profile operation if profiling.voidSessionEvent. setQuery(DatabaseQuery query)INTERNAL: Some events may have a query associated with them (pre/postExecuteQuery).voidSessionProfiler. startOperationProfile(String operationName, DatabaseQuery query, int weight)INTERNAL: Start the operation timing.voidSessionProfilerAdapter. startOperationProfile(String operationName, DatabaseQuery query, int weight)INTERNAL: Start the operation timing.Method parameters in org.eclipse.persistence.sessions with type arguments of type DatabaseQuery Modifier and Type Method Description voidProject. setQueries(List<DatabaseQuery> queries)INTERNAL: -
Uses of DatabaseQuery in org.eclipse.persistence.sessions.broker
Methods in org.eclipse.persistence.sessions.broker that return DatabaseQuery Modifier and Type Method Description DatabaseQuerySessionBroker. getQuery(String name, Vector arguments, boolean shouldSearchParent)PUBLIC: Return the query from the session pre-defined queries with the given name and argument types.Methods in org.eclipse.persistence.sessions.broker with parameters of type DatabaseQuery Modifier and Type Method Description Collection<Accessor>SessionBroker. getAccessors(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Return the low-level database accessors.AbstractSessionSessionBroker. getExecutionSession(DatabaseQuery query)INTERNAL: Gets the session which this query will be executed on.protected AbstractSessionSessionBroker. getSessionForQuery(DatabaseQuery query)INTERNAL: Answers the session to be used for the given query.ObjectSessionBroker. internalExecuteQuery(DatabaseQuery query, AbstractRecord row)INTERNAL: Return the results from exeucting the database query.ObjectSessionBroker. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query. -
Uses of DatabaseQuery in org.eclipse.persistence.sessions.factories
Methods in org.eclipse.persistence.sessions.factories with parameters of type DatabaseQuery Modifier and Type Method Description protected voidProjectClassGenerator. addNamedQueryLines(NonreflectiveMethodDefinition method, DatabaseQuery query, DescriptorQueryManager queryManager, int iteration) -
Uses of DatabaseQuery in org.eclipse.persistence.sessions.remote
Methods in org.eclipse.persistence.sessions.remote with parameters of type DatabaseQuery Modifier and Type Method Description abstract ObjectDistributedSession. executeQuery(DatabaseQuery query)Execute the database query.ObjectDistributedSession. executeQuery(DatabaseQuery query, AbstractRecord row)INTERNAL: Execute the database query.ObjectRemoteSession. executeQuery(DatabaseQuery query)PUBLIC: Execute the database query. -
Uses of DatabaseQuery in org.eclipse.persistence.sessions.remote.rmi
Methods in org.eclipse.persistence.sessions.remote.rmi with parameters of type DatabaseQuery Modifier and Type Method Description TransporterRMIConnection. remoteExecute(DatabaseQuery query)INTERNAL: Execute the query on the server. -
Uses of DatabaseQuery in org.eclipse.persistence.sessions.server
Methods in org.eclipse.persistence.sessions.server that return DatabaseQuery Modifier and Type Method Description DatabaseQueryClientSession. getQuery(String name)INTERNAL: Was PUBLIC: customer will be redirected toSession.DatabaseQueryClientSession. getQuery(String name, Vector args)INTERNAL:Methods in org.eclipse.persistence.sessions.server with parameters of type DatabaseQuery Modifier and Type Method Description ObjectClientSession. executeCall(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Execute the call on the correct connection accessor.ObjectServerSession. executeCall(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Execute the call on the correct connection accessor.ObjectServerSession. executeQuery(DatabaseQuery query, List argumentValues)PUBLIC: Return the results from executing the database query.List<Accessor>ServerSession. getAccessors(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Return the connections to use for the query execution.AbstractSessionClientSession. getExecutionSession(DatabaseQuery query)INTERNAL: Gets the session which this query will be executed on.AbstractSessionServerSession. getExecutionSession(DatabaseQuery query)INTERNAL: Gets the session which this query will be executed on.voidClientSession. releaseConnectionAfterCall(DatabaseQuery query)INTERNAL: Release (if required) connection after call.voidServerSession. releaseConnectionAfterCall(DatabaseQuery query)INTERNAL: Release (if required) connection after call.ObjectClientSession. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query.voidServerSession. validateQuery(DatabaseQuery query)INTERNAL: This method will be used to update the query with any settings required For this session. -
Uses of DatabaseQuery in org.eclipse.persistence.tools.profiler
Methods in org.eclipse.persistence.tools.profiler with parameters of type DatabaseQuery Modifier and Type Method Description voidPerformanceMonitor. endOperationProfile(String operationName, DatabaseQuery query, int weight)INTERNAL: End the operation timing.voidPerformanceProfiler. endOperationProfile(String operationName, DatabaseQuery query, int weight)INTERNAL: End the operation timing.voidPerformanceMonitor. occurred(String operationName, DatabaseQuery query, AbstractSession session)ObjectPerformanceMonitor. profileExecutionOfQuery(DatabaseQuery query, DataRecord row, AbstractSession session)INTERNAL: Monitoring is done on the endOperation only.ObjectPerformanceProfiler. profileExecutionOfQuery(DatabaseQuery query, DataRecord row, AbstractSession session)INTERNAL: Finish a profile operation if profiling.voidPerformanceMonitor. startOperationProfile(String operationName, DatabaseQuery query, int weight)INTERNAL: Start the operation timing.voidPerformanceProfiler. startOperationProfile(String operationName, DatabaseQuery query, int weight)INTERNAL: Start the operation timing. -
Uses of DatabaseQuery in org.eclipse.persistence.tools.schemaframework
Methods in org.eclipse.persistence.tools.schemaframework with parameters of type DatabaseQuery Modifier and Type Method Description protected StoredProcedureDefinitionStoredProcedureGenerator. generateObjectStoredProcedure(DatabaseQuery query, List<DatabaseField> fields, String namePrefix)INTERNAL: Generates the object level stored procedure based on the passed in queryprotected StoredProcedureDefinitionStoredProcedureGenerator. generateOneToManyMappingProcedures(OneToManyMapping mapping, DatabaseQuery query, Map<DatabaseField,DatabaseField> fields, String namePrefix)INTERNAL: Generates all the stored procedures for this mappingprotected StoredProcedureDefinitionStoredProcedureGenerator. generateStoredProcedure(DatabaseQuery query, List<DatabaseField> fields, String name)INTERNAL: Generates the stored procedure for this query.protected StoredProcedureDefinitionStoredProcedureGenerator. generateStoredProcedure(DatabaseQuery query, List<DatabaseField> fields, AbstractRecord rowForPrepare, String name)INTERNAL: Generates the stored procedure for this query using the row passed in for the check prepare.
-