[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss 4.2.0, hibernate annotations being picked up
pixel
do-not-reply at jboss.com
Tue Sep 16 04:39:12 EDT 2008
Arres, if you're trying to use the EJB3 style annotations you need to sue a jar with a persistence.xml file. I'm not sure how you go about using annotations in JBoss without using a persistence.xml
I find it much easier to use EJB3 instead of hibernate, the session management works much better. Have a look at this tutorial: http://www.laliluna.de/ejb-3-tutorial-jboss.html
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176706#4176706
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176706
More information about the jboss-user
mailing list