Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated)
11g Release 1 (11.1.1)

B32476-04

oracle.toplink.tools.schemaframework
Class TableSequenceDefinition

java.lang.Object
  extended by oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
      extended by oracle.toplink.tools.schemaframework.SequenceDefinition
          extended by oracle.toplink.tools.schemaframework.TableSequenceDefinition
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class TableSequenceDefinition
extends SequenceDefinition

Purpose: Allow a generic way of creating sequences on the different platforms, and allow optional parameters to be specified.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
name, qualifier
 
Method Summary
 boolean checkIfExist(oracle.toplink.internal.sessions.AbstractSession session)
          INTERAL: Execute the SQL required to insert the sequence row into the sequence table.
 java.lang.String getSequenceCounterFieldName()
          
 java.lang.String getSequenceNameFieldName()
          
 java.lang.String getSequenceTableName()
          
 
Methods inherited from class oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
clone, getName, getQualifier, setName, setQualifier, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

checkIfExist

public boolean checkIfExist(oracle.toplink.internal.sessions.AbstractSession session)
                     throws DatabaseException
INTERAL: Execute the SQL required to insert the sequence row into the sequence table. Assume that the sequence table exists.

Specified by:
checkIfExist in class SequenceDefinition
Throws:
DatabaseException

getSequenceTableName

public java.lang.String getSequenceTableName()


getSequenceCounterFieldName

public java.lang.String getSequenceCounterFieldName()


getSequenceNameFieldName

public java.lang.String getSequenceNameFieldName()


Copyright © 1998, 2012, Oracle. All Rights Reserved.