Here it goes: components.xml:
| <?xml version="1.0" encoding="UTF-8"?> | <components xmlns="http://jboss.com/products/seam/components" | xmlns:core="http://jboss.com/products/seam/core" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation= | "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd | http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd"> | | <core:init debug="true" jndi-pattern="@jndiPattern@"/> | | <core:manager concurrent-request-timeout="500" | conversation-timeout="120000" | conversation-id-parameter="cid" | conversation-is-long-running-parameter="clr"/> | | <core:pages no-conversation-view-id="/home.xhtml"/> | | <core:managed-persistence-context name="entityManager" | persistence-unit-jndi-name="java:/youdoEntityManagerFactory"/> | | <core:ejb installed="@embeddedEjb@"/> | </components> | persistence.xml: | <?xml version="1.0" encoding="UTF-8"?> | <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="youdo"> | <provider>org.hibernate.ejb.HibernatePersistence</provider> | <jta-data-source>java:/youdoDatasource</jta-data-source> | <properties> | <property name="hibernate.hbm2ddl.auto" value="update"/> | <property name="hibernate.cache.use_query_cache" value="true"/> | <property name="hibernate.show_sql" value="false"/> | <property name="jboss.entity.manager.factory.jndi.name" value="java:/youdoEntityManagerFactory"/> | </properties> | </persistence-unit> | | </persistence> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008054#4008054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008054 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
