uk.ac.ic.doc.automed.util.db
Class SQLFunctions

java.lang.Object
  extended by uk.ac.ic.doc.automed.util.db.SQLFunctions

public class SQLFunctions
extends java.lang.Object


Field Summary
static java.lang.String SEQUENCE_TABLE
           
 
Constructor Summary
SQLFunctions()
           
 
Method Summary
static long nextVal(java.sql.Connection con, java.lang.String name)
          Select the next value from a pre-defined sequence
This method is equivalent to nextval() SQL function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEQUENCE_TABLE

public static final java.lang.String SEQUENCE_TABLE
See Also:
Constant Field Values
Constructor Detail

SQLFunctions

public SQLFunctions()
Method Detail

nextVal

public static long nextVal(java.sql.Connection con,
                           java.lang.String name)
                    throws java.sql.SQLException
Select the next value from a pre-defined sequence
This method is equivalent to nextval() SQL function.

Throws:
java.sql.SQLException