On Jan 19, 3:01 pm, Thomas Mueller <[email protected]> wrote: > Hi, > > > > > > > Thanks for the link, but I do not see then, why I am getting the below > > error message: > > > " > > Org.h2.jdbc.JdbcSQLException: Error opening database: “Lock file > > recently modified” [8000-126] > > " > > > How should I be accessing my database once the server is enabled? > > Still with: > > " > > Class.forName("org.h2.Driver"); > > Connection conn = DriverManager. > > getConnection("jdbc:h2:~/test", "sa", ""); > > ... > > conn.close(); > > " > > ? > > No. I suggest you read the > documentation:http://www.h2database.com/html/tutorial.html#using_server > > > Also, looking at another option: > >http://www.h2database.com/html/features.html#auto_mixed_mode > > > What does "rolled back" mean in this context: > > Seehttp://en.wikipedia.org/wiki/Rollback_%28data_management%29 > > Regards, > Thomas- Hide quoted text - > > - Show quoted text -
Thanks a lot!! So if i have two separate applications that access a database at random times, I cannot use the auto-mixed-mode because of the following situation: App1 accesses database through an embedded connection (and hence starting an internal server also). App2 accesses the database through a connection to the server. App1 finishes and closes. App2 then gets rolled back? (as in it does not complete it's operation?) Or have I misunderstood?
-- 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.
