[jboss-user] [JBoss Seam] - Mixing Hibernate & EJB3

MSchmidke do-not-reply at jboss.com
Thu Jul 27 08:18:51 EDT 2006


Hello,

I would like to directly access the Hibernate behind JBoss' EJB3 implementation. Usually, this is no problem since I can inject from a PersistenceContext into a Hibernate Session Object:

  | @PersistenceContext(unitName = "LeistungserfassungEntityManager")
  | protected Session leDB;
  | 

Now I want to migrate to Seam-managed Hibernate Session (inside EJB3!), but I don't understand how to adapt chapters 9.4.2 / 9.5.2 to get this running.

Is this possible? Can someone give me an example of how to configure it?

Regards,

Marcus.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961265



More information about the jboss-user mailing list