[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: getting a handle on Session

jaikiran do-not-reply at jboss.com
Wed Jan 9 08:44:16 EST 2008

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

More information about the jboss-user mailing list