Which version of EJB do you use? For EJB3, you can get the EntityManager 
injected. For earlier versions, you can lookup the SessionFactory object and 
then get the Session from the session factory. More details can be found in the 
Hibernate Reference at 
http://www.hibernate.org/hib_docs/reference/en/html/index.html especially 
Chapter 3

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

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

Reply via email to