com.sibvisions.rad.persist.jdbc
Class TiberoDBAccess

java.lang.Object
  extended by com.sibvisions.rad.persist.jdbc.DBAccess
      extended by com.sibvisions.rad.persist.jdbc.AbstractOracleDBAccess
          extended by com.sibvisions.rad.persist.jdbc.TiberoDBAccess
All Implemented Interfaces:
IDBAccess, ICloseable

public class TiberoDBAccess
extends AbstractOracleDBAccess

The TiberoDBAccess is the implementation for Tibero databases.

See Also:
DBAccess

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sibvisions.rad.persist.jdbc.DBAccess
DBAccess.BlobFileHandle, DBAccess.ParameterizedStatement
 
Field Summary
 
Fields inherited from class com.sibvisions.rad.persist.jdbc.DBAccess
BFILE, LONGNVARCHAR, NCHAR, NCLOB, NVARCHAR, QUOTE, SQLXML, TIMESTAMPWITHLOCALTIMEZONE, TIMESTAMPWITHTIMEZONE
 
Constructor Summary
TiberoDBAccess()
          Creates a new instance of TiberoDBAccess.
 
Method Summary
protected  java.lang.Object convertArrayToList(java.lang.Object pParam)
          Converts arrays to List of IBean.
protected  java.lang.Object convertToArray(AbstractParam pParam)
          Converts list or array to oracle arrays.
protected  java.lang.String getMetaDataWhereClause()
          Gets the where clause for metadata detection.
protected  java.lang.String getTableForSynonymIntern(java.lang.String pSynomyn)
          Returns the full qualified table name incl. schema/catalog/db link for the given synonym.
 
Methods inherited from class com.sibvisions.rad.persist.jdbc.AbstractOracleDBAccess
detectModified, executeFunction, executeProcedure, getAllowedValuesIntern, getDatabaseSpecificLockStatement, getDefaultValuesIntern, getForeignKeysIntern, getPrimaryKeyIntern, getTableForSynonymIntern, getTableInfoIntern, getUniqueKeysIntern, insertDatabaseSpecific, insertOracle, open
 
Methods inherited from class com.sibvisions.rad.persist.jdbc.DBAccess
clearMetaData, clearMetaData, close, commit, commitOrRollbackBeforeClose, convertDatabaseSpecificObjectToValue, convertValueToDatabaseSpecificObject, createIdentifier, createReplace, createServerColumnMetaData, createWhereColumn, createWhereParam, debug, delete, error, eventConfigureConnection, eventUnconfigureConnection, executeFunction, executeQuery, executeSql, executeSqlMulti, executeStatement, fetch, fetch, fetch, fetch, findAndCreateReducedCondition, findNamedParameters, fireEventConfigureConnection, fireEventUnconfigureConnection, formatSQLException, formatSQLException, getAllowedValues, getAutomaticLinkColumnNameTranslation, getCloseQuoteCharacter, getColumnMetaData, getColumnMetaDataCreator, getColumnMetaDataIntern, getColumnName, getConnection, getConnectionIntern, getConnectionPool, getDBAccess, getDBAccess, getDBAccess, getDBAccess, getDBAccess, getDBProperties, getDBProperty, getDefaultAllowedValues, getDefaultCursorCacheTimeout, getDefaultLargeObjectLimit, getDefaultSchema, getDefaultValues, getDiscardRowCount, getDriver, getForeignKeys, getIdentifier, getLargeObjectLimit, getMaxColumnLength, getMaxTime, getMetaDataCacheOption, getObjectFromResultSet, getObjectFromResultSet, getOpenQuoteCharacter, getParameter, getParameter, getParameterizedSelectStatement, getPassword, getPreparedStatement, getPreparedStatement, getPrimaryKey, getQueryTimeout, getRealQueryColumnName, getSelectStatement, getSelectStatement, getSQL, getTableForSynonym, getTableInfo, getTransactionTimeout, getUniqueKeys, getUrl, getUsername, getWhereClause, info, initializeColumnMetaData, initializeDataType, initializeServerColumnMetaData, insert, insertAnsiSQL, isAutoCommit, isAutoQuote, isConnectionPoolEnabled, isJdbc, isLogEnabled, isMetaDataCacheEnabled, isModified, isOpen, isReleaseConnectionPending, isTypeEqual, lockRow, lockRowInternal, prepareConnection, quote, quoteAllways, registerDBAccessClass, releaseConnection, releaseConnectionIntern, removeDBSpecificQuotes, removeQuotes, rollback, setAutoCommit, setAutomaticLinkColumnNameTranslation, setColumnMetaDataCreator, setColumnMetaDataCreator, setColumnsToStore, setConnection, setConnectionPool, setConnectionPoolEnabled, setDBProperties, setDBProperty, setDefaultCursorCacheTimeout, setDefaultLargeObjectLimit, setDefaultSchema, setDriver, setLargeObjectLimit, setMaxTime, setMetaDataCacheOption, setModified, setPassword, setQueryTimeout, setQuoteCharacters, setTransactionTimeout, setUrl, setUsername, splitSchemaTable, supportsGetGeneratedKeys, toString, translateDefaultValue, translateQuotes, translateValue, update, updateAnsiSQL, updateDatabaseSpecific
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TiberoDBAccess

public TiberoDBAccess()
Creates a new instance of TiberoDBAccess.

Method Detail

convertArrayToList

protected java.lang.Object convertArrayToList(java.lang.Object pParam)
                                       throws java.sql.SQLException
Converts arrays to List of IBean.

Specified by:
convertArrayToList in class AbstractOracleDBAccess
Parameters:
pParam - the param to check
Returns:
the param or a list in case of array.
Throws:
java.sql.SQLException - the exception

convertToArray

protected java.lang.Object convertToArray(AbstractParam pParam)
                                   throws java.sql.SQLException
Converts list or array to oracle arrays.

Specified by:
convertToArray in class AbstractOracleDBAccess
Parameters:
pParam - the param to check
Returns:
the param or a list in case of array.
Throws:
java.sql.SQLException - the exception

getTableForSynonymIntern

protected java.lang.String getTableForSynonymIntern(java.lang.String pSynomyn)
                                             throws DataSourceException
Returns the full qualified table name incl. schema/catalog/db link for the given synonym. If pSynomyn is no synonym, then the pSynomyn string is returned.

Overrides:
getTableForSynonymIntern in class DBAccess
Parameters:
pSynomyn - the synonym to use.
Returns:
the full qualified table name incl. schema/catalog/db link for the given synonym.
Throws:
DataSourceException - if an error occur in determining the synonyms.

getMetaDataWhereClause

protected java.lang.String getMetaDataWhereClause()
Gets the where clause for metadata detection.

Overrides:
getMetaDataWhereClause in class DBAccess
Returns:
the where clause


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.