oracle.jbo.server
Class DB2SQLBuilderImpl
java.lang.Object
|
+--oracle.jbo.server.BaseSQLBuilderImpl
|
+--oracle.jbo.server.SQL92SQLBuilderImpl
|
+--oracle.jbo.server.DB2SQLBuilderImpl
- All Implemented Interfaces:
- SQLBuilder, ViewCriteriaAdapter
- public class DB2SQLBuilderImpl
- extends SQL92SQLBuilderImpl
Type | Method |
java.lang.String |
getDbType()
returns a string uniquely identifying this type of
SQLBuilder. |
static SQLBuilder |
getInterface()
Gets the singleton instance of this class. |
protected java.lang.String |
getJDBCDriverClassName()
required override: provide the name of the default jdbc driver class
KM: 2001-09-26 - now |
java.lang.String |
getPersistManagerClassName()
Returns the name of default PersistManager class name. |
protected java.lang.String |
getSqlVariantLockTrailer()
This defines the string that will be post-fixed to SQL ststements
to have the rows locked - if the DB is incapable of this
then is should return null. |
java.lang.String |
getVersion()
Gets a string describing the version of this implentation
of this interface. |
void |
releaseSavepoint(java.sql.Connection conn,
java.lang.String id)
release SAVEPOINT - if possible
|
void |
rollbackToSavepoint(java.sql.Connection conn,
java.lang.String id)
rollback to SAVEPOINT - if possible
|
void |
setSavepoint(java.sql.Connection conn,
java.lang.String id)
issue a SAVEPOINT - if possible
|
Methods inherited from class oracle.jbo.server.BaseSQLBuilderImpl |
bindInsertStatement, bindUpdateStatement, bindWhereClause, buildDeleteStatement, buildInsertStatement, buildSelectString, buildUpdateStatement, buildWhereClause, capabilityCanReuseLockStatements,
convertFlags, convertValueToWhereFragment,
doEntityDML, doEntitySelect, doLoadBulkFromResultSet, doLoadFromResultSet, doLoadFromStatement, doPreparedStatementDefineColumnType, doPreparedStatementDefines, doRegisterDefaultDriver,
doStatementSetBindingStyle, doStatementSetBindingStyleDefault,
doStatementSetRowPrefetch, dumpConstraint,
executeBatch, generatePKBasedRef, generateRefAndOID, generateRowID, getBaseTable, getColumnNameWithFormatForQuery, getConstraints, getConstraintsList, getDefaultBindingStyle,
getROWID, getSchemaList, getSchemas,
getTableList, getTables, getViewCriteriaAdapter, getViewCriteriaClause,
getWarningText, isCharType, isDataSourceJTABased,
isNumericType, isStreamType, lookupDataSource, populateJboTypeMapEntries, shouldSkipDML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DB2SQLBuilderImpl
public DB2SQLBuilderImpl()
getInterface
public static SQLBuilder getInterface()
- Gets the singleton instance of this class.
getVersion
public java.lang.String getVersion()
- Description copied from interface:
SQLBuilder
- Gets a string describing the version of this implentation
of this interface.
- Overrides:
getVersion
in class SQL92SQLBuilderImpl
getDbType
public java.lang.String getDbType()
- Description copied from interface:
SQLBuilder
- returns a string uniquely identifying this type of
SQLBuilder. Examples are: "Oracle", "OLite", "SQL92"
- Overrides:
getDbType
in class SQL92SQLBuilderImpl
getPersistManagerClassName
public java.lang.String getPersistManagerClassName()
- Description copied from interface:
SQLBuilder
- Returns the name of default PersistManager class name.
- Overrides:
getPersistManagerClassName
in class SQL92SQLBuilderImpl
getJDBCDriverClassName
protected java.lang.String getJDBCDriverClassName()
- Description copied from class:
SQL92SQLBuilderImpl
- required override: provide the name of the default jdbc driver class
KM: 2001-09-26 - now
- Overrides:
getJDBCDriverClassName
in class SQL92SQLBuilderImpl
setSavepoint
public void setSavepoint(java.sql.Connection conn,
java.lang.String id)
throws java.sql.SQLException
- Description copied from interface:
SQLBuilder
- issue a SAVEPOINT - if possible
- Overrides:
setSavepoint
in class BaseSQLBuilderImpl
- Following copied from interface:
oracle.jbo.server.SQLBuilder
- Parameters:
id
- = the id for a savepoint
rollbackToSavepoint
public void rollbackToSavepoint(java.sql.Connection conn,
java.lang.String id)
throws java.sql.SQLException
- Description copied from interface:
SQLBuilder
- rollback to SAVEPOINT - if possible
- Overrides:
rollbackToSavepoint
in class BaseSQLBuilderImpl
- Following copied from interface:
oracle.jbo.server.SQLBuilder
- Parameters:
id
- = the id for a savepoint
releaseSavepoint
public void releaseSavepoint(java.sql.Connection conn,
java.lang.String id)
throws java.sql.SQLException
- Description copied from interface:
SQLBuilder
- release SAVEPOINT - if possible
- Overrides:
releaseSavepoint
in class BaseSQLBuilderImpl
- Following copied from interface:
oracle.jbo.server.SQLBuilder
- Parameters:
id
- = the id for a savepoint
getSqlVariantLockTrailer
protected java.lang.String getSqlVariantLockTrailer()
- Description copied from class:
BaseSQLBuilderImpl
- This defines the string that will be post-fixed to SQL ststements
to have the rows locked - if the DB is incapable of this
then is should return null.
Examples are: SQL Server - "WITH (HOLDLOCK)"
Oracle - "FOR UPDATE NOWAIT"
- Overrides:
getSqlVariantLockTrailer
in class SQL92SQLBuilderImpl