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) |
getOldId
public long getNewId(Connection c, String type, String oldId) throws SQLException
getNewId
in interface DbUpgradeHandler
getNewId
in class DbUpgradeHandlerImpl
SQLException
public String[] getOldIds(Connection c, String type, long newId) throws SQLException
getOldIds
in interface DbUpgradeHandler
getOldIds
in class DbUpgradeHandlerImpl
SQLException
public void install(Connection c) throws SQLException
install
in interface DbUpgradeHandler
install
in class DbUpgradeHandlerImpl
SQLException
public void save(Connection c, String type, String oldId, long newId) throws SQLException
save
in interface DbUpgradeHandler
save
in class DbUpgradeHandlerImpl
SQLException
public void uninstall(Connection c) throws SQLException
uninstall
in interface DbUpgradeHandler
uninstall
in class DbUpgradeHandlerImpl
SQLException
Copyright © 2015 OpenEstate. All rights reserved.