This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java synchronized- Account Update

 
pradeep gamage
Ranch Hand
Posts: 85
Eclipse IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Lanny Gilbert
Ranch Hand
Posts: 104
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post more code.. This doesn't show us enough to help you.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic