Em Sun, 26 Oct 2008 16:23:46 -0300, James Sherwood <[EMAIL PROTECTED]> escreveu:

Thank you,

Hi, James!

You wouldn't have a link to a demo of the JPA generation.
I use eclipse to generate it and cannot find such a generation type.
The instructions I used were here:
http://www.wikihow.com/Generate-Hibernate-Pojo-Classes-from-DB-Tables

Reading it, I'm now sure you have selected the generation of mappings using XML.

Take a look at this image: http://docs.jboss.org/tools/2.1.0.Beta1/hibernatetools/html/images/plugins/plugins_8.png from the Hibernate Tools documentation here: http://docs.jboss.org/tools/2.1.0.Beta1/hibernatetools/html/plugins.html#d0e890.

Check the "Use Java syntax" and "Generate EJB3 annotations" options to have your mappings done by JPA annotations. ;)

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to