You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Marco Sindoni <ma...@gmail.com> on 2007/06/28 12:26:40 UTC

Best practices for 'update by query' in OJB

Hi to all,

I want to execute and update statement on a table, using ojb
(something like'UPDATE TABLE SET FIELD = 'value'). In
PersistenceBroker no 'updateByQuery' functionality is implemented.

Can anyone point me to a best practice?

I know I can always retrieve all records using getCollectionByQuery
and then update record-by-record using store method, but I think
this's really trivial.

Suggestions or pointers greatly appreciated

Thank you

Bye

Marco

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