Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

hibernate 4+ hibernateUtil  RSS feed

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
Maybe he went home and went to bed. And took this tiny ad with him:
Rocket Oven Kickstarter - from the trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!