[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Unable to connect Hibernate thru JNDI (javax.naming.Name
megha_likhar
do-not-reply at jboss.com
Sat Jan 12 07:20:05 EST 2008
Hi,
I m using jboss-service.xml
I m getting session factory from
m_sessionFactory = (SessionFactory) initContext.lookup("java:/hibernateDefault");
This works fine for jboss4.0
but sessionFactory is always null for jboss4.0.4
Any idea?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119320#4119320
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119320
More information about the jboss-user
mailing list