[jboss-user] [JBoss Seam] - Re: cant figure out why my transaction is null

msystems do-not-reply at jboss.com
Sat Feb 9 06:52:55 EST 2008


anonymous wrote : 
  | as to your first question about hibernate.transaction_manager_lookup_class... I dont know! where is this xml configuration set? 

In the persistence.xml:


  | <persistence xmlns="http://java.sun.com/xml/ns/persistence" 
  |              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |              xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" 
  |              version="1.0">
  |              
  |    <persistence-unit name="WillsSeamProject">
  |      <provider>org.hibernate.ejb.HibernatePersistence</provider>
  |       <jta-data-source>WillsSeamProjectDatasource</jta-data-source>
  |       <properties>
  |          <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
  |          <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect"/>
  |          <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
  |          <property name="hibernate.show_sql" value="true"/>
  |          <property name="hibernate.format_sql" value="true"/>
  | 
  |          <property name="jboss.entity.manager.factory.jndi.name" value="java:/WillsSeamProjectEntityManagerFactory"/>
  | 
  |       </properties>
  |    </persistence-unit>
  | 

components.xml looks fine.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128067#4128067

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128067



More information about the jboss-user mailing list