0 Replies Latest reply on Sep 30, 2007 7:52 PM by Karol Oslowski

    enum columns in @NamedQuery

    Karol Oslowski Newbie

      Dear All,

      I'm trying to write a simple select namedquery, one of the conditions is that a column representing enum value has to have a certain constant value. Is there any way to do that other then the one describedhttp://java.sun.com/mailers/techtips/enterprise/2006/TechTips_Oct06.html here?

      wouldn't it be nicer to put the value directly into the query then to set it later?

      Kind regards,