Hi,

For me, it's somedir.mv.db. I guess the problem is that the database tries
to convert "~/test" to a canonical form first (which results in somedir),
and only then appends ".mv.db".

It's a strange behavior, but I guess it's also a strange setup. Patches are
welcome!

Regards,
Thomas


On Wed, Dec 17, 2014 at 10:08 PM, Ivan Borisov <[email protected]> wrote:
>
> Hello.
> Today I've faced with confusing behavior of H2 1.4.183 regarding of
> symlink to a directory.
> Here is my setup:
> 1) JDBC URL: jdbc:h2:~/test
> 2) I have a symlink ~/test pointing to ~/somedir.
> I've expected that the DB file will be at ~/test.mv.db as FAQ says "When
> using database URLs like jdbc:h2:~/test, the database is stored in the
> user directory", but it appeared at ~/somedir/test.mv.db. Well, OK, this
> is the rare case, but what's more surprising is that the lock file path is
> ~/test.mv.lock
>
>  --
> 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.
>

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

Reply via email to