How to generate Java object for Hibernate from existing DB? Follow
How to generate Java object for Hibernate from existing DB?
Is there any feature like for EJB3 entities?
(IDEA 7M1)
Message was edited by:
Nikita
Please sign in to leave a comment.
Hello Nikita,
The feature is planned.
At the moment you can use fake JPA facet to generate mappings as far as
Hibernate supports EJB3 annotations & orm.xml's.
Regards,
Gregory Shrago
Nikita wrote:
Use Eclipse + Exadel Studio Pro (both are free now) to generate all ORM stuff, then open them in idea to work: that's what I did.
Is this the "Generate Persistence Mapping" in the module context menu for JPA enabled modules? You've got to have a data source configured to point to the database schema you want to map as well.
--
Tim