| Modifier and Type | Field and Description |
|---|---|
| private transient AbstractRecord | |
| protected boolean | executeReturnValue
JPA 2.1 NamedStoredProcedureQuery execute API implementation. |
| protected transient Vector | |
| protected transient DatabaseField[] | |
| protected int | |
| public static final DatabaseField | |
| protected transient ResultSet | |
| protected boolean | hasAllocatedConnection
Indicates whether the call has allocated connection. |
| protected boolean | hasMultipleResultSets
Support multiple result sets. |
| protected boolean | |
| protected boolean | ignoreFirstRowSetting
Indicates if the FirstRow value in this call object is to be ignored. |
| protected boolean | ignoreMaxResultsSetting
Indicates if the MaxResults value in this call object is to be ignored. |
| protected boolean | isBatchExecutionSupported
Define if this query is compatible with batch writing. |
| protected boolean | |
| protected boolean | isCursorOutputProcedure
Allow for a single cursored output parameter. |
| protected boolean | |
| protected boolean | isMultipleCursorOutputProcedure
Allow for multiple cursored output parameter. |
| protected boolean | |
| public static final DatabaseField | MAXROW_FIELD
Following fields are used to bind MaxResults and FirstRow settings into the query instead of using the values stored in the call. |
| protected int | |
| protected int | |
| protected TimeUnit | |
| protected transient ResultSet | |
| protected int | |
| protected int | |
| protected int | |
| protected boolean | returnMultipleResultSetCollections
Support returning multiple results sets instead of just one list, i.e. support multiple results set mappings. |
| protected Boolean | |
| protected boolean | |
| protected Boolean | |
| protected boolean | |
| protected String | sqlString
The SQL string to execute. |
| protected transient Statement | |
| protected Boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | addContext(DatabaseField field, Object value)
INTERNAL: Add a field - value pair for LOB field into the context. |
| public static void | appendLogParameters(Collection<E> parameters, Accessor accessor, StringWriter writer, AbstractSession session)
Print the parameters to the write for logging purposes. |
| public void | appendParameter(Writer writer, Object parameter, boolean shouldBind, AbstractSession session)
Overrides org. |
| public void | |
| public DatabaseQueryMechanism | buildNewQueryMechanism(DatabaseQuery query)
Overrides org. Implements org. |
| public AbstractRecord | buildOutputRow(CallableStatement statement, DatabaseAccessor accessor, AbstractSession session)
INTERNAL: Return Record containing output fields and values. |
| public DatabaseQueryMechanism | buildQueryMechanism(DatabaseQuery query, DatabaseQueryMechanism mechanism)
Overrides org. Implements org. |
| protected Object | createInOutParameter(Object inValue, Object outParameter, AbstractSession session)
Overrides org. |
| public String | |
| public AbstractRecord | |
| public int | |
| public boolean | |
| public Vector | |
| public DatabaseField[] | |
| protected DatabaseField | getFieldWithTypeFromDescriptor(DatabaseField outField)
INTERNAL: Unfortunately can't avoid referencing query and descriptor: the call should be performed after the translateCustomSQL (in SQLCall) in the middle of prepare method (no parameter available earlier). |
| public int | |
| public ResultSet | |
| public String | getLogString(Accessor accessor)
Implements abstract org. Implements org. |
| public int | |
| public Object | getOutputParameterValue(CallableStatement
SQL/JDBC statement to call stored procedure/function statement, int 0-based index in the argument list index, AbstractSession Active database session (in connected state). session)INTERNAL: Get the return object from the statement. |
| public Object | getOutputParameterValue(CallableStatement
SQL/JDBC statement to call stored procedure/function statement, String parameter name name, AbstractSession Active database session (in connected state). session)INTERNAL: Get the return object from the statement. |
| public Vector | |
| public String | getQueryString()
Overrides org. |
| public int | |
| public ResultSet | |
| public int | |
| public int | |
| public int | |
| public boolean | getReturnsResultSet()
ADVANCED: This method returns a value that represents if the customer has set whether or not EclipseLink should expect the stored procedure to returning a JDBC ResultSet. |
| public String | |
| public Statement | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| protected boolean | |
| public boolean | |
| public boolean | isCursorReturned()
Overrides org. |
| protected boolean | |
| public boolean | |
| public boolean | isFinished()
Overrides org. Implements org. |
| public boolean | isLOBLocatorNeeded()
INTERNAL: Return if the locator is required for the LOB (BLOB and CLOB) writing. |
| public boolean | |
| public boolean | isNonCursorOutputProcedure()
Return true for procedures with any output (or in/out) parameters and no cursors |
| public boolean | |
| public void | matchFieldOrder(ResultSet resultSet, DatabaseAccessor accessor, AbstractSession session)
Allow for the field order to be matched if required. |
| public void | prepare(AbstractSession session)
Overrides org. |
| protected void | |
| protected void | |
| public Statement | prepareStatement(DatabaseAccessor accessor, AbstractRecord translationRow, AbstractSession session)
INTERNAL: Prepare the JDBC statement, this may be parameterize or a call statement. |
| public boolean | |
| public void | setBatchExecutionSupported(boolean isBatchExecutionSupported)
INTERNAL: Set if this query is compatible with batch writing. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setGeneratedKeys(ResultSet generatedKeys)
The result set that stores the generated keys from the Statement |
| public void | |
| public void | setHasMultipleResultSets(boolean hasMultipleResultSets)
Set if the call returns multiple result sets. |
| public void | setHasOptimisticLock(boolean hasOptimisticLock)
This check is needed only when doing batch writing and we hit on optimistic locking. |
| public void | setIgnoreFirstRowSetting(boolean ignoreFirstRowSetting)
INTERNAL: Sets the ignoreFirstRowSetting flag. |
| public void | setIgnoreMaxResultsSetting(boolean ignoreMaxResultsSetting)
INTERNAL: Sets the ignoreMaxResultsSetting flag. |
| protected void | setIsCallableStatementRequired(boolean isCallableStatementRequired)
Callable statement is required if there is an output parameter. |
| public void | setIsCursorOutputProcedure(boolean isCursorOutputProcedure)
Used for Oracle result sets through procedures. |
| public void | setIsFieldMatchingRequired(boolean isFieldMatchingRequired)
Field matching is required for custom SQL statements where the result set field order is not known. |
| public void | setIsMultipleCursorOutputProcedure(boolean isMultipleCursorOutputProcedure)
Used for Oracle result sets through procedures. |
| public void | |
| public void | |
| public void | setQueryString(String queryString)
Overrides org. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setReturnMultipleResultSetCollections(boolean returnMultipleResultSetCollections)
Set if the call returns multiple result sets. |
| public void | setReturnsResultSet(boolean returnsResultSet)
PUBLIC: Use this method to tell EclipseLink that the stored procedure will be returning a JDBC ResultSet |
| protected void | setShouldBuildOutputRow(boolean shouldBuildOutputRow)
INTERNAL: Set whether the call has to build output row |
| public void | setShouldCacheStatement(boolean shouldCacheStatement)
Bound calls can use prepared statement caching. |
| public boolean | setShouldReturnGeneratedKeys(boolean shouldReturnGeneratedKeys)
Indicate that this call should set
Only set to true if |
| protected void | |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | shouldCacheStatement(DatabasePlatform databasePlatform)
Bound calls can use prepared statement caching. |
| public boolean | |
| public boolean | |
| public boolean | shouldReturnGeneratedKeys()
Indicate that this call should set |
| public String | |
| public void | translate(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)
Overrides org. |
| public void |