I reverse engineered and generated hibernate pojos and Session EJB dao code. They are packaged in my ear. My persistence.xml is in the MET-INF folder in the ear file.
Here's my 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="integrations"> | <jta-data-source>java:/cdwDB</jta-data-source> | <properties> | <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/> | <property name="hibernate.hbm2ddl.auto" value="create-drop"/> | </properties> | </persistence-unit> | </persistence> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202257#4202257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202257 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user