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 longgetNewId(Connection c, String type, String oldId)String[]getOldIds(Connection c, String type, long newId)voidinstall(Connection c)voidsave(Connection c, String type, String oldId, long newId)voiduninstall(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:
getNewIdin interfaceDbUpgradeHandler- Specified by:
getNewIdin classDbUpgradeHandlerImpl- Throws:
SQLException
-
getOldIds
public String[] getOldIds(Connection c, String type, long newId) throws SQLException
- Specified by:
getOldIdsin interfaceDbUpgradeHandler- Specified by:
getOldIdsin classDbUpgradeHandlerImpl- Throws:
SQLException
-
install
public void install(Connection c) throws SQLException
- Specified by:
installin interfaceDbUpgradeHandler- Specified by:
installin classDbUpgradeHandlerImpl- Throws:
SQLException
-
save
public void save(Connection c, String type, String oldId, long newId) throws SQLException
- Specified by:
savein interfaceDbUpgradeHandler- Specified by:
savein classDbUpgradeHandlerImpl- Throws:
SQLException
-
uninstall
public void uninstall(Connection c) throws SQLException
- Specified by:
uninstallin interfaceDbUpgradeHandler- Specified by:
uninstallin classDbUpgradeHandlerImpl- Throws:
SQLException
-
-