Hi,
In StreamFlow we noticed a need for immutable QueryBuilders, so that
each where() call would create a new builder. Basically, we wanted to
create a base builder with a where()-clause, and then be able to build
upon that base many times.
There would be basically two ways to support it: either make
QueryBuilder clonable or make it immutable. I chose to make it
immutable, which means that what is returned from the
QueryBuilder.where() call is not the builder itself but rather a new
QueryBuilder with the new where() clause added.
I have updated the tests that relied on QB being mutable.
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev