This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
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

'home' is being appended on the DAO class using hibernate tools?

 
Winston Liek
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, I installed hibernate tool to autogenerate POJO class based on database tables. I followed this link for tutorial: http://www.mkyong.com/hibernate/how-to-generate-code-with-hibernate-tools/

However, after pojo classes are generated on my desired folder, The java class has no package name and much worse is that 'home' is appended on the end of class name. For example, I have 'User' table in the database. It generates UserHome.java which is really wrong.

Can someone please help me?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic