Best practices for 'update by query' in OJB
"Marco Sindoni" <[email protected]>
| Newsgroups | gmane.comp.jakarta.ojb.user |
|---|---|
| Message-ID | <[email protected]> |
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