Hi,

The AUTO_SERVER mode doesn't work for in-memory databases, sorry. If
all application run within the same process you could just use

jdbc:h2:mem:appdb;DB_CLOSE_DELAY=-1;MODE=Oracle

If not, you would need to start a server manually, or use the
DbStarter servlet (included in H2). The URL is then:

jdbc:h2:tcp://localhost/mem:appdb;DB_CLOSE_DELAY=-1;MODE=Oracle

Regards,
Thomas


On Thu, Feb 5, 2009 at 7:07 AM, [email protected] <[email protected]> wrote:
>
> Hi all,
>
> I want to use the same h2 db-in-mem among some web applications.
> I use URL like:
> jdbc:h2:mem:appdb;AUTO_SERVER=TRUE;AUTO_RECONNECT=TRUE;DB_CLOSE_DELAY=-1;MODE=Oracle
> But it does not work for me.
> Can you show me how to do this?
>
> Thanks,
>
> >
>

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