• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate and Weblogic

 
Rang sri
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a query regarding how to deploy hibernate in Weblogic. I have been using Hibernate Archives in Jboss(.har file). Could you please tell me how do I package it in Weblogic and how to make a JNDI lookup in Weblogic to get the Session Factory.

Thanks,

Regards,
Rang
 
Joe Ess
Bartender
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate Archive is a Jboss-only feature, so you'll have to package your app like a standard J2EE app (war/ear), configure Hibernate in the standard way (hibernate.cfg.xml) and bind the object yourself via InitalContext.bind() in a startup object.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic