Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Data is not saving in MEMORY Table of HSQL
- ...the default, MEMORY tables are persistent.
- CREATE MEMORY TABLE SESSIONS(
- SESSION_DATE DATE NOT NULL,
- IN_TIME TIMESTAMP NOT NULL,
- OUT_TIME TIMESTAMP NOT NULL)
- DriverManager.getConnection("jdbc:hsqldb:file:"+
- DbConnection.class.getResource("/loginTimerDB").getPath()+"/loginTimerDB",
- "SA",
- "");
- "jdbc:hsqldb:file:loginTimerDB/loginTimerDB"
- connection.prepareStatement("SHUTDOWN").execute();
- jdbc:hsqldb:file:loginTimerDB/loginTimerDB;shutdown=true
Add Comment
Please, Sign In to add comment