This content has been marked as final.
Show 3 replies
-
1. Re: Seam, EntityManager and Criteria
pmuir Nov 8, 2006 2:11 PM (in response to ccanning)Yes. Just get the Hibernate Session from the EntityManager.
.... @In(create=true) EntityManager em; ... public void find() { Session s = (Session) smsDatabase.getDelegate(); ... } ... }
-
2. Re: Seam, EntityManager and Criteria
pmuir Nov 8, 2006 2:14 PM (in response to ccanning)Sorry, I didn't proof that well.
... @In(create=true) EntityManager em; ... public void find() { Session s = (Session) em.getDelegate(); ... } ...
-
3. Re: Seam, EntityManager and Criteria
ccanning Nov 8, 2006 3:06 PM (in response to ccanning)Thanks, that will really help.