I have the following test:

        QueryBuilder<Person> qb = qbf.newQueryBuilder( Person.class );
        Male male = templateFor( Male.class );
        qb.where(
            isNull( male.wife() )
        );
        Query<Person> query = qb.newQuery( Network.persons() );

where Male is a Person and has a wife association.

The question is: what should happen while executing the query
regarding the fact that the where clause is expressed against an
association that does not exist on all Persons, only on Males.
The RDF indexing behavior is that in the case above all the Persons
that are not Male are considered to match the where clause and for
Males only those that do not have a wife association set.



On Mon, Aug 25, 2008 at 9:25 PM, Alin Dreghiciu <[EMAIL PROTECTED]> wrote:
> FYI, I'm working on it.
>
> On Mon, Aug 25, 2008 at 11:31 AM, Niclas Hedhman <[EMAIL PROTECTED]> wrote:
>> On Mon, Aug 25, 2008 at 10:25 AM, Alin Dreghiciu <[EMAIL PROTECTED]> wrote:
>>> I do not recall the support, but I can checkout the revision before
>>> refactoring and look into it.
>>
>> Would be great!
>>
>>
>> Cheers
>> Niclas
>>
>> _______________________________________________
>> qi4j-dev mailing list
>> [email protected]
>> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>>
>
>
>
> --
> Alin Dreghiciu
> http://www.ops4j.org - New Energy for OSS Communities - Open
> Participation Software.
> http://www.qi4j.org - New Energy for Java - Domain Driven Development.
> http://malaysia.jayway.net - New Energy for Projects - Great People
> working on Great Projects at Great Places
>



-- 
Alin Dreghiciu
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
http://malaysia.jayway.net - New Energy for Projects - Great People
working on Great Projects at Great Places

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to