I've tried to debug it, but I cannot get significant results; maybe due to JDK sources not being compiled with -g option (as NetBeans Debugger points to)
I've done some more testing, with different uri settings, under 168:
jdbc:h2:~/h2/jplaydb works perfectly. The folder and database was created in user.home as expected.
jdbc:h2:/h2/jplaydb works perfectly.The folder and database was created in the root of the hard disk partition, where the application gets launched from. I don't know if this is the expected behavior, but it works at least.
jdbc:h2:h2/jplaydb doesn`t work at all! It should create the folder and the database under user.dir as in prevoius H2 versions, I guess. No hope! Here is when I get the connection null.
The above uri works perfectly under 166.
You bet how strange all this sounds to me! ;)
--
You received this message because you are subscribed to the Google Groups "H2 Database" group.