wood burning stoves 2.0*
The moose likes Java in General and the fly likes  java synchronized- Account Update Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark " java synchronized- Account Update " Watch " java synchronized- Account Update " New topic

java synchronized- Account Update

pradeep gamage
Ranch Hand

Joined: Aug 03, 2009
Posts: 85

in my project i have to update user account. in account table, there is a accountBalance feild. i have to update it asynchronized way. so I have used ExecutorService Java interface.

but some time accountbalance not update correct value. when i remove thread part its work fine. I haven't any idea how i can fix this matter. Please give me Your valuable idea to fix this issue.
Thanks in advance...

Software Engineer(BSC):SCJP 1.5
(Knowledge is power when applied)
Lanny Gilbert
Ranch Hand

Joined: Jun 11, 2002
Posts: 103
Please post more code.. This doesn't show us enough to help you.
I agree. Here's the link: http://aspose.com/file-tools
subject: java synchronized- Account Update
Similar Threads
Cannot create JDBC driver of class '' for connect URL 'null'
Constructor issues with creating a new checking account object.
Very Confused!!
Writing to a file