Methods Summary |
---|
public oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism | buildNewQueryMechanism(oracle.toplink.essentials.queryframework.DatabaseQuery query)INTERNAL:
Return the appropriate mechanism,
with the call added as necessary.
return new EJBQLCallQueryMechanism(query, this);
|
public oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism | buildQueryMechanism(oracle.toplink.essentials.queryframework.DatabaseQuery query, oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism mechanism)INTERNAL:
Return the appropriate mechanism,
with the call added as necessary.
return buildNewQueryMechanism(query);
|
public java.lang.Object | clone()
try {
return super.clone();
} catch (CloneNotSupportedException cnse) {
return null;
}
|
public java.lang.String | getCallString()INTERNAL:
Return the string for the call
return getEjbqlString();
|
public java.lang.String | getEjbqlString()INTERNAL:
Return the EJBQL string for this call
return ejbqlString;
|
private boolean | getIsParsed()INTERNAL
Return the isParsed state
return isParsed;
|
public java.lang.String | getLogString(oracle.toplink.essentials.internal.databaseaccess.Accessor accessor)INTERNAL:
Return the SQL string for this call. Always return null
since this is an EJBQL call
return getSQLString();
|
public oracle.toplink.essentials.queryframework.DatabaseQuery | getQuery()Back reference to query, unfortunately required for events.
return query;
|
public java.lang.String | getSQLString()INTERNAL:
Return the SQL string for this call. Always return null
since this is an EJBQL call
return null;
|
public boolean | isEJBQLCall()INTERNAL:
Yes this is an EJBQLCall
return true;
|
public boolean | isFinished()Return whether all the results of the call have been returned.
//never used, but required for implementing Call.
return true;
|
public boolean | isParsed()INTERNAL
Is this query Parsed
return getIsParsed();
|
public void | populateQuery(oracle.toplink.essentials.internal.sessions.AbstractSession session)Populate the query using the information retrieved from parsing the EJBQL.
if (!isParsed()) {
//bug4324564: moved code to EJBQLParserFactory.populateQuery -CD
(new EJBQLParserFactory()).populateQuery(getEjbqlString(), (ObjectLevelReadQuery)getQuery(), session);
// Make sure we don't parse and prepare again.
this.setIsParsed(true);
}
|
public java.sql.PreparedStatement | prepareStatement(oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor accessor, oracle.toplink.essentials.internal.sessions.AbstractRecord translationRow, oracle.toplink.essentials.internal.sessions.AbstractSession session)INTERNAL:
Prepare the JDBC statement, this may be parameterize or a call statement.
If caching statements this must check for the pre-prepared statement and re-bind to it.
return null;
|
public void | setEjbqlString(java.lang.String newEjbqlString)INTERNAL:
Set the EJBQL string for this call
ejbqlString = newEjbqlString;
|
public void | setIsParsed(boolean newIsParsed)INTERNAL
Set the isParsed state
isParsed = newIsParsed;
|
public void | setQuery(oracle.toplink.essentials.queryframework.DatabaseQuery query)INTERNAL:
Back reference to query, unfortunately required for events.
this.query = query;
|
public void | translate(oracle.toplink.essentials.internal.sessions.AbstractRecord translationRow, oracle.toplink.essentials.internal.sessions.AbstractRecord modifyRow, oracle.toplink.essentials.internal.sessions.AbstractSession session)INTERNAL:
translate method comment.
|