Hi, Thanks that is exactly what I was looking for. Perhaps I should have tried that before I asked my question.
That being said, is this fact mentioned in the docs on the H2 site (I did not see it). If it is not mentioned I think it would be good to add a section about this. This embedded server w/ local connections is a great feature that is helpful when deciding how to use H2. Best, -Adam On Monday, June 4, 2018 at 3:28:31 AM UTC-4, Evgenij Ryazanov wrote: > > Hello. > > If you start a H2 Server in your application with > Server.createTcpServer(optional_parameters).start(); > you can connect to database from the same process using local URLs and > remotely with remote URLs. > > If you don't care which application will use the database directly and all > of them have access to database file (because all processes are launched on > the same computer or database is located on network filesystem) you can use > an automatic mixed mode instead: > http://www.h2database.com/html/features.html#auto_mixed_mode > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
