openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georgi Naplatanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-921) don't close connections with DBCP
Date Sun, 15 Feb 2009 14:47:00 GMT
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.


Mime
View raw message