Uses of Class
org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor
Packages that use DatabaseAccessor
Package
Description
-
Uses of DatabaseAccessor in org.eclipse.persistence.exceptions
Methods in org.eclipse.persistence.exceptions with parameters of type DatabaseAccessorModifier and TypeMethodDescriptionstatic 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 DatabaseAccessorModifier and TypeFieldDescriptionprotected 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 DatabaseAccessorModifier and TypeMethodDescriptionvoidDatabasePlatform.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.DatabaseCall.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.DatabasePlatform.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.DatabaseCall.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 DatabaseAccessorModifierConstructorDescriptionDynamicSQLBatchWritingMechanism(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 DatabaseAccessorModifier and TypeMethodDescriptionObjectBuilder.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 DatabaseAccessorConstructors in org.eclipse.persistence.internal.sessions with parameters of type DatabaseAccessorModifierConstructorDescriptionResultSetRecord(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 DatabaseAccessorModifier and TypeMethodDescriptionDatabaseMapping.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.DatabaseMapping.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 DatabaseAccessorModifier and TypeMethodDescriptionAbstractDirectMapping.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 DatabaseAccessorModifier and TypeMethodDescriptionPLSQLStoredProcedureCall.buildOutputRow(CallableStatement statement, DatabaseAccessor accessor, AbstractSession session) Translate the SQL procedure output row, into the row expected by the PLSQL procedure.PLSQLStoredProcedureCall.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 DatabaseAccessorModifier and TypeMethodDescriptionCursor.getAccessor()INTERNAL: Return the accessor associated with the cursor.Methods in org.eclipse.persistence.queries with parameters of type DatabaseAccessorModifier and TypeMethodDescriptionJPQLCall.prepareStatement(DatabaseAccessor accessor, AbstractRecord translationRow, AbstractSession session) INTERNAL: Prepare the JDBC statement, this may be parameterize or a call statement.StoredProcedureCall.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 DatabaseAccessorModifier and TypeMethodDescriptionbooleanDatabaseLogin.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 DatabaseAccessorModifier and TypeMethodDescriptionprotected DatabaseAccessorSchemaManager.getAccessor()Return the appropriate accessor.Methods in org.eclipse.persistence.tools.schemaframework with parameters of type DatabaseAccessorModifier and TypeMethodDescriptionTableDefinition.deletionStringFor(DatabaseAccessor accessor) INTERNAL: Return the delete SQL string.