Hey guys,

The h2 documentation is somewhat blurry on the possibility of
accessing in-memory database from another JVM.
I've tried to follow the guideline from the manual, but practically
couldn't make it work.

====  features.html
Sometimes multiple connections to the same in-memory database are
required. In this case, the database URL must include a name. Example:
jdbc:h2:mem:db1. Accessing the same database in this way only works
within the same virtual machine and class loader environment.

In-memory can be accessed remotely (or from multiple processes in the
same machine) using TCP/IP or SSL/TLS. An example database URL is:
jdbc:h2:tcp://localhost/mem:db1.
====

The description above clearly says that named in-memory databases work
only within the same JVM. The next paragraph gives instructions how to
connect to them through TCP.

Is such access possible or not? :)

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