| Author |
Is ths Transaction Handling Write or Wrong ?
|
dinesh thalis
Ranch Hand
Joined: Nov 19, 2008
Posts: 39
|
|
I little bit hesitate about Transaction handling in my application. I want to add data to database, before do this following steps should happen
add data to account tableupdate account serial which locate another tableadd data to monthtrm tableupdate monthtrm serial which locate another table
In order to success this step I used container manager transaction below show that code
Add data to account
Add data to monthtrn
Update Account serial
Update Trnserial
Exception Class
Is this way correctly to handle Transaction? If I wrong please give me you're precious advice to improve my program efficiency, please give some comments
|
 |
 |
|
|
subject: Is ths Transaction Handling Write or Wrong ?
|
|
|