Hi All,
I am trying to tie down my last area of testing and configuration. When Hibernate is setup under a SAR as in 66.html. It is using my default datasouce for MySql.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>
<!-- Generated file - Do not edit! -->
<server>
<mbean code="net.sf.hibernate.jmx.HibernateService" name="jboss.jca:service=Hibernate">
<depends>jboss.jca:service=RARDeployer</depends>
<attribute name="MapResources">omni/user/UserBean.hbm.xml,omni/user/AddressBean.hbm.xml,omni/user/ProfileBean.hbm.xml</attribute>
<attribute name="JndiName">HibernateFactory</attribute>
<attribute name="Datasource">MySqlDS</attribute>
<attribute name="Dialect">net.sf.hibernate.dialect.MySQLDialect</attribute>
<attribute name="UseOuterJoin">true</attribute>
<attribute name="ShowSql">false</attribute>
<attribute name="UserTransactionName">UserTransaction</attribute>
<attribute name="TransactionStrategy">net.sf.hibernate.transaction.JTATransactionFactory</attribute>
<attribute name="TransactionManagerLookupStrategy">net.sf.hibernate.transaction.JBossTransactionManagerLookup</attribute>
</mbean>
</server>
My question-
Is hibernate using the c3p0 connection pool or the jboss connection pool by default? I am trying to find where this is set and the docs are clear where this is at. Any help would great!
jason