Niclas Hedhman wrote:
> 1. I guess SomeEntity.class is needed as input in the method...

I've started doing a test of it, and yes, the result type is needed as 
input too.

> 2. We used to have support for querying Lists before. What happened to
> that? Since if we do, then the above becomes a convenience method to;
> 
>   QueryBuilder<SomeEntity> qb = factory.newQueryBuilder(
> SomeEntity.class, assoc );
>   qb.where( all() );  // maybe even the default
>   Query<SomeEntity> q = qb.newQuery();

Yeah, right now it's:
factory.newQuery(type, iterable);
i.e. skipping the QB entirely, so no need to do all(). Looking pretty 
good, and easy to implement.

/Rickard


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

Reply via email to