Class HSqlDbUpgradeHandler
- java.lang.Object
-
- com.openindex.openestate.tool.db.DbUpgradeHandlerImpl
-
- com.openindex.openestate.tool.db.hsql.HSqlDbUpgradeHandler
-
- All Implemented Interfaces:
DbUpgradeHandler
public class HSqlDbUpgradeHandler extends DbUpgradeHandlerImpl
HSqlDbUpgradeHandler.- Author:
- Andreas Rudolph
-
-
Constructor Summary
Constructors Constructor Description HSqlDbUpgradeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class com.openindex.openestate.tool.db.DbUpgradeHandlerImpl
getOldId
-
-
-
-
Method Detail
-
getNewId
public long getNewId(Connection c, String type, String oldId) throws SQLException
- Specified by:
getNewId
in interfaceDbUpgradeHandler
- Specified by:
getNewId
in classDbUpgradeHandlerImpl
- Throws:
SQLException
-
getOldIds
public String[] getOldIds(Connection c, String type, long newId) throws SQLException
- Specified by:
getOldIds
in interfaceDbUpgradeHandler
- Specified by:
getOldIds
in classDbUpgradeHandlerImpl
- Throws:
SQLException
-
install
public void install(Connection c) throws SQLException
- Specified by:
install
in interfaceDbUpgradeHandler
- Specified by:
install
in classDbUpgradeHandlerImpl
- Throws:
SQLException
-
save
public void save(Connection c, String type, String oldId, long newId) throws SQLException
- Specified by:
save
in interfaceDbUpgradeHandler
- Specified by:
save
in classDbUpgradeHandlerImpl
- Throws:
SQLException
-
uninstall
public void uninstall(Connection c) throws SQLException
- Specified by:
uninstall
in interfaceDbUpgradeHandler
- Specified by:
uninstall
in classDbUpgradeHandlerImpl
- Throws:
SQLException
-
-