| 
 | Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.jbo.common.CommonCriteriaAdapter
oracle.jbo.server.CriteriaAdapterImpl
oracle.jbo.server.BaseSQLBuilderImpl
oracle.jbo.server.SQL92SQLBuilderImpl
public class SQL92SQLBuilderImpl
SQL92 specific implementation of the SQLBuilder interface.
| Field Summary | |
|---|---|
| static int | ERROR_OLITE_RESOURCE_BUSY_AND_NOWAIT_SPECIFIEDOLite specific error code for resource busy exception. | 
| protected static SQLBuilder | mSQLBuilderInterfaceMember to hold the singleton instance. | 
| protected static java.lang.String | ORACLE_ROWID_COLUMNOracle specific column name for ROWID. | 
| Fields inherited from interface oracle.jbo.server.SQLBuilder | 
|---|
| BINDING_STYLE_JDBC, BINDING_STYLE_ORACLE, BINDING_STYLE_ORACLE_NAME, BINDING_STYLE_UNKNOWN, DML_DELETE, DML_INSERT, DML_UPDATE, MAX_COLUMN_IDENTIFIER_LEN, RANGE_PAGE_BIND_HIGH_ROWNUM, RANGE_PAGE_BIND_LOW_ROWNUM | 
| Constructor Summary | |
|---|---|
| protected  | SQL92SQLBuilderImpl()This is a singleton class. | 
| Method Summary | |
|---|---|
|  java.lang.String | buildEffDtDateDayAddStatement()Returns a statement that returns a date that is 'x' number of days apart from the specified date. | 
|  java.lang.String | getClauseForDateLiteral(java.util.Date date)Creates a database platform specific clause for converting a date string literal to date datatype. | 
|  java.lang.String | getCreateSequenceInsertTriggerSQL(java.lang.String triggerName,
                                  java.lang.String tableName,
                                  java.util.ArrayList sequenceNames,
                                  java.util.ArrayList colNames)Not implemented. | 
|  java.lang.String | getCreateSequenceSQL(java.lang.String sequenceName,
                     int startVal)Not implemented. | 
|  java.lang.String | getDbTimeQuery()Returns a SQL statement to obtain the current time from the database. | 
|  java.lang.String | getDbType()Returns a string uniquely identifying this type of SQLBuilder. | 
|  java.lang.String | getDropSequenceSQL(java.lang.String sequenceName)Not implemented. | 
|  java.lang.String | getDropTableSQL(java.lang.String dbObjectName)Returns a SQL statement that drops a specified table. | 
| static SQLBuilder | getInterface()Gets the singleton instance of this class. | 
| protected  java.lang.String | getJDBCDriverClassName(java.lang.String url)Concrete implementations of SQLBuilder must elect a default driver name. | 
|  java.lang.String | getPersistManagerClassName()Returns the name of default PersistManager class name. | 
|  java.lang.String | getQueryHitCountSQL(RowSet rs)Returns a SQL statement to estimate the number of rows effected by the query using the rowset values. | 
| protected  java.lang.String | getSqlVariantLockTrailer()Returns the lock trailer from the System properties. | 
|  java.lang.String | getTypeMapName()The default type map for a SQL92 database is Oracle. | 
|  java.lang.String | getVersion()Gets a string describing the version of this implentation of this interface. | 
|  boolean | isDisplayBindValueUI()For Oracle database the test SQL wizards provide additional functionality to bind the parameters with test values. | 
| Methods inherited from class oracle.jbo.server.CriteriaAdapterImpl | 
|---|
| formatAttributeValue, getBindValsForSqlGen, getFormattedLHSCompareFragment, getFormattedRHSCompareFragment, getRowSetForSqlGen, getViewCriteriaClause, getWhereFragmentFromVO, isCriteriaItemOuterJoined, isLHSFragmentOptional, setupBindVarExtendedData | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface oracle.jbo.server.SQLBuilder | 
|---|
| isCharType, isNumericType | 
| Field Detail | 
|---|
public static final int ERROR_OLITE_RESOURCE_BUSY_AND_NOWAIT_SPECIFIED
protected static final java.lang.String ORACLE_ROWID_COLUMN
protected static SQLBuilder mSQLBuilderInterface
| Constructor Detail | 
|---|
protected SQL92SQLBuilderImpl()
| Method Detail | 
|---|
public static SQLBuilder getInterface()
SQLBuilder object.public java.lang.String getVersion()
SQLBuilder
getVersion in interface SQLBuildergetVersion in class BaseSQLBuilderImplpublic java.lang.String getDbType()
SQLBuilder
getDbType in interface SQLBuildergetDbType in class BaseSQLBuilderImplpublic java.lang.String getTypeMapName()
getTypeMapName in interface SQLBuildergetTypeMapName in class BaseSQLBuilderImplpublic java.lang.String getPersistManagerClassName()
SQLBuilder
getPersistManagerClassName in interface SQLBuildergetPersistManagerClassName in class BaseSQLBuilderImplprotected java.lang.String getJDBCDriverClassName(java.lang.String url)
BaseSQLBuilderImpl
getJDBCDriverClassName in class BaseSQLBuilderImplurl - JDBC Connection url.
protected java.lang.String getSqlVariantLockTrailer()
getSqlVariantLockTrailer in class BaseSQLBuilderImplpublic java.lang.String getDbTimeQuery()
BaseSQLBuilderImpl
getDbTimeQuery in class BaseSQLBuilderImplpublic java.lang.String getDropTableSQL(java.lang.String dbObjectName)
SQLBuilderNote: this method is subject to change.
getDropTableSQL in interface SQLBuildergetDropTableSQL in class BaseSQLBuilderImpldbObjectName - name of the Table.
public boolean isDisplayBindValueUI()
SQLBuilder
isDisplayBindValueUI in interface SQLBuilderisDisplayBindValueUI in class BaseSQLBuilderImpl
public java.lang.String getCreateSequenceInsertTriggerSQL(java.lang.String triggerName,
                                                          java.lang.String tableName,
                                                          java.util.ArrayList sequenceNames,
                                                          java.util.ArrayList colNames)
getCreateSequenceInsertTriggerSQL in interface SQLBuildergetCreateSequenceInsertTriggerSQL in class BaseSQLBuilderImpltriggerName - the name of the trigger.tableName - the name of the table for which the trigger is created.sequenceNames - the array of names of the sequence.colNames - the arrya of names of the column to which the value of the sequence
        is copied to.
public java.lang.String getCreateSequenceSQL(java.lang.String sequenceName,
                                             int startVal)
getCreateSequenceSQL in interface SQLBuildergetCreateSequenceSQL in class BaseSQLBuilderImplsequenceName - name of the Sequence.startVal - the initial value of the Sequence.
public java.lang.String getDropSequenceSQL(java.lang.String sequenceName)
getDropSequenceSQL in interface SQLBuildergetDropSequenceSQL in class BaseSQLBuilderImplsequenceName - name of the Sequence.
public java.lang.String getQueryHitCountSQL(RowSet rs)
SQLBuilderNote: this method is subject to change.
getQueryHitCountSQL in interface SQLBuildergetQueryHitCountSQL in class BaseSQLBuilderImplrs - the RowSet object.
public java.lang.String buildEffDtDateDayAddStatement()
SQLBuilder
buildEffDtDateDayAddStatement in interface SQLBuilderbuildEffDtDateDayAddStatement in class BaseSQLBuilderImplString that contains the necessary SQL.public java.lang.String getClauseForDateLiteral(java.util.Date date)
SQLBuilder
date - The date object that will be formatted and passed as a String
| 
 | Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||