[jboss-user] [JBoss Seam] - Re: Error with SeamGen

stealth_nsk do-not-reply at jboss.com
Tue Nov 28 01:54:05 EST 2006


All code is autogenerated.

persistence.xml
<persistence>
  | 	<persistence-unit name="seam_test">
  |       <provider>org.hibernate.ejb.HibernatePersistence</provider>
  |       <jta-data-source>java:/seam_testDatasource</jta-data-source>
  |       <properties>
  |          <property name="hibernate.hbm2ddl.auto" value="validate"/>
  |          <property name="hibernate.cache.use_query_cache" value="true"/>
  |          <property name="hibernate.show_sql" value="true"/>
  |          <property name="jboss.entity.manager.factory.jndi.name" value="java:/seam_testEntityManagerFactory"/>
  |       </properties>
  | 	</persistence-unit>
  | </persistence>
  | 

components.xml
<?xml version="1.0" ?>
  | <!DOCTYPE components PUBLIC
  |   "-//JBoss/Seam Component Configuration DTD 1.1//EN"
  |   "http://jboss.com/products/seam/components-1.1.dtd">
  | 
  | <components>
  | 
  |     <component name="org.jboss.seam.core.init">
  |         <property name="debug">true</property>
  |         <property name="jndiPattern">@jndiPattern@</property>
  |     </component>    
  |      
  |     <component name="org.jboss.seam.core.manager">
  |         <!-- half second wait for conversation lock on concurrent requests -->
  |         <property name="concurrentRequestTimeout">500</property>
  |         <!-- 120 second conversation timeout -->
  |         <property name="conversationTimeout">120000</property>
  |         <property name="conversationIdParameter">cid</property>
  |         <property name="conversationIsLongRunningParameter">clr</property>
  |     </component>
  |     
  |     <component name="org.jboss.seam.core.pages">
  |         <property name="noConversationViewId">/home.xhtml</property>
  |     </component>
  |     
  |     <component name="entityManager"
  |             class="org.jboss.seam.core.ManagedPersistenceContext">
  |         <property name="persistenceUnitJndiName">java:/seam_testEntityManagerFactory</property>
  |     </component>
  | 
  |     <component class="org.jboss.seam.core.Ejb" installed="@embeddedEjb@"/>
  |     
  |     <!-- For use with jBPM pageflow or process management -->
  |     <!--  
  |     <component class="org.jboss.seam.core.Jbpm">
  |         <property name="processDefinitions"></property>
  |         <property name="pageflowDefinitions"></property>
  |     </component>
  |   -->
  |       
  | </components>

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

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



More information about the jboss-user mailing list