cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: RelationshipQuery
Date Mon, 26 Apr 2010 08:43:32 GMT
You are. A regular SelectQuery should work. You can use relationship  
path to qualify on FK. E.g.

int id = ..;
ExpressionFactory.matchExp("artist", id);

Andrus


On Apr 26, 2010, at 2:32 PM, Joe Baldwin wrote:

> I asked this question previously but did not see a reply.
>
>
> I am trying to create a very fast custom fetch that is essentially a  
> qualified relationship.  My relationships are based on an integer  
> "oid" field.
>
> Can I use the RelationshipQuery and qualify it? Or am I on the wrong  
> track?

Mime
View raw message