Hmm... This doesn't seem to be working the way I hoped it would.  Let me 
explain in a bit more detail.

I would really rather not tie the SLSB DAOs to Seam so that they are as 
reusable between projects as possible, therefore they are using the plain 
vanilla @PersistenceContext annotation.  When I invoke a DAO from a SFSB which 
contains a Seam managed EntityManager the persistence context does not seem to 
propagate as evidenced by the LazyInitializationException that I'm getting in 
the subsequent JSF page.

Since my stateful beans are almost always project specific I have no problem 
with using Seam enhancements within them.  The DAOs are a different story 
though.  Is there any way to mix and match the two types of persistence?

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

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


-------------------------------------------------------
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