cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Using "relationship != null" qualifier with ObjEntity Inheritance
Date Wed, 06 Aug 2008 15:59:00 GMT
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
>


Mime
View raw message