Hi,

*> 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.

In this case, the database file should be created relative to the current
working directory (see the docs), not relative to the user.dir. This always
was the case for H2 (even in older versions). However, there is an
exception if you use the system property h2.baseDir, in this case it is
created relative to this directory. But in any case the connection returned
by DriverManager is not null; either it works or it throws an exception
(for me).

Regards,
Thomas

-- 
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.

Reply via email to