public abstract class AbstractKeyGenerator extends Object implements KeyGenerator
| Constructor and Description |
|---|
AbstractKeyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeSeparateConnection(Connection conn)
Close the JDBC Connection.
|
Connection |
getSeparateConnection(Database database)
Operning new JDBC Connection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildStatement, executeStatement, generateKey, isInSameConnectionpublic final 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(Connection conn)
conn - A JDBC Connection.Copyright © 2014. All rights reserved.