how to create this Expression

From: Tore Halset (halse..vv.ntnu.no)
Date: Tue May 11 2004 - 08:58:47 EDT

  • Next message: Hill, Michael S CONT: "Object hierarchy on a single link table."

    Hello!

    I have two enities A, and B with a flattened many to many relationship.
    I want to query for all A's that has at least one related B.

    Something like this:
    Expression qual = Expression.fromString("not bArray.empty");
    new SelectQuery(A.class, qual);

    Is it possible? How?

    Regards,
      - Tore.



    This archive was generated by hypermail 2.0.0 : Tue May 11 2004 - 08:58:52 EDT