Hi,

In my application, it create databases for users on demand and each
user can have multiple databases.

eg:
  jdbc:h2:mem:<username>/<databaseName>

After understanding the behaviour of H2 Database, there's no reason,
why I can't implement it as jdbc:h2:mem:<username>-<databaseName>

Thanks for your help.

Anthony

On May 13, 5:32 am, Thomas Mueller <[email protected]>
wrote:
> Hi,
>
> I understand. Unfortunately, there is currently no way to get the unique
> name from the database, except if you use unique database names such as:
>
> jdbc:h2:mem:abc -> catalog name=abc
> jdbc:h2:mem:xyz -> catalog name=xyz
>
> Is there a reason why you need to use mem:abc/test instead of mem:abc or
> mem:abcTest?
>
> Regards,
> Thomas

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