db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: Change semantics of Criteria.add() and Criteria.or()
Date Mon, 12 Dec 2011 13:28:19 GMT
Am 11.12.2011 20:01, schrieb Thomas Fox:
> I propose to change the behaviour of the  Criteria.add() and Criteria.or()
> methods to the intuitive behaviour stated above in Torque 4. (I have seen
> to many bugs at $work resulting from the counter-intuitive behaviour).
> Any objections ?

I wholeheartedly agree to your proposal. However this will break 
existing code. The old code would compile but do soemthing different. Do 
we have a warning sign big enough to show it to everybody? Or is there 
some way to create a method signature that leads to a compile error then?

Bye, Thomas.


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message