org.apache.ojb.broker.platforms
Class PlatformFirebirdImpl

java.lang.Object
  extended by org.apache.ojb.broker.platforms.PlatformDefaultImpl
      extended by org.apache.ojb.broker.platforms.PlatformFirebirdImpl
All Implemented Interfaces:
JoinSyntaxTypes, Platform

public class PlatformFirebirdImpl
extends PlatformDefaultImpl

This class extends PlatformDefaultImpl and defines specific behavior for the Firebird platform. Copied from the PostgreSQL Platform

Version:
$Id: PlatformFirebirdImpl.java,v 1.1 2007-08-24 22:17:35 ewestfal Exp $
Author:
Thomas Mahler, David Warnock

Field Summary
 
Fields inherited from class org.apache.ojb.broker.platforms.PlatformDefaultImpl
log, m_batchUpdatesChecked, m_supportsBatchUpdates
 
Fields inherited from interface org.apache.ojb.broker.accesslayer.JoinSyntaxTypes
ORACLE_JOIN_SYNTAX, SQL92_JOIN_SYNTAX, SQL92_NOPAREN_JOIN_SYNTAX, SYBASE_JOIN_SYNTAX
 
Constructor Summary
PlatformFirebirdImpl()
           
 
Method Summary
 String createSequenceQuery(String sequenceName)
          Override this method to enable database based sequence generation
 String dropSequenceQuery(String sequenceName)
          Override this method to enable database based sequence generation
 String nextSequenceQuery(String sequenceName)
          Override this method to enable database based sequence generation
 
Methods inherited from class org.apache.ojb.broker.platforms.PlatformDefaultImpl
addBatch, addPagingSql, afterStatementClose, afterStatementCreate, beforeBatch, beforeStatementClose, bindPagingParameters, bindPagingParametersFirst, changeAutoCommitState, checkForBatchSupport, concatenate, createSequenceQuery, executeBatch, getConcatenationCharacter, getEscapeClause, getJoinSyntaxType, getLastInsertIdentityQuery, initializeJdbcConnection, prepareNextValProcedureStatement, registerOutResultSet, setNullForStatement, setObjectForStatement, supportsBatchOperations, supportsMultiColumnCountDistinct, supportsPaging, useCountForResultsetSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlatformFirebirdImpl

public PlatformFirebirdImpl()
Method Detail

createSequenceQuery

public String createSequenceQuery(String sequenceName)
Description copied from class: PlatformDefaultImpl
Override this method to enable database based sequence generation

Specified by:
createSequenceQuery in interface Platform
Overrides:
createSequenceQuery in class PlatformDefaultImpl
Parameters:
sequenceName - The name of the sequence to create.
Returns:
a sql string to create a sequence

nextSequenceQuery

public String nextSequenceQuery(String sequenceName)
Description copied from class: PlatformDefaultImpl
Override this method to enable database based sequence generation

Specified by:
nextSequenceQuery in interface Platform
Overrides:
nextSequenceQuery in class PlatformDefaultImpl
Returns:
a sql string to get next sequence value

dropSequenceQuery

public String dropSequenceQuery(String sequenceName)
Description copied from class: PlatformDefaultImpl
Override this method to enable database based sequence generation

Specified by:
dropSequenceQuery in interface Platform
Overrides:
dropSequenceQuery in class PlatformDefaultImpl
Returns:
a sql string to drop a sequence


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.