KeyGeneratorAbstractAfterKeyGenerator, AbstractBeforeKeyGenerator, NoKeyGenerator, SequenceDuringKeyGeneratorpublic abstract class AbstractKeyGenerator extends java.lang.Object implements KeyGenerator
| Constructor | Description |
|---|---|
AbstractKeyGenerator() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
closeSeparateConnection(java.sql.Connection conn) |
Close the JDBC Connection.
|
java.sql.Connection |
getSeparateConnection(Database database) |
Operning new JDBC Connection.
|
buildStatement, executeStatement, generateKey, isInSameConnectionpublic 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