@author Fred Toussi (fredt@users dot sourceforge.net) @version 1.9.0 @since 1.7.0
271272273274275276277278279280281
if (type == ResultConstants.CONNECT) { try { session = DatabaseManager.newSession( dbType, dbPath, resultIn.getMainString(), resultIn.getSubString(), new HsqlProperties(), resultIn.getZoneString(), resultIn.getUpdateCount()); resultIn.readAdditionalResults(null, inStream, rowIn);
115116117118119120121122123124125
public static HSQLInterface loadHsqldb() { Session sessionProxy = null; String name = "hsqldbinstance-" + String.valueOf(instanceId) + "-" + String.valueOf(System.currentTimeMillis()); instanceId++; HsqlProperties props = new HsqlProperties(); try { sessionProxy = DatabaseManager.newSession(DatabaseURL.S_MEM, name, "SA", "", props, 0); } catch (HsqlException e) { e.printStackTrace(); }