|
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.OracleSQLBuilderImpl
Oracle-specific implementation of the SQLBuilder interface.
Field Summary | |
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 |
OracleSQLBuilderImpl()
This is a singleton class |
Method Summary | |
protected static java.lang.String |
addSqlTypeText(java.lang.String sqlText,
java.lang.String inputType)
helper for getTableList |
int |
bindInsertStatement(EntityImpl entityContext,
java.sql.PreparedStatement stmt,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
com.sun.java.util.collections.HashMap retrList,
boolean batchMode)
DOCTD: Method declaration |
int |
bindUpdateStatement(EntityImpl entityContext,
java.sql.PreparedStatement stmt,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
com.sun.java.util.collections.HashMap retrList,
boolean batchMode)
DOCTD: Method declaration |
protected int |
bindWhereAttrValue(EntityImpl entityContext,
DBTransactionImpl trans,
java.sql.PreparedStatement stmt,
AttributeDefImpl attrDef,
int bindIndex,
boolean skipNull)
|
java.lang.StringBuffer |
buildDeleteStatement(EntityImpl entityContext)
Construct a SQL INSERT statement |
java.lang.StringBuffer |
buildInsertStatement(EntityImpl entityContext,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
boolean batchMode)
Construct a SQL INSERT statement |
void |
buildOptUpdateWhereClause(EntityImpl entityContext,
java.lang.StringBuffer buffer,
AttributeDefImpl[] cols)
|
protected void |
buildReturningClause(java.lang.StringBuffer sqlBuffer,
DBTransactionImpl trans,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
boolean batchMode,
boolean oracleBinding)
|
void |
buildSelectString(DBTransactionImpl trans,
java.lang.StringBuffer buffer,
java.lang.String sourceName,
java.lang.String sourceAlias,
AttributeDefImpl[] attrs,
boolean withIntoClause,
int bindingStyle)
Construct a SQL SELECT statement for the Entity into the designated Buffer. |
java.lang.StringBuffer |
buildUpdateStatement(EntityImpl entityContext,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
boolean batchMode)
DOCTD: Method declaration TODO: KM _ don't like the fact that this requires an entitydef |
void |
buildWhereClause(EntityImpl entityContext,
java.lang.StringBuffer buffer,
AttributeDefImpl[] keyCols,
java.lang.Object rowid)
Construct a SQL WHERE clause for the Entity into the designated Buffer, based upon the Source Columns. |
boolean |
compareFetchedValue(EntityImpl entity,
AttributeDefImpl ad,
java.lang.Object cacheValue,
java.lang.Object fetchedValue)
Override for Oracle because in OracleDB, in cache we may have "" string that was posted and DB assumes that string as null and returns null on fetch again. |
java.lang.Object |
convertValueToStorageType(java.lang.Object value)
Abstraction to allow domain types to be not converted if they're jdbc known types. |
void |
doEntityDML(EntityImpl entityContext,
int operation,
TransactionEvent e)
This is where an entity DML gets executed. |
void |
doEntitySelect(EntityImpl entityContext,
boolean lock)
Perform the appropriate SQL operations to execute a select operation on an Entity Object. |
java.lang.Object[] |
doLoadBulkFromResultSet(AttributeDefImpl[] attrDefs,
int attrIndex,
java.sql.ResultSet rs,
int index,
DBTransactionImpl trans)
Loads an array of objects from a result set. |
java.lang.Object |
doLoadFromResultSet(java.lang.Object theTypeFactory,
java.lang.Object theElemFactory,
java.lang.Class theJavaType,
byte attrLoad,
java.sql.ResultSet rs,
int index,
DBTransactionImpl trans)
Loads an object from a result set. |
java.lang.Object |
doLoadFromStatement(java.lang.Object theTypeFactory,
java.lang.Object theElemFactory,
java.lang.Class theJavaType,
java.sql.PreparedStatement ps,
int index,
Transaction trans)
Loads an object from a result set. |
void |
doPreparedStatementDefineColumnType(java.sql.PreparedStatement ps,
int colnum,
int sqltype)
Performs the equivalent of defineColumnType() on a prepared statement. |
void |
doPreparedStatementDefines(java.sql.PreparedStatement stmt,
AttributeDefImpl[] columns)
Performs the equivalent of clearDefines() on a prepared statement. |
void |
doStatementSetBindingStyle(java.sql.Statement ps,
int bindingStyle)
Sets the binding style for the statement. |
void |
doStatementSetBindingStyleDefault(java.sql.Statement ps)
|
void |
doStatementSetRowPrefetch(java.sql.Statement ps,
int prefetchSize)
Performs the equivalent of setRowPrefetch() on a statement. |
void |
executeBatch(java.sql.PreparedStatement stmt)
|
java.lang.Object |
generatePKBasedRef(EntityImpl entityContext)
Initial (temporay) value for ROWID, so that entity can be added in cache TODO: this is an awkward piece of non-generic JDBC - not sure how to emulate rowids in the generic case |
java.lang.Object[] |
generateRefAndOID(EntityImpl entityContext)
Generates an object Ref and OID for an Entity Object. |
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 |
com.sun.java.util.collections.ArrayList |
getConstraintsList(java.sql.Connection conn,
java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
return vector of with constraint details for this table where each detail is in a String array with this structure: 0 String owner |
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)
|
protected java.lang.String |
getFormattedLHSCompareFragment(AttributeDef attrDef,
int sqltype,
java.lang.String lhs,
java.lang.Object rhs)
Override this method to provide a formatted left-hand-comparator fragment of a comparision in a where clause for the given column. |
protected java.lang.String |
getFormattedLHSCompareFragment(ViewObject vo,
ViewCriteria vc,
AttributeDef attrDef,
int sqltype,
java.lang.String lhs,
java.lang.Object rhs)
|
protected java.lang.String |
getFormattedRHSCompareFragment(AttributeDef attrDef,
int sqlType,
java.lang.String rhs)
|
protected java.lang.String |
getFormattedRHSCompareFragment(ViewObject vo,
ViewCriteria vc,
AttributeDef attrDef,
int sqlType,
java.lang.String rhs)
|
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.Object |
getROWID(EntityImpl entityContext)
Get the ROWID attribute. |
java.util.Vector |
getSchemaList(java.sql.Connection connection)
return a list of schemas for this database (note that for Oracle this is synonymous with users) |
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. |
protected java.lang.String |
getSqlVariantLockTrailer(EntityImpl entityContext)
|
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 |
com.sun.java.util.collections.ArrayList |
getTables(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 |
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 |
isConnectionAlive(java.sql.Connection conn)
|
boolean |
isDataSourceJTABased(javax.sql.DataSource ds)
|
boolean |
isDisplayBindValueUI()
|
boolean |
isStreamType(int sqlTypeId)
Provides streaming support. |
void |
jdbcClientSideSecurity(java.util.Properties info,
java.util.Hashtable env)
|
javax.sql.DataSource |
lookupDataSource(java.lang.String nsUrl,
java.lang.String nsUser,
java.lang.String nsPasswd,
java.lang.String dataSourceName)
|
protected boolean |
needsQuotedTableName(java.lang.String tableName)
|
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 |
boolean |
supportsReturningClause()
|
boolean |
supportsRowNumQuery()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final java.lang.String ORACLE_ROWID_COLUMN
Constructor Detail |
protected OracleSQLBuilderImpl()
Method Detail |
public static SQLBuilder getInterface()
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 void executeBatch(java.sql.PreparedStatement stmt) throws java.sql.SQLException
executeBatch
in interface SQLBuilder
executeBatch
in class BaseSQLBuilderImpl
java.sql.SQLException
public void doEntityDML(EntityImpl entityContext, int operation, TransactionEvent e)
doEntityDML
in interface SQLBuilder
doEntityDML
in class BaseSQLBuilderImpl
public void doEntitySelect(EntityImpl entityContext, boolean lock)
SQLBuilder
Note: this method is subject to change.
doEntitySelect
in interface SQLBuilder
doEntitySelect
in class BaseSQLBuilderImpl
public void doStatementSetRowPrefetch(java.sql.Statement ps, int prefetchSize) throws java.sql.SQLException
SQLBuilder
doStatementSetRowPrefetch
in interface SQLBuilder
doStatementSetRowPrefetch
in class BaseSQLBuilderImpl
java.sql.SQLException
public void doStatementSetBindingStyle(java.sql.Statement ps, int bindingStyle)
SQLBuilder
doStatementSetBindingStyle
in interface SQLBuilder
doStatementSetBindingStyle
in class BaseSQLBuilderImpl
public void doStatementSetBindingStyleDefault(java.sql.Statement ps)
doStatementSetBindingStyleDefault
in interface SQLBuilder
doStatementSetBindingStyleDefault
in class BaseSQLBuilderImpl
public void doPreparedStatementDefineColumnType(java.sql.PreparedStatement ps, int colnum, int sqltype) throws java.sql.SQLException
SQLBuilder
doPreparedStatementDefineColumnType
in interface SQLBuilder
doPreparedStatementDefineColumnType
in class BaseSQLBuilderImpl
java.sql.SQLException
public void doPreparedStatementDefines(java.sql.PreparedStatement stmt, AttributeDefImpl[] columns)
SQLBuilder
doPreparedStatementDefines
in interface SQLBuilder
doPreparedStatementDefines
in class BaseSQLBuilderImpl
public java.lang.Object doLoadFromResultSet(java.lang.Object theTypeFactory, java.lang.Object theElemFactory, java.lang.Class theJavaType, byte attrLoad, java.sql.ResultSet rs, int index, DBTransactionImpl trans)
SQLBuilder
Note: this method is subject to change.
doLoadFromResultSet
in interface SQLBuilder
doLoadFromResultSet
in class BaseSQLBuilderImpl
public java.lang.Object[] doLoadBulkFromResultSet(AttributeDefImpl[] attrDefs, int attrIndex, java.sql.ResultSet rs, int index, DBTransactionImpl trans)
SQLBuilder
Note: this method is subject to change.
doLoadBulkFromResultSet
in interface SQLBuilder
doLoadBulkFromResultSet
in class BaseSQLBuilderImpl
public java.lang.Object doLoadFromStatement(java.lang.Object theTypeFactory, java.lang.Object theElemFactory, java.lang.Class theJavaType, java.sql.PreparedStatement ps, int index, Transaction trans)
SQLBuilder
Note: this method is subject to change.
doLoadFromStatement
in interface SQLBuilder
doLoadFromStatement
in class BaseSQLBuilderImpl
public void setSavepoint(java.sql.Connection conn, java.lang.String id) throws java.sql.SQLException
SQLBuilder
setSavepoint
in interface SQLBuilder
setSavepoint
in class BaseSQLBuilderImpl
java.sql.SQLException
public void rollbackToSavepoint(java.sql.Connection conn, java.lang.String id) throws java.sql.SQLException
SQLBuilder
rollbackToSavepoint
in interface SQLBuilder
rollbackToSavepoint
in class BaseSQLBuilderImpl
java.sql.SQLException
public void releaseSavepoint(java.sql.Connection conn, java.lang.String id) throws java.sql.SQLException
SQLBuilder
releaseSavepoint
in interface SQLBuilder
releaseSavepoint
in class BaseSQLBuilderImpl
java.sql.SQLException
public boolean supportsReturningClause()
supportsReturningClause
in interface SQLBuilder
supportsReturningClause
in class BaseSQLBuilderImpl
public boolean supportsRowNumQuery()
supportsRowNumQuery
in interface SQLBuilder
supportsRowNumQuery
in class BaseSQLBuilderImpl
public java.lang.StringBuffer buildUpdateStatement(EntityImpl entityContext, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, boolean batchMode)
buildUpdateStatement
in interface SQLBuilder
buildUpdateStatement
in class BaseSQLBuilderImpl
cols
- retrCols
- retrKeyCols
-
protected void buildReturningClause(java.lang.StringBuffer sqlBuffer, DBTransactionImpl trans, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, boolean batchMode, boolean oracleBinding)
public int bindInsertStatement(EntityImpl entityContext, java.sql.PreparedStatement stmt, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, com.sun.java.util.collections.HashMap retrList, boolean batchMode) throws java.sql.SQLException
bindInsertStatement
in interface SQLBuilder
bindInsertStatement
in class BaseSQLBuilderImpl
stmt
- cols
- retrCols
- retrKeyCols
- retrList
-
java.sql.SQLException
public int bindUpdateStatement(EntityImpl entityContext, java.sql.PreparedStatement stmt, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, com.sun.java.util.collections.HashMap retrList, boolean batchMode) throws java.sql.SQLException
bindUpdateStatement
in interface SQLBuilder
bindUpdateStatement
in class BaseSQLBuilderImpl
stmt
- cols
- retrCols
- retrKeyCols
- retrList
-
java.sql.SQLException
protected int bindWhereAttrValue(EntityImpl entityContext, DBTransactionImpl trans, java.sql.PreparedStatement stmt, AttributeDefImpl attrDef, int bindIndex, boolean skipNull) throws java.sql.SQLException
bindWhereAttrValue
in class BaseSQLBuilderImpl
java.sql.SQLException
protected java.lang.Object getROWID(EntityImpl entityContext)
getROWID
in class BaseSQLBuilderImpl
public void buildWhereClause(EntityImpl entityContext, java.lang.StringBuffer buffer, AttributeDefImpl[] keyCols, java.lang.Object rowid)
For now it's private. We'll only consider it public when we sort out all of the issues with Sources/Sinks.
The presence or absence of the ROWID value determines whether the ROWID will be used for Row access.
buildWhereClause
in interface SQLBuilder
buildWhereClause
in class BaseSQLBuilderImpl
buffer
- the area into which the WHERE Clause will be placed.keyCols
- the Primary key columns.rowid
- the ROWID for the ROW if known.public void buildOptUpdateWhereClause(EntityImpl entityContext, java.lang.StringBuffer buffer, AttributeDefImpl[] cols)
buildOptUpdateWhereClause
in class BaseSQLBuilderImpl
public java.lang.StringBuffer buildInsertStatement(EntityImpl entityContext, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, boolean batchMode)
buildInsertStatement
in interface SQLBuilder
buildInsertStatement
in class BaseSQLBuilderImpl
public java.lang.StringBuffer buildDeleteStatement(EntityImpl entityContext)
buildDeleteStatement
in interface SQLBuilder
buildDeleteStatement
in class BaseSQLBuilderImpl
public void buildSelectString(DBTransactionImpl trans, java.lang.StringBuffer buffer, java.lang.String sourceName, java.lang.String sourceAlias, AttributeDefImpl[] attrs, boolean withIntoClause, int bindingStyle)
buildSelectString
in interface SQLBuilder
buildSelectString
in class BaseSQLBuilderImpl
buffer
- the area into which the SELECT statement will be placed.public java.lang.Object generatePKBasedRef(EntityImpl entityContext)
BaseSQLBuilderImpl
generatePKBasedRef
in interface SQLBuilder
generatePKBasedRef
in class BaseSQLBuilderImpl
public java.lang.Object[] generateRefAndOID(EntityImpl entityContext)
SQLBuilder
generateRefAndOID
in interface SQLBuilder
generateRefAndOID
in class BaseSQLBuilderImpl
public boolean isStreamType(int sqlTypeId)
SQLBuilder
isStreamType
in interface SQLBuilder
isStreamType
in class BaseSQLBuilderImpl
public java.util.Vector getSchemaList(java.sql.Connection connection) throws java.lang.Exception
getSchemaList
in interface SQLBuilder
getSchemaList
in class BaseSQLBuilderImpl
java.lang.Exception
public com.sun.java.util.collections.ArrayList getTables(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
getTables
in interface SQLBuilder
getTables
in class BaseSQLBuilderImpl
java.lang.Exception
protected boolean needsQuotedTableName(java.lang.String tableName)
needsQuotedTableName
in class BaseSQLBuilderImpl
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 com.sun.java.util.collections.ArrayList getConstraintsList(java.sql.Connection conn, java.lang.String catalog, java.lang.String schema, java.lang.String table) throws java.sql.SQLException
SQLBuilder
1 String constraint_name
2 String constraint_type
3 String table_name
4 String search_condition
5 Integer delete_rule (cascade)
6 Integer status (enabled)
7 Integerdeferrable
8 Integer deferred
9 Integer validated
10 String column_name
11 Integer position
12 String fkname
13 String fkother <>
getConstraintsList
in interface SQLBuilder
getConstraintsList
in class BaseSQLBuilderImpl
java.sql.SQLException
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 java.lang.String getJDBCDriverClassName()
BaseSQLBuilderImpl
getJDBCDriverClassName
in class BaseSQLBuilderImpl
public javax.sql.DataSource lookupDataSource(java.lang.String nsUrl, java.lang.String nsUser, java.lang.String nsPasswd, java.lang.String dataSourceName) throws JboException
lookupDataSource
in interface SQLBuilder
lookupDataSource
in class BaseSQLBuilderImpl
JboException
public boolean isDataSourceJTABased(javax.sql.DataSource ds)
isDataSourceJTABased
in interface SQLBuilder
isDataSourceJTABased
in class BaseSQLBuilderImpl
protected java.lang.String getFormattedRHSCompareFragment(AttributeDef attrDef, int sqlType, java.lang.String rhs)
getFormattedRHSCompareFragment
in class BaseSQLBuilderImpl
protected java.lang.String getFormattedRHSCompareFragment(ViewObject vo, ViewCriteria vc, AttributeDef attrDef, int sqlType, java.lang.String rhs)
getFormattedRHSCompareFragment
in class BaseSQLBuilderImpl
protected java.lang.String getFormattedLHSCompareFragment(AttributeDef attrDef, int sqltype, java.lang.String lhs, java.lang.Object rhs)
getFormattedLHSCompareFragment
in class BaseSQLBuilderImpl
protected java.lang.String getFormattedLHSCompareFragment(ViewObject vo, ViewCriteria vc, AttributeDef attrDef, int sqltype, java.lang.String lhs, java.lang.Object rhs)
getFormattedLHSCompareFragment
in class BaseSQLBuilderImpl
protected java.lang.String getSqlVariantLockTrailer(EntityImpl entityContext)
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
public boolean isConnectionAlive(java.sql.Connection conn)
isConnectionAlive
in interface SQLBuilder
isConnectionAlive
in class BaseSQLBuilderImpl
public java.lang.Object convertValueToStorageType(java.lang.Object value)
convertValueToStorageType
in interface SQLBuilder
convertValueToStorageType
in class BaseSQLBuilderImpl
public void jdbcClientSideSecurity(java.util.Properties info, java.util.Hashtable env)
jdbcClientSideSecurity
in interface SQLBuilder
jdbcClientSideSecurity
in class BaseSQLBuilderImpl
public boolean compareFetchedValue(EntityImpl entity, AttributeDefImpl ad, java.lang.Object cacheValue, java.lang.Object fetchedValue)
compareFetchedValue
in interface SQLBuilder
compareFetchedValue
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.