This content has been marked as final.
Show 1 reply
-
1. Re: hibernate SessionFactory lookup return null
goodidea Jan 10, 2008 1:18 PM (in response to goodidea)One very important addition.
On serversideInitialContext ctx=new InitialContext(); Object obj=ctx.lookup("java:/hibernate/SessionFactory");
this code works fine!
Issue on client side when I am trying to use it from my swing application.
So in order to be more precise client side can not use SessionFactory. However rest of jndi Objects are fine.