Re: SQLTemplate and setPageSize()

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Aug 06 2008 - 11:29:29 EDT

  • Next message: Andrus Adamchik: "Re: Using "relationship != null" qualifier with ObjEntity Inheritance"

    On Aug 6, 2008, at 11:26 AM, Andrus Adamchik wrote:

    > Not quite sure why the root is null.

    Actually I have a few suspicions why this is happenning, and this may
    be a bug. Care to log a bug report in Jira?

        https://issues.apache.org/cayenne/

    In the meantime you can use a workaround:

        localQuery.setRoot("MyEntity");

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed Aug 06 2008 - 11:30:00 EDT