[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: hibernate SessionFactory lookup return null
goodidea
do-not-reply at jboss.com
Thu Jan 10 13:18:08 EST 2008
One very important addition.
On serverside
InitialContext 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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118785#4118785
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118785
More information about the jboss-user
mailing list