db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh Sabeti" ...@reazon.com>
Subject RE: How to update multiple rows
Date Tue, 11 Nov 2003 21:14:50 GMT
Seems to work perfectly.  Thanks.

> -----Original Message-----
> From: Amit Rana [mailto:rana@solis.jp]
> Sent: Monday, November 10, 2003 10:18 PM
> To: 'Apache Torque Users List'
> Subject: RE: How to update multiple rows
> 
> Peer classes have doUpdate methods check the javadocs for more
details.
> One of the methods takes two Criteria objects as input, one is used
for
> where and another for setting values.
> 
> HTH.
> 
> Amit.
> 
> > -----Original Message-----
> > From: Ramesh Sabeti [mailto:rs@reazon.com]
> > Sent: Tuesday, November 11, 2003 1:51 PM
> > To: 'Apache Torque Users List'
> > Subject: How to update multiple rows
> >
> > I have a very simple question: How do you do something like this
with
> > Torque?
> >
> > 	Update book set book_price = 0 where book_id < 100
> >
> > Wish there were more online resources.
> >
> > Thanks,
> >
> > Ramesh.
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> > For additional commands, e-mail: torque-user-help@db.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org



---------------------------------------------------------------------
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