| Modifier and Type | Field and Description |
|---|---|
| private StoredProcedureCall | |
| private Map | |
| private String | |
| private String | |
| private String | |
| private List | |
| private List | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public Object | executeDatabaseQuery()
Implements abstract org. |
| public DatabaseQuery | |
| public List | getDescriptors()
Overrides org. |
| public Map | |
| public String | getJPQLString()
Overrides org. |
| public boolean | |
| public boolean | |
| public void | prepare()
Overrides org. |
| public DatabaseQuery | |
| public DatabaseQuery | |
| public DatabaseQuery | processStoredProcedureQuery(Session session)
INTERNAL: Convert the StoredProc call into a DatabaseQuery. |
| public void | |
| public void | setDescriptors(List<ClassDescriptor> descriptors)
INTERNAL: For table per tenant queries the descriptor list will extracted from parsing the jpql query and cached here. |
| public void | |
| public void | setJPQLString(String jpqlString)
Overrides org. |
| public void | |
| public void |
| call | back to summary |
|---|---|
| private StoredProcedureCall call | |
| hints | back to summary |
|---|---|
| private Map<String, Object> hints | |
| jpqlString | back to summary |
|---|---|
| private String jpqlString | |
| lockMode | back to summary |
|---|---|
| private String lockMode | |
| resultClassName | back to summary |
|---|---|
| private String resultClassName | |
| resultClassNames | back to summary |
|---|---|
| private List<String> resultClassNames | |
| resultSetMappingNames | back to summary |
|---|---|
| private List<String> resultSetMappingNames | |
| sqlString | back to summary |
|---|---|
| private String sqlString | |
| JPAQuery | back to summary |
|---|---|
| public JPAQuery() | |
| JPAQuery | back to summary |
|---|---|
| public JPAQuery(String jpqlString) | |
| JPAQuery | back to summary |
|---|---|
| public JPAQuery(String name, String jpqlString, String lockMode, Map<String, Object> hints) JPQL | |
| JPAQuery | back to summary |
|---|---|
| public JPAQuery(String queryName, String sqlString, Map<String, Object> hints) | |
| JPAQuery | back to summary |
|---|---|
| public JPAQuery(String queryName, StoredProcedureCall call, Map<String, Object> hints) | |
| addResultClassNames | back to summary |
|---|---|
| public void addResultClassNames(String className) | |
| addResultSetMapping | back to summary |
|---|---|
| public void addResultSetMapping(String resultSetMapping) | |
| executeDatabaseQuery | back to summary |
|---|---|
| public Object executeDatabaseQuery() throws DatabaseException, OptimisticLockException Implements abstract org. INTERNAL: This should never be called and is only here because it is needed as an extension to DatabaseQuery. Perhaps exception should be thrown to warn users, but for now it will execute the resulting query instead, this allows JPA style queries to be executed on a normal EclipseLink Session.
| |
| getDatabaseQuery | back to summary |
|---|---|
| public DatabaseQuery getDatabaseQuery() | |
| getDescriptors | back to summary |
|---|---|
| public List Overrides org. INTERNAL: For table per tenant queries the descriptor list will extracted from parsing the jpql query and cached here.
| |
| getHints | back to summary |
|---|---|
| public Map Return the JPA query hints. | |
| getJPQLString | back to summary |
|---|---|
| public String getJPQLString() Overrides org. Return the JPQL string.
| |
| isJPQLQuery | back to summary |
|---|---|
| public boolean isJPQLQuery() Return true if this query is a jpql query. | |
| isSQLQuery | back to summary |
|---|---|
| public boolean isSQLQuery() Return true if this query is an sql query. | |
| prepare | back to summary |
|---|---|
| public void prepare() Overrides org. INTERNAL: Generate the DatabaseQuery query from the JPA named query.
| |
| processJPQLQuery | back to summary |
|---|---|
| public DatabaseQuery processJPQLQuery(Session session) INTERNAL: Convert the JPA query into a DatabaseQuery. | |
| processSQLQuery | back to summary |
|---|---|
| public DatabaseQuery processSQLQuery(Session session) INTERNAL: Convert the SQL string into a DatabaseQuery. | |
| processStoredProcedureQuery | back to summary |
|---|---|
| public DatabaseQuery processStoredProcedureQuery(Session session) INTERNAL: Convert the StoredProc call into a DatabaseQuery. | |
| setDatabaseQuery | back to summary |
|---|---|
| public void setDatabaseQuery(DatabaseQuery databaseQuery) | |
| setDescriptors | back to summary |
|---|---|
| public void setDescriptors(List<ClassDescriptor> descriptors) INTERNAL: For table per tenant queries the descriptor list will extracted from parsing the jpql query and cached here. | |
| setHints | back to summary |
|---|---|
| public void setHints(Map<String, Object> hints) | |
| setJPQLString | back to summary |
|---|---|
| public void setJPQLString(String jpqlString) Overrides org. Doc from org. PUBLIC: Set the JPQL string of the query. If arguments are required in the string they will be preceded by ":" then the argument name. The JPQL arguments must also be added as argument to the query.
| |
| setResultClassName | back to summary |
|---|---|
| public void setResultClassName(String className) | |
| setResultSetMappings | back to summary |
|---|---|
| public void setResultSetMappings(List<String> resultSetMappings) | |