1 Reply Latest reply on Nov 4, 2001 10:27 AM by Eric Devlin

    JBoss 2.4.x: WHERE clause with IN operator

    Lars Jenner Newbie

      Is there a way to make JBoss 2.4.x (i.e. JAWS for CMP 1.1)
      understand the IN operator in a finders WHERE clause?

      E.g. I'd like to define a finder like


      findByPreferredFlavors
      flavor IN ({0})


      where flavor is a java.lang.String cmp field and
      parameter {0} is a java.lang.String[] containing
      preferred flavors.

      Thanks,
      Elljay