Uses of Class
org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor
-
-
Uses of DatabaseAccessor in org.eclipse.persistence.exceptions
Methods in org.eclipse.persistence.exceptions with parameters of type DatabaseAccessor Modifier and Type Method Description static DatabaseExceptionDatabaseException. databaseAccessorConnectionIsNull(DatabaseAccessor databaseAccessor, AbstractSession session)static DatabaseExceptionDatabaseException. databaseAccessorNotConnected(DatabaseAccessor databaseAccessor) -
Uses of DatabaseAccessor in org.eclipse.persistence.internal.databaseaccess
Fields in org.eclipse.persistence.internal.databaseaccess declared as DatabaseAccessor Modifier and Type Field Description protected DatabaseAccessorBatchWritingMechanism. databaseAccessorThis member variable stores the reference to the DatabaseAccessor that is using this Mechanism to handle the batch writingMethods in org.eclipse.persistence.internal.databaseaccess with parameters of type DatabaseAccessor Modifier and Type Method Description voidDatabasePlatform. autoCommit(DatabaseAccessor accessor)Used by JDBC drivers that do not support autocommit so simulate an autocommit.voidDatabasePlatform. beginTransaction(DatabaseAccessor accessor)Used for jdbc drivers which do not support autocommit to explicitly begin a transaction This method is a no-op for databases which implement autocommit as expected.AbstractRecordDatabaseCall. buildOutputRow(CallableStatement statement, DatabaseAccessor accessor, AbstractSession session)INTERNAL: Return Record containing output fields and values.voidDatabasePlatform. commitTransaction(DatabaseAccessor accessor)Used for jdbc drivers which do not support autocommit to explicitly commit a transaction This method is a no-op for databases which implement autocommit as expected.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.voidDatabaseCall. matchFieldOrder(ResultSet resultSet, DatabaseAccessor accessor, AbstractSession session)Allow for the field order to be matched if required.StatementDatabaseCall. prepareStatement(DatabaseAccessor accessor, AbstractRecord translationRow, AbstractSession session)INTERNAL: Prepare the JDBC statement, this may be parameterize or a call statement.voidDatabasePlatform. rollbackTransaction(DatabaseAccessor accessor)Used for jdbc drivers which do not support autocommit to explicitly rollback a transaction This method is a no-op for databases which implement autocommit as expected.voidBatchWritingMechanism. setAccessor(DatabaseAccessor accessor, AbstractSession session)INTERNAL: Sets the accessor that this mechanism will useConstructors in org.eclipse.persistence.internal.databaseaccess with parameters of type DatabaseAccessor Constructor Description DynamicSQLBatchWritingMechanism(DatabaseAccessor databaseAccessor)ParameterizedSQLBatchWritingMechanism(DatabaseAccessor databaseAccessor) -
Uses of DatabaseAccessor in org.eclipse.persistence.internal.descriptors
Methods in org.eclipse.persistence.internal.descriptors with parameters of type DatabaseAccessor Modifier and Type Method Description ObjectObjectBuilder. buildObjectFromResultSet(ObjectBuildingQuery query, JoinedAttributeManager joinManager, ResultSet resultSet, AbstractSession executionSession, DatabaseAccessor accessor, ResultSetMetaData metaData, DatabasePlatform platform, Vector fieldsList, DatabaseField[] fieldsArray)INTERNAL: Builds a working copy clone directly from a result set. -
Uses of DatabaseAccessor in org.eclipse.persistence.internal.sessions
Fields in org.eclipse.persistence.internal.sessions declared as DatabaseAccessor Modifier and Type Field Description protected DatabaseAccessorResultSetRecord. accessorConstructors in org.eclipse.persistence.internal.sessions with parameters of type DatabaseAccessor Constructor Description ResultSetRecord(Vector fields, DatabaseField[] fieldsArray, ResultSet resultSet, ResultSetMetaData metaData, DatabaseAccessor accessor, AbstractSession session, DatabasePlatform platform, boolean optimizeData)SimpleResultSetRecord(Vector fields, DatabaseField[] fieldsArray, ResultSet resultSet, ResultSetMetaData metaData, DatabaseAccessor accessor, AbstractSession session, DatabasePlatform platform, boolean optimizeData) -
Uses of DatabaseAccessor in org.eclipse.persistence.mappings
Methods in org.eclipse.persistence.mappings with parameters of type DatabaseAccessor Modifier and Type Method Description ObjectDatabaseMapping. readFromResultSetIntoObject(ResultSet resultSet, Object targetObject, ObjectBuildingQuery query, AbstractSession session, DatabaseAccessor accessor, ResultSetMetaData metaData, int columnNumber, DatabasePlatform platform)INTERNAL: Extract values directly from the result-set.ObjectDatabaseMapping. valueFromResultSet(ResultSet resultSet, ObjectBuildingQuery query, AbstractSession session, DatabaseAccessor accessor, ResultSetMetaData metaData, int columnNumber, DatabasePlatform platform)INTERNAL: Returns the value for the mapping directly from the result-set. -
Uses of DatabaseAccessor in org.eclipse.persistence.mappings.foundation
Methods in org.eclipse.persistence.mappings.foundation with parameters of type DatabaseAccessor Modifier and Type Method Description ObjectAbstractDirectMapping. valueFromResultSet(ResultSet resultSet, ObjectBuildingQuery query, AbstractSession session, DatabaseAccessor accessor, ResultSetMetaData metaData, int columnNumber, DatabasePlatform platform)INTERNAL: Returns the value for the mapping directly from the result-set. -
Uses of DatabaseAccessor in org.eclipse.persistence.platform.database.oracle.plsql
Methods in org.eclipse.persistence.platform.database.oracle.plsql with parameters of type DatabaseAccessor Modifier and Type Method Description AbstractRecordPLSQLStoredProcedureCall. buildOutputRow(CallableStatement statement, DatabaseAccessor accessor, AbstractSession session)Translate the SQL procedure output row, into the row expected by the PLSQL procedure.StatementPLSQLStoredProcedureCall. prepareStatement(DatabaseAccessor accessor, AbstractRecord translationRow, AbstractSession session)INTERNAL: Prepare the JDBC statement, this may be parameterize or a call statement. -
Uses of DatabaseAccessor in org.eclipse.persistence.queries
Methods in org.eclipse.persistence.queries that return DatabaseAccessor Modifier and Type Method Description DatabaseAccessorCursor. getAccessor()INTERNAL: Return the accessor associated with the cursor.Methods in org.eclipse.persistence.queries with parameters of type DatabaseAccessor Modifier and Type Method Description PreparedStatementJPQLCall. prepareStatement(DatabaseAccessor accessor, AbstractRecord translationRow, AbstractSession session)INTERNAL: Prepare the JDBC statement, this may be parameterize or a call statement.StatementStoredProcedureCall. prepareStatement(DatabaseAccessor accessor, AbstractRecord translationRow, AbstractSession session)INTERNAL: Prepare the JDBC statement, this may be parameterize or a call statement. -
Uses of DatabaseAccessor in org.eclipse.persistence.sessions
Methods in org.eclipse.persistence.sessions with parameters of type DatabaseAccessor Modifier and Type Method Description booleanDatabaseLogin. isConnectionHealthValidatedOnError(DatabaseCall call, DatabaseAccessor accessor)INTERNAL: Validate if set, or no timeout. -
Uses of DatabaseAccessor in org.eclipse.persistence.tools.schemaframework
Methods in org.eclipse.persistence.tools.schemaframework that return DatabaseAccessor Modifier and Type Method Description protected DatabaseAccessorSchemaManager. getAccessor()Return the appropriate accessor.Methods in org.eclipse.persistence.tools.schemaframework with parameters of type DatabaseAccessor Modifier and Type Method Description StringTableDefinition. deletionStringFor(DatabaseAccessor accessor)INTERNAL: Return the delete SQL string.
-