Hi there, I have a really strange behavior, and I guess I do something wrong. Could you help me please ?
The context is the following: I'm using H2 in embedded mode, through JPA, (hibernate implementation). If I do the following simple test case: 1) connect to a fresh, empty database. 2) insert sample data 3) commit, flush, set write_delay 0, checkpoint sync whatever 4) let the embedding java process (a test case here) close normally the I do have my data on disk, and I could read them afterward. But If I kill the process rather, even after the step 3 is done correctly: 1) connect to a fresh, empty database. 2) insert sample data 3) commit, flush, set write_delay 0, checkpoint sync whatever 4) kill the embedding process (while he is sleeping) then I'm not able to read the the data inserted. As if they is nothing actually persisted, even if the files on the filesystem seems to be rather similar (but not exactly the same, for instance there is still a lock file, and usually the log file name has 1 less increment value in the name). So, Do I have to understand that H2 does not support a process to be killed, or am I doing something wrong ? Please help. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
