I am getting same exception...I am not able to enable the
use hibernate.cglib.use_reflection_optimizer as we are using mbeans in jboss as given below. How to use this hibernate property in jboss? I tried using ReflectionOptimizationEnabled as per jboss admin guide. But it says attribute not found. I am using jboss 3.0
<server>
<mbean code="net.sf.hibernate.jmx.HibernateService"
name="jboss.jca:service=TAPHibernateFactory,
name=TAPHibernateFactory">
<depends>jboss.jca:service=RARDeployer</depends>
<depends>jboss.jca:service=LocalTxCM,name=TeradataDS</depends>
<!-- Make it deploy ONLY after DataSource had been started -->
<attribute name="JndiName">java:/TAP/HibernateFactory/TeradataDS</attribute>
<attribute name="Datasource">java:/TeradataDS</attribute>
<attribute name="Dialect">net.sf.hibernate.dialect.TeradataDialect</attribute>
<attribute name="TransactionStrategy">net.sf.hibernate.transaction.JTATransactionFactory</attribute>
<attribute name="TransactionManagerLookupStrategy">net.sf.hibernate.transaction.JBossTransactionManagerLookup</attribute>
<attribute name="UseOuterJoin">false</attribute>
<attribute name="ShowSql">false</attribute>
<attribute name="UserTransactionName">java:/UserTransaction</attribute>
<attribute name="CacheProvider">net.sf.hibernate.cache.TreeCacheProvider</attribute>
<!-- Mapping files -->
|