1 Reply Latest reply on Apr 22, 2009 9:43 PM by cbredesen

    Integrating PersistenceContext with a Seam context

    cbredesen

      A seemingly crazy idea just hit me as I was writing one of many DAO style Seam actions that require HQL with parameters:


      What if Seam could inject contextual variables into the Persistence Context / Session?  Or conversely, what if I could use EL in HQL?


      Does this idea have any merit at all?  Admittedly, I haven't thought this through much, so it is entirely possible that I need to stop writing code immediately and go have a cocktail.


      -Chris