Hi, Here is an example URL: 1. jdbc:h2:tcp://localhost/mem:test;DB_CLOSE_DELAY=-1 where: tcp == server mode (receives connections on tcp) mem:test == start the database "test" in memory mode db_close_delay == you will need this, to have persistent users for your db
2. For connection pooling: org.h2.jdbcx.JdbcDataSource for datasource and connectionAttributes = ;DB_CLOSE_DELAY=-1 Csaba 2015. október 13., kedd 8:05:48 UTC+2 időpontban Deepak Yadav a következőt írta: > > I need to connect with H2 In Memory database > > 1.What will be the Example Url for the driver > 2.what will be the url for the Aliases > -- 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 http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
