tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From willie <wmapu...@gmail.com>
Subject Re: Connection pooling
Date Thu, 10 Feb 2011 08:02:21 GMT

The connector gets its DB connections from openejb. The JDBC connections are
defined in openejb.xml.
The connector defination is as follows:
<connector>
    <display-name>DataNucleus Connector</display-name>
    <description></description>
    <vendor-name>DataNucleus Team</vendor-name>
    <spec-version>1.0</spec-version>
    <eis-type>JDO Adaptor</eis-type>
    <version>1.0</version>
    <resourceadapter>
       
<managedconnectionfactory-class>org.datanucleus.jdo.connector.ManagedConnectionFactoryImpl</managedconnectionfactory-class>
       
<connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
       
<connectionfactory-impl-class>org.datanucleus.jdo.connector.PersistenceManagerFactoryImpl</connectionfactory-impl-class>
       
<connection-interface>javax.resource.cci.Connection</connection-interface>
       
<connection-impl-class>org.datanucleus.jdo.connector.PersistenceManagerImpl</connection-impl-class>
        <transaction-support>LocalTransaction</transaction-support>
        <config-property>
          <config-property-name>ConnectionFactoryName</config-property-name>
          <config-property-type>java.lang.String</config-property-type>
          <config-property-value>jdbc/ds</config-property-value>
        </config-property>
        <authentication-mechanism>
         
<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
         
<credential-interface>javax.resource.security.PasswordCredential</credential-interface>
        </authentication-mechanism>
        <reauthentication-support>false</reauthentication-support>
    </resourceadapter>
</connector>

The jdbc connection "jdbc/ds", above is provided by openejb through JDNI. 
-- 
View this message in context: http://openejb.979440.n4.nabble.com/Connection-pooling-tp3297550p3298708.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message