Uses of Class
org.eclipse.persistence.internal.databaseaccess.DatabaseCall
-
-
Uses of DatabaseCall in org.eclipse.persistence.internal.databaseaccess
Fields in org.eclipse.persistence.internal.databaseaccess declared as DatabaseCall Modifier and Type Field Description protected DatabaseCallDynamicSQLBatchWritingMechanism. lastCallAppendedprotected DatabaseCallParameterizedSQLBatchWritingMechanism. lastCallAppendedprotected DatabaseCallParameterizedSQLBatchWritingMechanism. previousCallThis member variable is used to keep track of the last SQL string that was executed by this mechanism.Methods in org.eclipse.persistence.internal.databaseaccess that return DatabaseCall Modifier and Type Method Description DatabaseCallDatabasePlatform. buildCallWithReturning(SQLCall sqlCall, Vector<DatabaseField> returnFields)INTERNAL Returns null unless the platform supports call with returningDatabaseCallParameterizedSQLBatchWritingMechanism. getLastCallAppended()DatabaseCallParameterizedSQLBatchWritingMechanism. getPreviousCall()Methods in org.eclipse.persistence.internal.databaseaccess with parameters of type DatabaseCall Modifier and Type Method Description abstract voidBatchWritingMechanism. appendCall(AbstractSession session, DatabaseCall call)INTERNAL: This method is called by the DatabaseAccessor to add this statement to the list of statements being batched.voidDynamicSQLBatchWritingMechanism. appendCall(AbstractSession session, DatabaseCall dbCall)INTERNAL: This method is called by the DatabaseAccessor to add this statement to the list of statements being batched.voidParameterizedSQLBatchWritingMechanism. appendCall(AbstractSession session, DatabaseCall dbCall)INTERNAL: This method is called by the DatabaseAccessor to add this statement to the list of statements being batched.AbstractRecordDatabaseAccessor. buildOutputRow(CallableStatement statement, DatabaseCall call, AbstractSession session)Build a row from the output parameters of a sp call.protected Vector<AbstractRecord>DatabaseAccessor. buildThreadCursoredResult(DatabaseCall dbCall, ResultSet resultSet, Statement statement, ResultSetMetaData metaData, AbstractSession session)This allows for the rows to be fetched concurrently to the objects being built.protected voidBatchWritingMechanism. cacheQueryTimeout(AbstractSession session, DatabaseCall dbCall)INTERNAL: This function caches the largest query timeout encountered within all the calls in this batch, or uses the parent timeout if one of the calls references the parent.booleanDatabasePlatform. canBatchWriteWithOptimisticLocking(DatabaseCall call)INTERNAL: Supports Batch Writing with Optimistic Locking.voidDatabaseAccessor. closeStatement(Statement statement, AbstractSession session, DatabaseCall call)INTERNAL: Closes a PreparedStatement (which is supposed to close it's current resultSet).booleanDatabaseAccessor. execute(DatabaseCall call, Statement statement, AbstractSession session)Execute the statement.ObjectDatabaseAccessor. executeDirectNoSelect(Statement statement, DatabaseCall call, AbstractSession session)Execute the statement.protected intDatabaseAccessor. executeJDK12BatchStatement(Statement statement, DatabaseCall dbCall, AbstractSession session, boolean isStatementPrepared)Execute the batched statement through the JDBC2 API.protected ObjectDatabaseAccessor. executeNoSelect(DatabaseCall call, Statement statement, AbstractSession session)Execute the statement.ResultSetDatabaseAccessor. executeSelect(DatabaseCall call, Statement statement, AbstractSession session)Execute the statement.ObjectDatabasePlatform. executeStoredProcedure(DatabaseCall dbCall, PreparedStatement statement, DatabaseAccessor accessor, AbstractSession session)because each platform has different requirements for accessing stored procedures and the way that we can combine resultsets and output params, the stored procedure call is being executed on the platform.StatementDatabaseAccessor. prepareStatement(DatabaseCall call, AbstractSession session)Prepare the SQL statement for the call.StatementDatabaseAccessor. prepareStatement(DatabaseCall call, AbstractSession session, boolean unwrapConnection)Prepare the SQL statement for the call.voidDatabasePlatform. printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement)INTERNAL: Print the SQL representation of the statement on a stream, storing the fields in the DatabaseCall.intDatabasePlatform. printValuelist(int[] theObjects, DatabaseCall call, Writer writer)Print the int array on the writer.intDatabasePlatform. printValuelist(Collection<?> theObjects, DatabaseCall call, Writer writer)ObjectDatabaseAccessor. processResultSet(ResultSet resultSet, DatabaseCall call, Statement statement, AbstractSession session)Fetch all the rows from the result set.voidDatabaseAccessor. releaseStatement(Statement statement, String sqlString, DatabaseCall call, AbstractSession session)Release the statement through closing it or putting it back in the statement cache.protected voidDatabaseAccessor. resetStatementFromCall(Statement statement, DatabaseCall call)Reset the Query Timeout, Max Rows, Resultset fetch size on the Statement if the DatabaseCall has values which differ from the default settings.voidParameterizedSQLBatchWritingMechanism. setLastCallAppended(DatabaseCall lastCallAppended)voidParameterizedSQLBatchWritingMechanism. setPreviousCall(DatabaseCall previousCall)protected voidDynamicSQLBatchWritingMechanism. switchMechanisms(AbstractSession session, DatabaseCall dbCall)INTERNAL: This method is used to switch from this mechanism to the alternate automaticallyprotected voidParameterizedSQLBatchWritingMechanism. switchMechanisms(AbstractSession session, DatabaseCall dbCall)INTERNAL: Swaps out the Mechanism for the other MechanismvoidDatabasePlatform. writeParameterMarker(Writer writer, ParameterExpression expression, AbstractRecord record, DatabaseCall call) -
Uses of DatabaseCall in org.eclipse.persistence.internal.expressions
Methods in org.eclipse.persistence.internal.expressions that return DatabaseCall Modifier and Type Method Description DatabaseCallSQLDeleteAllStatement. buildCall(AbstractSession session)Return SQL call for the statement, through generating the SQL string.DatabaseCallSQLDeleteStatement. buildCall(AbstractSession session)Append the string containing the SQL insert string for the given table.DatabaseCallSQLModifyAllStatementForTempTable. buildCall(AbstractSession session)Append the string containing the SQL insert string for the given table.DatabaseCallSQLModifyStatement. buildCall(AbstractSession session)DatabaseCallSQLSelectStatement. buildCall(AbstractSession session)Print the SQL representation of the statement on a stream.DatabaseCallSQLSelectStatement. buildCall(AbstractSession session, DatabaseQuery query)Build the call, setting the query first, this is required in some cases when the query info is required to print the SQL.abstract DatabaseCallSQLStatement. buildCall(AbstractSession session)Return SQL call for the statement, through generating the SQL string.DatabaseCallSQLUpdateAllStatement. buildCall(AbstractSession session)Append the string containing the SQL insert string for the given table.DatabaseCallSQLUpdateAllStatementForOracleAnonymousBlock. buildCall(AbstractSession session)Append the string containing the SQL insert string for the given table. -
Uses of DatabaseCall in org.eclipse.persistence.internal.helper
Methods in org.eclipse.persistence.internal.helper with parameters of type DatabaseCall Modifier and Type Method Description protected voidLOBValueWriter. buildAndExecuteCall(DatabaseCall dbCall, AbstractSession session)voidLOBValueWriter. fetchLocatorAndWriteValue(DatabaseCall dbCall, Object resultSet)Fetch the locator(s) from the result set and write LOB value to the table -
Uses of DatabaseCall in org.eclipse.persistence.internal.queries
Methods in org.eclipse.persistence.internal.queries that return DatabaseCall Modifier and Type Method Description abstract DatabaseCallDatabaseQueryMechanism. cursorSelectAllRows()Read all rows from the database using a cursored stream.DatabaseCallDatasourceCallQueryMechanism. cursorSelectAllRows()Read all rows from the database using a cursored stream.abstract DatabaseCallDatabaseQueryMechanism. generateKeysExecuteNoSelect()Execute a non selecting SQL call, that returns the generated keys This should be overridden by subclasses.DatabaseCallDatasourceCallQueryMechanism. generateKeysExecuteNoSelect()Execute a non selecting call.DatabaseCallCallQueryMechanism. getDatabaseCall()Return the call.DatabaseCallDatasourceCallQueryMechanism. selectResultSet()Read all rows from the database, return ResultSetMethods in org.eclipse.persistence.internal.queries with parameters of type DatabaseCall Modifier and Type Method Description protected voidCallQueryMechanism. configureDatabaseCall(DatabaseCall call)Set the call level query options into the call.protected voidStatementQueryMechanism. configureDatabaseCall(DatabaseCall call)protected voidDatabaseQueryMechanism. updateObjectAndRowWithSequenceNumber(DatabaseCall call)Update the object's primary key by getting the generated keys from the call If there are no generated keys or the value is NULL, then default back to theDatabaseQueryMechanism.updateObjectAndRowWithSequenceNumber()Constructors in org.eclipse.persistence.internal.queries with parameters of type DatabaseCall Constructor Description CallQueryMechanism(DatabaseQuery query, DatabaseCall call)Initialize the state of the query -
Uses of DatabaseCall in org.eclipse.persistence.platform.database
Methods in org.eclipse.persistence.platform.database that return DatabaseCall Modifier and Type Method Description DatabaseCallOraclePlatform. buildCallWithReturning(SQLCall sqlCall, Vector<DatabaseField> returnFields)INTERNAL: Returns null unless the platform supports call with returningDatabaseCallPostgreSQLPlatform. buildCallWithReturning(SQLCall sqlCall, Vector<DatabaseField> returnFields)INTERNAL: Uses the returning clause on Postgres.Methods in org.eclipse.persistence.platform.database with parameters of type DatabaseCall Modifier and Type Method Description booleanHANAPlatform. canBatchWriteWithOptimisticLocking(DatabaseCall call)booleanMaxDBPlatform. canBatchWriteWithOptimisticLocking(DatabaseCall call)booleanMySQLPlatform. canBatchWriteWithOptimisticLocking(DatabaseCall call)INTERNAL: Supports Batch Writing with Optimistic Locking.voidDB2Platform. printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement)INTERNAL: Print the SQL representation of the statement on a stream, storing the fields in the DatabaseCall.voidDerbyPlatform. printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement)INTERNAL: Print the SQL representation of the statement on a stream, storing the fields in the DatabaseCall.voidFirebirdPlatform. printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement)Print the pagination SQL using FB syntax " ROWS <max> TO <first>".voidH2Platform. printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement)Print the pagination SQL using H2 syntax " LIMIT <max> OFFSET <first>".voidHANAPlatform. printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement)voidHSQLPlatform. printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement)Print the pagination SQL using HSQL syntax "SELECT LIMIT <first> <max>".voidMySQLPlatform. printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement)voidOraclePlatform. printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement)INTERNAL: Print the SQL representation of the statement on a stream, storing the fields in the DatabaseCall.voidPostgreSQLPlatform. printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement)Print the pagination SQL using Postgres syntax " LIMIT <max> OFFSET <first>".voidSQLServerPlatform. printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement)voidSymfowarePlatform. printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement)Print the pagination SQL using Symfoware syntax " WITH OPTION LIMIT ( <max>)".voidDB2Platform. writeParameterMarker(Writer writer, ParameterExpression parameter, AbstractRecord record, DatabaseCall call)INTERNAL: DB2 requires casting on certain operations, such as the CONCAT function, and parameterized queries of the form, ":param = :param".voidMySQLPlatform. writeParameterMarker(Writer writer, ParameterExpression expression, AbstractRecord record, DatabaseCall call)voidTimesTenPlatform. writeParameterMarker(Writer writer, ParameterExpression parameter, AbstractRecord record, DatabaseCall call)INTERNAL: TimesTen and requires cast around parameter markers if both operands of certain operators are parameter markers This method generates CAST for parameter markers whose type is correctly identified by the query compiler. -
Uses of DatabaseCall in org.eclipse.persistence.platform.database.oracle.plsql
Subclasses of DatabaseCall in org.eclipse.persistence.platform.database.oracle.plsql Modifier and Type Class Description classPLSQLStoredFunctionCallPurpose: Used to define a platform independent function call.classPLSQLStoredProcedureCallPurpose: Generates an Anonymous PL/SQL block to invoke the specified Stored Procedure with arguments that may or may not have JDBC equivalents. -
Uses of DatabaseCall in org.eclipse.persistence.queries
Subclasses of DatabaseCall in org.eclipse.persistence.queries Modifier and Type Class Description classSQLCallPurpose: Used as an abstraction of an SQL call.classStoredFunctionCallPurpose: Used to define a platform independent function call.classStoredProcedureCallPurpose: Used to define a platform independent procedure call.Fields in org.eclipse.persistence.queries with type parameters of type DatabaseCall Modifier and Type Field Description protected Map<Class<?>,DatabaseCall>ObjectLevelReadQuery. concreteSubclassCallsAllow concrete subclasses calls to be prepared and cached for inheritance queries.Methods in org.eclipse.persistence.queries that return DatabaseCall Modifier and Type Method Description DatabaseCallDatabaseQuery. getCall()OBSOLETE: Return the call for this query.Methods in org.eclipse.persistence.queries that return types with arguments of type DatabaseCall Modifier and Type Method Description Map<Class<?>,DatabaseCall>ObjectLevelReadQuery. getConcreteSubclassCalls()INTERNAL: Return the cache of concrete subclass calls.Constructors in org.eclipse.persistence.queries with parameters of type DatabaseCall Constructor Description Cursor(DatabaseCall call, CursorPolicy policy)INTERNAL:CursoredStream(DatabaseCall call, CursoredStreamPolicy policy)INTERNAL: Initialize the state of the streamScrollableCursor(DatabaseCall call, ScrollableCursorPolicy policy)INTERNAL: constructor. -
Uses of DatabaseCall in org.eclipse.persistence.sessions
Methods in org.eclipse.persistence.sessions with parameters of type DatabaseCall Modifier and Type Method Description booleanDatabaseLogin. isConnectionHealthValidatedOnError(DatabaseCall call, DatabaseAccessor accessor)INTERNAL: Validate if set, or no timeout.voidSessionEventManager. moreRowsDetected(DatabaseCall call)INTERNAL: Raised for stored proc output parameters.
-