According to JBoss name, the managed entity manager is not deployed by default. To deploy it you need to specifiy the property jboss.entity.manager.jndi.name
With the following persistentce.xml it should works: <persistence> | <persistence-unit name="custdb"> | <jta-data-source>java:/DefaultDS</jta-data-source> | <class>simple.test.Customer</class> | <properties> | <property name="hibernate.hbm2ddl.auto" value="create-drop"/> | <property name="jboss.entity.manager.jndi.name" value="java:/custdb"/> | </properties> | </persistence-unit> | </persistence> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948300#3948300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948300 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
