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
Eclipse provides this function for some time now (origination from Dali, included since Kepler version). Just right-click on your JPA project -> JPA Tools -> Generate Entities from Tables: