Re: Using "relationship != null" qualifier with ObjEntity Inheritance

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

  • Next message: Chris Gamache: "Re: Cayenne 3.0M4 ignoring extended data types"

    Could you post a bigger part of the stack trace (at least everything
    that has org.apache.cayenne in it)?

     From what I can see, this is related to in-memory evaluation of the
    qualifier. If that's a to-one relationship based on FK, intuitively
    this should work, but it probably hits a limitation on in-memory
    evaluation.

    Andrus

    On Aug 5, 2008, at 5:23 PM, Dave Dombrosky wrote:

    > I am currently trying to use ObjEntity Inheritance in my project, but
    > I am running into some difficulties. I was hoping that I could use
    > "someRelationship != null" as the qualifier, but I get the following
    > error when trying to run the code:
    >
    > org.apache.cayenne.exp.ExpressionException: [v.3.0-SNAPSHOT Aug 01
    > 2008 19:55:10] Error evaluating expression 'db:some_relationship !=
    > null'
    >
    > Am I doing something wrong here, or did I find a bug?
    >
    > -Dave
    >



    This archive was generated by hypermail 2.0.0 : Wed Aug 06 2008 - 11:59:32 EDT