How can I generate JPA2 compliant @Entity from existing Databases?.
I found this: Question
Still its not clear if JBoss will generate compliant JPA2 and also
Telosys is probably the simplest way for this kind of code generation.
It generates the JPA entities (of course) and if you want a fully operational web app
See the web site : http://www.telosys.org