In case you are using EJB3/Hibernate with jboss, this means that you have not 
explicit specified to bind the EntityManagerFactory (aka SessionFactory) to  
JNDI. So you cannot look up for the SessionFactory in JNDI.

To register the SessionFactory in JNDI you have to specify it in 
persistence.xml via following entry:

<property name="hibernate.session_factory_name" 
value="java:hibernate/SessionFactory" />
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027436#4027436

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027436
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to