Hi,
Following is my environment....
Win2K + Oracle 8i + Tomcat4 + Struts + Hibernate 2.0
I need to retrieve multiple records from a table and modify several columns each record, and then update them against original table in a transaction.
note that, search key is not the primary key when i retrieve the multiple records.
I've learned how to pick records using iterator and i might utilize same way for this case, but I believe there must be more easy way to do that, again, in a transaction. since when i use iterator, i should pick each value and pack them into each class until the interator is empty.
sorry but my ignorance....
Please give me any advice...
Keishichi
|