best code gen tool for JPA/hibernate

mmingfeilam used Ask the Experts™
can someone recommend a good code gen tool for JPA/hibernate?  preferably this tool should handle relations such as many-to-many.  thanks.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
hbm2java - have you tried this?


i have look at some of the online documentation on it, it appears to use a hibernate mapping file.  can you simply use a Oracle DB's schema?  thanks.
I don't think so , and I don't think there is a straight way for that . Possibly you will have to  generate  class diagrams from Oracle Db's schema and then use some tool for generating code from class diagrams

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial