SERVER_AUTO or SERVER=AUTO

You add that option to jdbc url and the first client connecting starts the
server. Obviously h2.jar should be in class path for all clients

On Fri, Jul 13, 2012 at 6:48 AM, Mike Power <[email protected]>wrote:

> Is it possible to automatically start a tcp server when connecting to a
> jdbc url?
>
> Imagining something like server jdbc url:
> jdbc:h2:tcp://:8084/~/sample
>
> Then any clients would connect to
> jdbc:h2:tcp://debserv:8084/~/**sample
>
> I cannot find any documentation that suggest this is possible.  So I guess
> 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 h2-database+unsubscribe@**
> googlegroups.com <h2-database%[email protected]>.
> For more options, visit this group at http://groups.google.com/**
> group/h2-database?hl=en <http://groups.google.com/group/h2-database?hl=en>
> .
>
>


-- 
   Vasile Rotaru

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