Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tool for creating Hibernate POJOS from database tables?

 
James Adams
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a database table (in an Oracle database) and I would like to create a Java class to be used by Hibernate to map objects to rows in this table. What's the best way to go about this? Also I would like to have the mapping information included in the Java file as annotations rather than having a separate *.hbm.xml file. Is there is a good Eclipse plugin for this, or an open source tool?

Thanks in advance for any ideas!


--James
 
Scott Johnson
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you seen the Hibernate Tools for Eclipse?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic