Hi, Are you using a connection pool? If you are concerned with physical connection to the database being opened and closed repeatedly, then configuring a connection pool will help. OpenJPA does not include any out-of-the-box connection pool but configuring one with a common JDBC driver is straightforward (see FAQ[1]).
[1] http://openjpa.apache.org/faq.html -- View this message in context: http://n2.nabble.com/Does-ConnectionRetainMode-do-anything--tp471015p472295.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
