You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Georgi Naplatanov (JIRA)" <ji...@apache.org> on 2009/02/15 15:47:00 UTC
[jira] Created: (OPENJPA-921) don't close connections with DBCP
don't close connections with DBCP
---------------------------------
Key: OPENJPA-921
URL: https://issues.apache.org/jira/browse/OPENJPA-921
Project: OpenJPA
Issue Type: Bug
Affects Versions: 1.2.0
Environment: 1.2.0, JDK 1.6
Reporter: Georgi Naplatanov
OpenJPA do not close connections when is configured with DBCP on EntityManagerFactory.close() method invocation.
Example of persistence.xml
<property name="openjpa.ConnectionProperties" value="DriverClassName=org.firebirdsql.jdbc.FBDriver,
Url=jdbc:firebirdsql://192.168.0.55/c:/fire/fire.fdb?defaultResultSetHoldable=true,
Username=SYSDBA,
Password=masterkey,
MaxActive=5,
maxIdle=5,
initialSize=5,
defaultAutoCommit=false,
poolPreparedStatements=true"/>
<property name="openjpa.ConnectionDriverName"
value="org.apache.commons.dbcp.BasicDataSource"/>
<property name="openjpa.ConnectionDriverName"
value="org.apache.commons.dbcp.BasicDataSource"/>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.