• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Winston Liek
Ranch Hand
Posts: 177
  • 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?
 
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!