org.rimudb.sql
Class Oracle9iAdapter

java.lang.Object
  extended by org.rimudb.sql.DefaultAdapter
      extended by org.rimudb.sql.Oracle8iAdapter
          extended by org.rimudb.sql.Oracle9iAdapter
All Implemented Interfaces:
ISQLAdapter

public class Oracle9iAdapter
extends Oracle8iAdapter

Author:
Simon Ritchie

Field Summary
 
Fields inherited from class org.rimudb.sql.DefaultAdapter
DB_H2, DB_HSQLDB, DB_ISERIES, DB_MYSQL, DB_SQLSERVER, DB_UNKNOWN, IDX_INDEX, IDX_PRIMARY, IDX_UNIQUE, LOCK_DELETE, LOCK_INSERT, LOCK_NONE, LOCK_SELECT, LOCK_UPDATE
 
Fields inherited from interface org.rimudb.sql.ISQLAdapter
IDENTITY_GENERATED_KEYS, IDENTITY_INSERT_STMT, IDENTITY_SEPARATE_STATEMENT
 
Constructor Summary
Oracle9iAdapter()
           
 
Method Summary
 java.lang.String convertSQLType(int type, long precision, int scale)
          Convert the SQL type to a type that the database can handle.
 java.lang.String getBeginLimitClause(int maxRecords, int offset)
          Returns a clause that is used before the select statement (usually in conjunction with an end limit clause that limits the number of records returned to the first n records.
 java.lang.String getEndLimitClause(int maxRecords, int offset)
          Returns a clause for a select statement that limits the number of records returned to the first n records.
 
Methods inherited from class org.rimudb.sql.Oracle8iAdapter
convertAutoIncrement, getCreateIfExistsClause, getDropIfExistsClause, getInsertStatement, getSupportsMultipleGetGeneratedKeys, getSupportsReturnGeneratedKeys
 
Methods inherited from class org.rimudb.sql.DefaultAdapter
build, build, buildGroupByClause, buildOrderByClause, buildSelectClause, buildSQL, buildSQL, buildSQL, buildWhereClause, convertNullCapable, correctRecordData, getCloseQuote, getCreateTableSQL, getDatabaseConfiguration, getDatabaseMetaData, getDatabaseNames, getDeleteStatement, getDropTableSQL, getIdentitySelectSQL, getLockingHint, getOpenQuote, getPrimaryKeySelectStatement, getPrimaryKeyUpdateStatement, getQuoter, getSelectAllSQL, getSelectCountSQL, getTableType, getTruncateTableSQL, hasPrimaryKeyClause, isInsertIndentityStatementSupported, setDatabaseConfiguration, setDatabaseMetaData, setUseQuotes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Oracle9iAdapter

public Oracle9iAdapter()
Method Detail

convertSQLType

public java.lang.String convertSQLType(int type,
                                       long precision,
                                       int scale)
Convert the SQL type to a type that the database can handle.

Specified by:
convertSQLType in interface ISQLAdapter
Overrides:
convertSQLType in class Oracle8iAdapter
Parameters:
type - int
precision - long
scale - int
Returns:
String

getBeginLimitClause

public java.lang.String getBeginLimitClause(int maxRecords,
                                            int offset)
Description copied from interface: ISQLAdapter
Returns a clause that is used before the select statement (usually in conjunction with an end limit clause that limits the number of records returned to the first n records.

Specified by:
getBeginLimitClause in interface ISQLAdapter
Overrides:
getBeginLimitClause in class DefaultAdapter
Parameters:
maxRecords - int
offset - int
Returns:
String

getEndLimitClause

public java.lang.String getEndLimitClause(int maxRecords,
                                          int offset)
Description copied from interface: ISQLAdapter
Returns a clause for a select statement that limits the number of records returned to the first n records.

Specified by:
getEndLimitClause in interface ISQLAdapter
Overrides:
getEndLimitClause in class Oracle8iAdapter
Parameters:
maxRecords - int
offset - int
Returns:
String


Copyright © 2008-2011 Simon Ritchie. All Rights Reserved.