Using the context attribute. LZ
On 4 Bře, 12:20, Lukas Zapletal <[email protected]> wrote: > Hello, > > I cannot find any kind of information how to connect to the Server > Mode in a web application. The documentation says "For details on how > to access the database, see the code DbStarter.java" but its no > information there. > > http://www.h2database.com/html/tutorial.html#web_applications > > I can find only this in the source code: > > // To access the database in server mode, use the database > URL: > // jdbc:h2:tcp://localhost/~/test > > But I would like to use embedded mode without TCP. How to get > connections in my web app? From the context? > > 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 -~----------~----~----~----~------~----~------~--~---
