0 Replies Latest reply on Apr 24, 2003 2:00 PM by sal ingrilli

    Parent.getChildren (...)

    sal ingrilli Newbie

      Schema:
      PARENT
      ID

      CHILD
      ID
      PARENT_ID
      CREATE_DATE

      I map the relationship for parent-child & I get this:
      Parent.getChildList (): this returns a list of Child local homes
      Child.getParent (): this returns a Parent local home

      This is great for getAll scenarios, but what should I do if I want to get all children in a date range as in the following?

      Parent.getChildList (
      java.sql.Timestamp createDateFrom,
      java.sql.Timestamp createDateTo);