-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: more easy way to retrieve and update in a transaction
PostPosted: Mon Mar 07, 2005 7:44 am 
Newbie

Joined: Mon Mar 07, 2005 7:33 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.