Then you need to generate some name for it and pass this name to all connections. Use some counter, for example.
Don't forget about lifecycle of your in-memory databases. By default, they are removed when all connections to the specific database were closed. But when you're using DB_CLOSE_DELEAY=-1, they aren't removed and this may create a memory leak. If you use this parameter, you need to delete them with SHUTDOWN command. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/d60b14f9-2ad1-40a9-b8a7-85209ca8b607%40googlegroups.com.
