• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to generate Domain Objects using JPA

 
Chandrasekhar Elindram
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used Hibernate earlier and I use to generate the Domain objects using Hibernate Tools or any other such plug-ins.

Now, I'm trying to learn JPA and I made a sample domain object to represent database table and performed CRUD operations on it from DAO class.
However, I would like to know if there is any plug-in or tool which automates the task of generating Domain objects/Object model given the Database schema?


Best regards,
Chandrasekhar.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the exact same Hibernate tools, but telling it to just use JPA classes and Annotations.

I am sure there are others too.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic