I have no doubt that you are the man Gavin :)  However is a seam managed entity 
manager considered an extended persistence context?  What I've done to my code 
is to change:

@PersistenceContext(type=EXTENDED)
EntityManager entityManager;

to:

@In(create=true)
EntityManager entityManager;

along with the other relevant configuration for Seam managed persistence and 
now the persistence context does not appear to be propagating to the SLSBs.  If 
it was I don't see how I could get the LazyInitializationException.

I have little doubt that I am either doing something wrong or not understanding 
something correctly, but I'm a bit stumped at the moment as to where I've gone 
wrong.

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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to