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.
I guess this is already happening with the Query objects, kinda. What I had in mind was closer integration (not that what's already there sucks at all!).