public class HSqlDbUpgradeHandler extends DbUpgradeHandlerImpl
| Constructor and Description |
|---|
HSqlDbUpgradeHandler() |
| Modifier and Type | Method and Description |
|---|---|
long |
getNewId(Connection c,
String type,
String oldId) |
String[] |
getOldIds(Connection c,
String type,
long newId) |
void |
install(Connection c) |
void |
save(Connection c,
String type,
String oldId,
long newId) |
void |
uninstall(Connection c) |
getOldIdpublic long getNewId(Connection c, String type, String oldId) throws SQLException
getNewId in interface DbUpgradeHandlergetNewId in class DbUpgradeHandlerImplSQLExceptionpublic String[] getOldIds(Connection c, String type, long newId) throws SQLException
getOldIds in interface DbUpgradeHandlergetOldIds in class DbUpgradeHandlerImplSQLExceptionpublic void install(Connection c) throws SQLException
install in interface DbUpgradeHandlerinstall in class DbUpgradeHandlerImplSQLExceptionpublic void save(Connection c, String type, String oldId, long newId) throws SQLException
save in interface DbUpgradeHandlersave in class DbUpgradeHandlerImplSQLExceptionpublic void uninstall(Connection c) throws SQLException
uninstall in interface DbUpgradeHandleruninstall in class DbUpgradeHandlerImplSQLExceptionCopyright © 2015 OpenEstate. All rights reserved.