Loading...

torque-dev@db.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: Criterions which do not reference a column Thomas Vandahl Fri Apr 06 03:00:37 2012

On 04.04.12 18:22, Thomas Fox wrote:
> I do not understand what you want to achieve with this. One can certainly
> generify the Criterion object, but at the end of the day the Criterion gets
> plugged into the and(Criterion), or(Criterion), ...  methods in the
> Criteria (which would be changed to and(Criterion<?, ?>), which does not
> add any compiletime safety.

Not necessarily. Generifying Criterion could help to clean up the
interface quite a bit. I need to look into the code to come up with a
good example. Stay tuned... :-)

Bye, Thomas.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]