Methods Summary |
---|
public java.lang.Object | executeDatabaseQuery()INTERNAL:
This should never be called and is only here because it is needed as an extension
to DatabaseQuery. An exception should be thrown to warn users, but for now
it will process the EJBQL and execute the resulting query instead.
DatabaseQuery ejbquery = processEjbQLQuery(this.getSession());
return ejbquery.executeDatabaseQuery();
|
public java.lang.String | getEJBQLString()INTERNAL:
Add the expression value to be included in the result.
EXAMPLE: reportQuery.addItem("name", expBuilder.get("firstName").toUpperCase());
The resultType can be specified to support EJBQL that adheres to the
EJB 3.0 spec.
return ejbQLString;
|
public java.util.HashMap | getHints()INTERNAL:
Accessor methods for hints that would be added to the EJBQuery class and
applied to the TopLink query.
return hints;
|
public oracle.toplink.essentials.queryframework.DatabaseQuery | processEjbQLQuery(oracle.toplink.essentials.sessions.Session session)
ClassLoader classloader = session.getDatasourcePlatform().getConversionManager().getLoader();
DatabaseQuery ejbquery = EJBQueryImpl.buildEJBQLDatabaseQuery(
this.getName(), ejbQLString, flushOnExecute, session, hints, classloader);
ejbquery.setName(this.getName());
return ejbquery;
|
public void | setEJBQLString(java.lang.String ejbQLString)
this.ejbQLString = ejbQLString;
|
public void | setHints(java.util.HashMap hints)
this.hints = hints;
|