Re: [qi4j-dev] Refactoring Query API

2009-07-02 Thread Niclas Hedhman
On Fri, Jul 3, 2009 at 1:15 PM, Rickard Öberg wrote: > I would suggest refactoring so that: > * QueryBuilderFactory comes from Modules just like the other services > * QueryBuilder.newQuery() is changed to QueryBuilder.newQuery(UnitOfWork), > which would then mirror the already existing QueryBuild

[qi4j-dev] Refactoring Query API

2009-07-02 Thread Rickard Öberg
Hey, Currently in the Query API the QueryBuilder comes from a QueryBuilderFactory that comes from a UnitOfWork. This unfortunately makes it impossible to create QueryBuilders during initialization and then reuse them with variables during execution. I would suggest refactoring so that: * Que