db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: Question: Torque NULL handling on insert, update
Date Tue, 30 Oct 2007 16:51:18 GMT
brycenesbitt wrote:
>    selectCriteria.add(CcsCouponPeer.RESERVATION_ID, (Object)"RESERVATION_ID
> is NULL", Criteria.CUSTOM);

I'd suggest

    selectCriteria.add(CcsCouponPeer.RESERVATION_ID, (Object)null,
	Criteria.IS_NULL);

here.

Bye, Thomas.

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


Mime
View raw message