1 Reply Latest reply on May 17, 2009 8:58 PM by Chris Hall

    Mixing @In with @PersistenceContext

    Jan Ulrich Newbie

      Hi.


      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?


      Thanks,
      Jan