Modifier and Type | Method and Description |
---|---|
static DatabaseException |
DatabaseException.databaseAccessorNotConnected(DatabaseAccessor databaseAccessor) |
Modifier and Type | Method and Description |
---|---|
void |
DatabasePlatform.autoCommit(DatabaseAccessor accessor)
Used by JDBC drivers that do not support autocommit so simulate an autocommit.
|
void |
DatabasePlatform.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.
|
void |
DatabasePlatform.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.
|
Object |
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
|
void |
DatabaseCall.matchFieldOrder(ResultSet resultSet,
DatabaseAccessor accessor,
AbstractSession session)
Allow for the field order to be matched if required.
|
Statement |
DatabaseCall.prepareStatement(DatabaseAccessor accessor,
AbstractRecord translationRow,
AbstractSession session)
INTERNAL:
Prepare the JDBC statement, this may be parameterize or a call statement.
|
protected Object |
DatabasePlatform.processResultSet(ResultSet resultSet,
DatabaseCall dbCall,
PreparedStatement statement,
DatabaseAccessor accessor,
AbstractSession session) |
void |
DatabasePlatform.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.
|
Modifier and Type | Method and Description |
---|---|
Object |
SybasePlatform.executeStoredProcedure(DatabaseCall dbCall,
PreparedStatement statement,
DatabaseAccessor accessor,
AbstractSession session)
INTERNAL:
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.
|
Modifier and Type | Method and Description |
---|---|
PreparedStatement |
EJBQLCall.prepareStatement(DatabaseAccessor accessor,
AbstractRecord translationRow,
AbstractSession session)
INTERNAL:
Prepare the JDBC statement, this may be parameterize or a call statement.
|
Modifier and Type | Method and Description |
---|---|
protected DatabaseAccessor |
SchemaManager.getAccessor()
Return the appropriate accessor.
|
Modifier and Type | Method and Description |
---|---|
String |
TableDefinition.deletionStringFor(DatabaseAccessor accessor)
INTERNAL:
Return the delete SQL string.
|
Copyright © 2022. All rights reserved.