[jboss-user] [JBoss Seam] - Re: TransactionException: Could not register synchronization

sjmenden do-not-reply at jboss.com
Wed Aug 30 10:11:38 EDT 2006


For reference: 

persistence.xml

  | <persistence>
  |    <persistence-unit name="entityManager">
  |       <provider>org.hibernate.ejb.HibernatePersistence</provider>
  |       <jta-data-source>java:/DefaultDS</jta-data-source>
  |       <properties>
  |          <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
  |          <property name="hibernate.show_sql"     value="true"/>
  | 				 <property name="hibernate.format_sql"   value="true" />
  | 				 <!--<property name="hibernate.jdbc.batch_size" value="0" />-->
  |          <property name="jboss.entity.manager.factory.jndi.name" value="java:/issuesEntityManagerFactory"/>
  |       </properties>
  |    </persistence-unit>
  | </persistence>
  | 

components.xml

  | <components>
  | 
  |     <component name="org.jboss.seam.core.init">
  |         <property name="myFacesLifecycleBug">@myFacesLifecycleBug@</property>
  |         <property name="jndiPattern">@jndiPattern@</property>
  |     </component>
  |     
  |     <component name="org.jboss.seam.core.manager">
  |         <property name="conversationTimeout">120000</property>
  |     </component>
  |     
  |     <component name="entityManager" class="org.jboss.seam.core.ManagedPersistenceContext">
  |         <property name="persistenceUnitJndiName">java:/issuesEntityManagerFactory</property>
  |     </component>
  | 
  |     <component class="org.jboss.seam.core.Ejb" 
  |            installed="@embeddedEjb@"/>
  | 
  | </components>
  | 

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

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



More information about the jboss-user mailing list