• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate 4+ hibernateUtil

 
Andrew Cane
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having trouble writing the code for HibernateUtil class, especially in the addition of mapping files into the cfg object. is there anyway to automatically scan the package for entities?
but I need to do this without spring, because there's a possibility that the next vendor won;t be using spring. thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic