Hi,
OK, I didn't think that would be the problem. I will add this to the
documentation "For Windows, an absolute path also needs to include the
drive ("C:/...").".
Regards,
Thomas
On Friday, June 27, 2014, Matthew Lohbihler <[email protected]>
wrote:
> Windows. And yes, that solves the problem. Thanks Noel.
>
>
> On Wednesday, 25 June 2014 02:58:11 UTC-4, Noel Grandin wrote:
>>
>>
>>
>> On 2014-06-24 11:31 PM, Matthew Lohbihler wrote:
>> > Same code using versoin 1.4.179 appears to result in the same stack
>> trace.
>> >
>> > Exception in thread "main" org.h2.jdbc.JdbcSQLException: A file path
>> that is implicitly relative to the current working
>> > directory is not allowed in the database URL
>> > "jdbc:h2:/Users/Matthew/git/ma-core-public/Core/target/
>> test/h2/ma;DB_CLOSE_ON_EXIT=FALSE". Use an absolute path, ~/name,
>> > ./name, or the baseDir setting instead. [90011-179]
>>
>> Is this a windows box or a Linux box?
>> Because if it's a windows box, then that is not an absolute location.
>> You'd need to use something like:
>>
>> jdbc:h2:C:/Users/Matthew/git/ma-core-public/Core/target/
>> test/h2/ma;DB_CLOSE_ON_EXIT=FALSE
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <javascript:_e(%7B%7D,'cvml','h2-database%[email protected]');>
> .
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> Visit this group at http://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.