|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.server.BaseSQLBuilderImpl oracle.jbo.server.OLiteSQLBuilderImpl
OracleLite-specific implementation of the SQLBuilder interface.
Field Summary | |
static int |
ERROR_OLITE_RESOURCE_BUSY_AND_NOWAIT_SPECIFIED
|
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 | |
protected |
OLiteSQLBuilderImpl()
This is a singleton class |
Method Summary | |
protected static java.lang.String |
addSqlTypeText(java.lang.String sqlText,
java.lang.String inputType)
helper for getTableList |
protected boolean |
capabilityCanReuseLockStatements()
|
java.lang.String |
getBaseTable(java.sql.Connection conn,
java.lang.String schema,
java.lang.String name)
unroll any synonyms that may be present, and get the real objectname |
java.lang.String |
getCreateSequenceInsertTriggerSQL(java.lang.String triggerName,
java.lang.String tableName,
java.lang.String sequenceName,
java.lang.String colName)
|
java.lang.String |
getCreateSequenceSQL(java.lang.String sequenceName,
int startVal)
|
java.lang.String |
getDbTimeQuery()
|
java.lang.String |
getDbType()
returns a string uniquely identifying this type of SQLBuilder. |
int |
getDefaultBindingStyle()
unless overridden, the binding style is set to JDBC (Oracle versions change this) |
java.lang.String |
getDropSequenceSQL(java.lang.String sequenceName)
|
java.lang.String |
getDropTableSQL(java.lang.String dbObjectName)
|
static SQLBuilder |
getInterface()
Gets the singleton instance of this class. |
protected java.lang.String |
getJDBCDriverClassName()
Concrete implementations of SQLBuilder must elect a default driver name |
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.util.Vector |
getTableList(java.sql.Connection conn,
java.lang.String defaultUserName,
java.lang.String userName,
boolean bTable,
boolean bAlias,
boolean bView,
boolean bSnap)
return a list of tables visible in this connection |
protected static java.lang.String |
getTableListSqlStatement(java.lang.String _defaultUserName,
java.lang.String userName,
boolean bTable,
boolean bAlias,
boolean bView,
boolean _bSnap,
boolean bCount)
helper for getTableList |
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. |
boolean |
isDisplayBindValueUI()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ERROR_OLITE_RESOURCE_BUSY_AND_NOWAIT_SPECIFIED
protected static final java.lang.String ORACLE_ROWID_COLUMN
Constructor Detail |
protected OLiteSQLBuilderImpl()
Method Detail |
public static SQLBuilder getInterface()
protected java.lang.String getJDBCDriverClassName()
BaseSQLBuilderImpl
getJDBCDriverClassName
in class BaseSQLBuilderImpl
public java.lang.String getVersion()
SQLBuilder
getVersion
in interface SQLBuilder
getVersion
in class BaseSQLBuilderImpl
public java.lang.String getDbType()
SQLBuilder
getDbType
in interface SQLBuilder
getDbType
in class BaseSQLBuilderImpl
public java.lang.String getTypeMapName()
SQLBuilder
getTypeMapName
in interface SQLBuilder
getTypeMapName
in class BaseSQLBuilderImpl
public java.lang.String getPersistManagerClassName()
SQLBuilder
getPersistManagerClassName
in interface SQLBuilder
getPersistManagerClassName
in class BaseSQLBuilderImpl
public int getDefaultBindingStyle()
BaseSQLBuilderImpl
getDefaultBindingStyle
in interface SQLBuilder
getDefaultBindingStyle
in class BaseSQLBuilderImpl
public java.util.Vector getTableList(java.sql.Connection conn, java.lang.String defaultUserName, java.lang.String userName, boolean bTable, boolean bAlias, boolean bView, boolean bSnap) throws java.lang.Exception
SQLBuilder
getTableList
in interface SQLBuilder
getTableList
in class BaseSQLBuilderImpl
java.lang.Exception
protected static java.lang.String getTableListSqlStatement(java.lang.String _defaultUserName, java.lang.String userName, boolean bTable, boolean bAlias, boolean bView, boolean _bSnap, boolean bCount)
protected static java.lang.String addSqlTypeText(java.lang.String sqlText, java.lang.String inputType)
public java.lang.String getBaseTable(java.sql.Connection conn, java.lang.String schema, java.lang.String name) throws java.sql.SQLException
SQLBuilder
getBaseTable
in interface SQLBuilder
getBaseTable
in class BaseSQLBuilderImpl
java.sql.SQLException
protected boolean capabilityCanReuseLockStatements()
capabilityCanReuseLockStatements
in class BaseSQLBuilderImpl
protected java.lang.String getSqlVariantLockTrailer()
BaseSQLBuilderImpl
getSqlVariantLockTrailer
in class BaseSQLBuilderImpl
public java.lang.String getDbTimeQuery()
getDbTimeQuery
in class BaseSQLBuilderImpl
public java.lang.String getDropTableSQL(java.lang.String dbObjectName)
getDropTableSQL
in interface SQLBuilder
getDropTableSQL
in class BaseSQLBuilderImpl
public boolean isDisplayBindValueUI()
isDisplayBindValueUI
in interface SQLBuilder
isDisplayBindValueUI
in class BaseSQLBuilderImpl
public java.lang.String getCreateSequenceInsertTriggerSQL(java.lang.String triggerName, java.lang.String tableName, java.lang.String sequenceName, java.lang.String colName)
getCreateSequenceInsertTriggerSQL
in interface SQLBuilder
getCreateSequenceInsertTriggerSQL
in class BaseSQLBuilderImpl
public java.lang.String getCreateSequenceSQL(java.lang.String sequenceName, int startVal)
getCreateSequenceSQL
in interface SQLBuilder
getCreateSequenceSQL
in class BaseSQLBuilderImpl
public java.lang.String getDropSequenceSQL(java.lang.String sequenceName)
getDropSequenceSQL
in interface SQLBuilder
getDropSequenceSQL
in class BaseSQLBuilderImpl
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.