Sorry, forgot to post persistence.xml file seamgen produced, related to above issues: <!-- Persistence deployment descriptor for dev profile --> | <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="infosys"> | <provider>org.hibernate.ejb.HibernatePersistence</provider> | <jta-data-source>java:/infosysDatasource</jta-data-source> | <properties> | <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/> | <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:/infosysEntityManagerFactory"/> | </properties> | </persistence-unit> | | </persistence>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097652#4097652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097652 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
