Re: NullPointerException in QueryUtils$ExpressionTranslator.reverseDbPath(ObjEntity, String)

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Oct 07 2003 - 01:01:36 EDT

  • Next message: Andrus Adamchik: "Re: Modeler doesn't generate/validate reverse relationships from EOModel"

    On Monday, October 6, 2003, at 03:36 PM, Mike Kienenberger wrote:

    > Here's a patch to generate a more meanful error when reverse
    > dbRelationship lookup failure occurs.
    >
    > Here's an example of the message:
    >
    > org.objectstyle.cayenne.CayenneRuntimeException: Unable to find
    > reverse dbRelationship for dbRelationship paymentHistory on Entity
    > PENDING_PAYMENT.

    Patch applied, thanks!

    Andrus



    This archive was generated by hypermail 2.0.0 : Tue Oct 07 2003 - 01:01:28 EDT