Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Winston Liek
Ranch Hand
Posts: 194
  • 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
Boost this thread!