There are no error messages at all: the connection returned from the
DriverManager is null.
Yes, I use a relative path. This works perfectly under version 166 and
before: if the folder does not exist, it is created by H2 engine, otherwise
it's used.
None of this happens with versions 168 and 169: no folder creation, no
database creation. Even if the folder and database exists, it's no
addressed at all.

2012/9/18 Brian <[email protected]>

> Can you provide the error message?  Or was the data just not there?
> I see you're using a relative path for the file - so the actual location
> of the file H2 is using would change depending on where (which working
> directory) your program is launched from.
>
> On Sunday, September 9, 2012 12:32:55 PM UTC-7, choces wrote:
>>
>> I've run into a trouble after switching from 166 to 168 version
>>
>> The url I use is as follows: "jdbc:h2:h2/jplaydb"
>>
>> Under 166 I get a connection w/o any trouble, and the database works
>> perfectly.
>> Soon after switching to either 168, or to the recent 169, w/o any changes
>> in my codebase, I don't get a connection anymore.
>>
>> I've tried to use "jdbc:h2:file:h2/jplaydb" just in case, with no luck.
>>
>> I'm running it under JavaSE 1.7u7 either case.
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/h2-database/-/e8e05JjMoxIJ.
> 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.
>



-- 
Carlos Hoces
jPlay project <http://www.javaforge.com/project/jplay>

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