public class MaxSequence
extends java.lang.Object
| Constructor and Description |
|---|
MaxSequence() |
| Modifier and Type | Method and Description |
|---|---|
static long |
generateKey(java.sql.Connection con,
java.lang.String tbName,
java.lang.String name)
Generates a unique key used by long description and workflow ID columns.
|
static long |
getNextDb2Sequence(java.sql.Connection con,
java.lang.String seqName)
Returns the unique key for DB2 by executing a sql statement
|
static void |
reset()
Reset msp = null so it will be rebuilt.
|
public static long generateKey(java.sql.Connection con,
java.lang.String tbName,
java.lang.String name)
throws MXException
con - - Database ConnectiontbName - - table namename - - Column nameMXExceptionpublic static long getNextDb2Sequence(java.sql.Connection con,
java.lang.String seqName)
throws MXException
con - - Database ConnectiontbName - - table namename - - column nameMXExceptionpublic static void reset()
throws MXException
MXException