Multiple In-Memory Database Instances in same JVM

1,178 views
Skip to first unread message

Ashwin

unread,
Jul 25, 2007, 3:17:51 PM7/25/07
to H2 Database
Hi,
Can a Java Process create more than one pure-memory H2 Database
Instance - i.e more than one Database in the same JVM?

Ashwin.

Thomas Mueller

unread,
Jul 25, 2007, 3:35:29 PM7/25/07
to h2-da...@googlegroups.com
Hi,

Yes, see http://www.h2database.com/html/features.html#database_url
In-Memory (named).
jdbc:h2:mem:test1
jdbc:h2:mem:test2
jdbc:h2:mem:test3

Thomas

Reply all
Reply to author
Forward
0 new messages