Hello all,
What transaction factory class name will be added in hibernate.cfg.xml file so that it uses the default transaction manager provided by the jboss 5.1 server.
Please help me . I am using hibernate 3.0 and my hibernate.cfg.xml file looks like
<?xml version="1.0" encoding="UTF-8"?>
<hibernate-configuration>
<!-- a SessionFactory instance listed as /jndi/name -->
<session-factory>
<property name="connection.datasource">java:/jdbc/GEMINI_PRIMARY</property>
<property name="show_sql">true</property>
<property name="use_outer_join">true</property>
<property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
<!-- mapping files -->
<mapping resource="com/tfsm/oas/data/control/Account.hbm.xml"/>
<mapping resource="com/tfsm/oas/data/control/AccountModule.hbm.xml"/>
</session-factory>
</hibernate-configuration>
I want to add <property name="transaction.factory_class">? </property> so that all transactions are jta. What is the class name I need to add there.