1 Reply Latest reply on May 17, 2009 8:58 PM by hucheng.chris.mandarinstudent.googlemail.com

    Mixing @In with @PersistenceContext

    janulrich79

      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