Responsibilities:
| Modifier and Type | Field and Description |
|---|---|
| protected boolean | |
| protected String | |
| protected transient DatabaseQuery |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DatabaseQueryMechanism | buildNewQueryMechanism(DatabaseQuery query)
Implements org. |
| public DatabaseQueryMechanism | buildQueryMechanism(DatabaseQuery query, DatabaseQueryMechanism mechanism)
Implements org. |
| public Object | clone()
Overrides java. Implements org. |
| public String | |
| public String | |
| private boolean | |
| public String | |
| public String | getLogString(Accessor accessor)
Implements org. |
| public DatabaseQuery | |
| public String | |
| public boolean | isFinished()
Implements org. |
| public boolean | |
| public boolean | isNothingReturned()
Implements org. |
| public boolean | isOneRowReturned()
Implements org. |
| public boolean | |
| public void | populateQuery(AbstractSession session)
Populate the query using the information retrieved from parsing the EJBQL. |
| public PreparedStatement | prepareStatement(DatabaseAccessor accessor, AbstractRecord translationRow, AbstractSession session)
INTERNAL: Prepare the JDBC statement, this may be parameterize or a call statement. |
| public void | |
| public void | |
| public void | |
| public void | |
| public String | |
| public void | translate(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)
INTERNAL: translate method comment. |
| isParsed | back to summary |
|---|---|
| protected boolean isParsed | |
| jpqlString | back to summary |
|---|---|
| protected String jpqlString | |
| query | back to summary |
|---|---|
| protected transient DatabaseQuery query | |
| JPQLCall | back to summary |
|---|---|
| public JPQLCall() PUBLIC: Create a new JPQLCall. | |
| JPQLCall | back to summary |
|---|---|
| public JPQLCall(String jpqlString) PUBLIC: Create a new JPQLCall with an jpqlString. | |
| buildNewQueryMechanism | back to summary |
|---|---|
| public DatabaseQueryMechanism buildNewQueryMechanism(DatabaseQuery query) Implements org. INTERNAL: Return the appropriate mechanism, with the call added as necessary.
| |
| buildQueryMechanism | back to summary |
|---|---|
| public DatabaseQueryMechanism buildQueryMechanism(DatabaseQuery query, DatabaseQueryMechanism mechanism) Implements org. INTERNAL: Return the appropriate mechanism, with the call added as necessary.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Implements org. Doc from org. INTERNAL: Return a clone of the call.
| |
| getCallString | back to summary |
|---|---|
| public String getCallString() INTERNAL: Return the string for the call | |
| getEjbqlString | back to summary |
|---|---|
| public String getEjbqlString() INTERNAL: Return the EJBQL string for this call | |
| getIsParsed | back to summary |
|---|---|
| private boolean getIsParsed() INTERNAL Return the isParsed state | |
| getJPQLString | back to summary |
|---|---|
| public String getJPQLString() INTERNAL: Return the EJBQL string for this call | |
| getLogString | back to summary |
|---|---|
| public String getLogString(Accessor accessor) Implements org. INTERNAL: Return the SQL string for this call. Always return null since this is an EJBQL call
| |
| getQuery | back to summary |
|---|---|
| public DatabaseQuery getQuery() Back reference to query, unfortunately required for events. | |
| getSQLString | back to summary |
|---|---|
| public String getSQLString() INTERNAL: Return the SQL string for this call. Always return null since this is an EJBQL call | |
| isFinished | back to summary |
|---|---|
| public boolean isFinished() Implements org. Return whether all the results of the call have been returned.
| |
| isJPQLCall | back to summary |
|---|---|
| public boolean isJPQLCall() INTERNAL: Yes this is an JPQLCall | |
| isNothingReturned | back to summary |
|---|---|
| public boolean isNothingReturned() Implements org. The return type is one of, NoReturn, ReturnOneRow or ReturnManyRows.
| |
| isOneRowReturned | back to summary |
|---|---|
| public boolean isOneRowReturned() Implements org. The return type is one of, NoReturn, ReturnOneRow or ReturnManyRows.
| |
| isParsed | back to summary |
|---|---|
| public boolean isParsed() INTERNAL Is this query Parsed | |
| populateQuery | back to summary |
|---|---|
| public void populateQuery(AbstractSession session) Populate the query using the information retrieved from parsing the EJBQL. | |
| prepareStatement | back to summary |
|---|---|
| public PreparedStatement prepareStatement(DatabaseAccessor accessor, AbstractRecord translationRow, AbstractSession session) throws SQLException 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. | |
| setEjbqlString | back to summary |
|---|---|
| public void setEjbqlString(String jpqlString) INTERNAL: Set the EJBQL string for this call | |
| setIsParsed | back to summary |
|---|---|
| public void setIsParsed(boolean newIsParsed) INTERNAL Set the isParsed state | |
| setJPQLString | back to summary |
|---|---|
| public void setJPQLString(String jpqlString) INTERNAL: Set the JPQL string for this call | |
| setQuery | back to summary |
|---|---|
| public void setQuery(DatabaseQuery query) INTERNAL: Back reference to query, unfortunately required for events. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. INTERNAL: Print the JPQL string.
| |
| translate | back to summary |
|---|---|
| public void translate(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session) INTERNAL: translate method comment. | |