Class HSqlDbUpdateHandler
- java.lang.Object
-
- com.openindex.openestate.tool.db.DbUpdateHandlerImpl
-
- com.openindex.openestate.tool.db.hsql.HSqlDbUpdateHandler
-
- All Implemented Interfaces:
DbUpdateHandler
,Comparable<DbUpdateHandler>
public class HSqlDbUpdateHandler extends DbUpdateHandlerImpl
HSqlDbUpdateHandler.- Author:
- Andreas Rudolph
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openindex.openestate.tool.db.DbUpdateHandlerImpl
DbUpdateHandlerImpl.Type
-
-
Field Summary
-
Fields inherited from interface com.openindex.openestate.tool.db.DbUpdateHandler
PRIORITY_APP, PRIORITY_PLUGIN, PRIORITY_PLUGIN_RELATION
-
-
Constructor Summary
Constructors Constructor Description HSqlDbUpdateHandler(String id, DbUpdateHandlerImpl.Type type, long localVersion, String uninstallQuery, String resourcePath, ClassLoader classLoader, AbstractDbUpdateListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Connection c, String file)
protected org.hsqldb.cmdline.SqlFile
readHsqlFile(String file)
-
Methods inherited from class com.openindex.openestate.tool.db.DbUpdateHandlerImpl
compareTo, equals, getClassLoader, getDbVersion, getId, getLocalVersion, getParentUpdateId, getParentUpdateVersion, getPriority, getResourcePath, getType, getUninstallQuery, hashCode, loadSettings, register, update, updateFinish, updateFinished
-
-
-
-
Constructor Detail
-
HSqlDbUpdateHandler
public HSqlDbUpdateHandler(String id, DbUpdateHandlerImpl.Type type, long localVersion, String uninstallQuery, String resourcePath, ClassLoader classLoader, AbstractDbUpdateListener listener)
-
-
Method Detail
-
execute
public void execute(Connection c, String file) throws SQLException, IOException
- Specified by:
execute
in classDbUpdateHandlerImpl
- Throws:
SQLException
IOException
-
readHsqlFile
protected org.hsqldb.cmdline.SqlFile readHsqlFile(String file) throws IOException
- Throws:
IOException
-
-