• 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
 
What are you doing? You are supposed to be reading this 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!