Class HSqlUtils
- java.lang.Object
-
- com.openindex.openestate.tool.db.hsql.HSqlUtils
-
public class HSqlUtils extends Object
HSqlUtils.- Author:
- Andreas Rudolph
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.hsqldb.cmdline.SqlFile
buildHSqlFile(String query)
static org.hsqldb.cmdline.SqlFile
readHSqlFile(String resource, ClassLoader classLoader)
static String
readHSqlQuery(String resource, ClassLoader classLoader)
static void
updateAccessGroupForeignKey(Connection c, String tableName)
static void
updateAccessOwnerForeignKey(Connection c, String tableName)
-
-
-
Method Detail
-
buildHSqlFile
public static org.hsqldb.cmdline.SqlFile buildHSqlFile(String query) throws IOException
- Throws:
IOException
-
readHSqlFile
public static org.hsqldb.cmdline.SqlFile readHSqlFile(String resource, ClassLoader classLoader) throws IOException
- Throws:
IOException
-
readHSqlQuery
public static String readHSqlQuery(String resource, ClassLoader classLoader) throws IOException
- Throws:
IOException
-
updateAccessGroupForeignKey
public static void updateAccessGroupForeignKey(Connection c, String tableName) throws SQLException
- Throws:
SQLException
-
updateAccessOwnerForeignKey
public static void updateAccessOwnerForeignKey(Connection c, String tableName) throws SQLException
- Throws:
SQLException
-
-