try to modify the persistence.xml to add the definition of the customer: | <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"/> | </properties> | </persistence-unit> | </persistence> |
The first test is now ok. (not the second one) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948283#3948283 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948283 ------------------------------------------------------- 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
