org.javaWebGen.data
Interface Sequence

All Known Implementing Classes:
GenericSequence, OracleSequence

public interface Sequence


Method Summary
 int getNextValue(java.sql.Connection con, java.lang.String tableName)
           
 int getNextValue(java.lang.String tableName)
           
 

Method Detail

getNextValue

int getNextValue(java.lang.String tableName)
                 throws DBException
Parameters:
tableName - table name
Returns:
next value
Throws:
DBException

getNextValue

int getNextValue(java.sql.Connection con,
                 java.lang.String tableName)
                 throws java.sql.SQLException
Parameters:
con - database connection for tranaction
tableName - table name
Throws:
java.sql.SQLException


Copyright(C) 2003-2006 Kevin Scott - All Rights Reserved.