public abstract class AbstractKeyGenerator extends java.lang.Object implements KeyGenerator
Constructor and Description |
---|
AbstractKeyGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
closeSeparateConnection(java.sql.Connection conn)
Close the JDBC Connection.
|
java.sql.Connection |
getSeparateConnection(Database database)
Operning new JDBC Connection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildStatement, executeStatement, generateKey, isInSameConnection
public final java.sql.Connection getSeparateConnection(Database database) throws PersistenceException
database
- The database on which it opens the JDBC connection.PersistenceException
- If fails to open connection.public final void closeSeparateConnection(java.sql.Connection conn)
conn
- A JDBC Connection.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com