Hi, > According to http://h2database.com/html/features.html#multiple_connections > H2 is multithreading-safe. But does this also apply to the Connection > object returned by DriverManager.getConnection("jdbc:h2:etc"), or > should I create separate Connections for each thread in a > multithreaded application? The JDBC spec doesn't require Connection to > be thread-safe, so I'm asking.
An application should normally use one connection per thread. This database synchronizes access to the same connection, but other databases may not do this. 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.
