Business Components

oracle.jbo.server
Class SQL92SQLBuilderImpl

java.lang.Object
  |
  +--oracle.jbo.server.BaseSQLBuilderImpl
        |
        +--oracle.jbo.server.SQL92SQLBuilderImpl
All Implemented Interfaces:
SQLBuilder, ViewCriteriaAdapter
Direct Known Subclasses:
DB2SQLBuilderImpl

public class SQL92SQLBuilderImpl
extends BaseSQLBuilderImpl

SQL92-specific implementation of the SQLBuilder interface. 26Sep01 - KM - added method for registerDefaultDriver which indirects through the jbo.sql92.jdbcdriver property

Since:
JDeveloper 3.2

Field Summary
TypeField
static int ERROR_OLITE_RESOURCE_BUSY_AND_NOWAIT_SPECIFIED
           
protected static SQLBuilder mSQLBuilderInterface
           
protected static java.lang.String ORACLE_ROWID_COLUMN
           
 
Fields inherited from interface oracle.jbo.server.SQLBuilder
BINDING_STYLE_JDBC, BINDING_STYLE_ORACLE, BINDING_STYLE_UNKNOWN, DML_DELETE, DML_INSERT, DML_UPDATE
 
Constructor Summary
TypeConstructor
protected SQL92SQLBuilderImpl()
          This is a singleton class
 
Method Summary
TypeMethod
 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 getTypeMapName()
          Returns a String identifying the preferred type map to use.
 java.lang.String getVersion()
          Gets a string describing the version of this implentation of this interface.
 
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, releaseSavepoint, rollbackToSavepoint, setSavepoint, shouldSkipDML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR_OLITE_RESOURCE_BUSY_AND_NOWAIT_SPECIFIED

public static final int ERROR_OLITE_RESOURCE_BUSY_AND_NOWAIT_SPECIFIED

ORACLE_ROWID_COLUMN

protected static final java.lang.String ORACLE_ROWID_COLUMN

mSQLBuilderInterface

protected static SQLBuilder mSQLBuilderInterface
Constructor Detail

SQL92SQLBuilderImpl

protected SQL92SQLBuilderImpl()
This is a singleton class
Method Detail

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 BaseSQLBuilderImpl

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 BaseSQLBuilderImpl

getTypeMapName

public java.lang.String getTypeMapName()
Description copied from interface: SQLBuilder
Returns a String identifying the preferred type map to use.
Overrides:
getTypeMapName in class BaseSQLBuilderImpl

getPersistManagerClassName

public java.lang.String getPersistManagerClassName()
Description copied from interface: SQLBuilder
Returns the name of default PersistManager class name.
Overrides:
getPersistManagerClassName in class BaseSQLBuilderImpl

getJDBCDriverClassName

protected java.lang.String getJDBCDriverClassName()
required override: provide the name of the default jdbc driver class KM: 2001-09-26 - now
Overrides:
getJDBCDriverClassName in class BaseSQLBuilderImpl

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 BaseSQLBuilderImpl

Business Components