Is it a good practice to mix (in one application) a persistence context indirectly (@PersistenceContext in SFSB) with SMPC (@In in a seam bean)?
I've got an application based on SFSB using @PersistenceContext, but in one particular seam bean I need to use FlushMode.MANUAL (so I need to use @In).
I'm afraid of a second level cache and concurrency. Is there anything to be afraid of?
Wondering the same thing myself, taking in the relative merits of both any reason not to use both in the same app. ?