1 Reply Latest reply on Oct 20, 2009 1:25 PM by Nicklas Karlsson

    Is parameterized EL allowed in EJB-QL HQL??

    Derrick LIN Newbie

      I am wondering if parameterized EL is allowed in EJB-QL/HQL? So I can do something like

      private static final String[] RESTRICTIONS = {
                      "m.userId = #{measurementDataCriteria.getUserId()}",

      Inside the measurementDataCriteria, does it have to contain a property named userId?