generateKey
public static long generateKey(java.sql.Connection con,
java.lang.String tbName,
java.lang.String name)
throws MXException
Generates a unique key used by long description and workflow ID columns. If the
database is Oracle, it returns the MAXSEQ sequence's next value. If not Oracle then
the system system time on the SQLServer database server in milliseconds at the time
of the first call is used as a seed for a counter. Each subsiquent call adds one
to the seed value.
- Throws:
MXException