• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question about persistent.xml

 
agnes sun
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.
Thanks
-A
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic