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

From: Mike Kienenberger (mkienen..laska.net)
Date: Mon Oct 06 2003 - 15:36:01 EDT

  • Next message: Andrus Adamchik: "Re: NullPointerException in QueryUtils$ExpressionTranslator.reverseDbPath(ObjEntity, String)"

    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.

    [queryUtils.diff]



    This archive was generated by hypermail 2.0.0 : Mon Oct 06 2003 - 15:35:37 EDT