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)
posted 5 years ago
Please post more code.. This doesn't show us enough to help you.