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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.