• Post Reply Bookmark Topic Watch Topic
  • New Topic

question about persistent.xml

agnes sun
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a newbie to hibernate. I would like to know if package hibernate in EAR does it always get loaded first? If so, any ways to make it load later? Is it possible to load it manually during runtime?
In my current setup I want to load certain config before hibernate establish connection to my DB. however, it seems persistent.xml always get loaded first. just want to know what can be done to load it later.
My application is packaged in EAR and persistent.xml is in the .EAR/lib/application.jar/META-INF.
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!