Hi, Of course you could just use the server mode.
> I believe there is a new connection mode that will create and manage > the server for you. But I'm not sure how to do that. So I second your > question: How do we allow multiple connections to embedded database? Yes there is a new (experimental) mode that automatically starts a server when opening the database. To use it, append ;AUTO_SERVER=TRUE to the database URL. You need H2 version 1.1.100 for this feature. Example: jdbc:h2:/data/dbs/test;AUTO_SERVER=TRUE The first connection will open the database in embedded mode and will start a server. Later connections will automatically use the server mode. If the first connection is closed the later connections should re-connect automatically. You could try out if that works for you. As I said it's a new feature, please tell me if there are some problems with that. 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 -~----------~----~----~----~------~----~------~--~---
