| Problem |
| I create a connected datastore object in a servlet and then pass the connected datastore object to a method in a different servelet to perform an operation. I frequently get DKException "[IBM][CLI Driver] CLI0125E Function sequence error. SQLSTATE=HY010 " |
| Cause |
| If the same datastore object is not property synchronized in a multithreading scenario, the following error is likely to occur when performing operations on the datastore:
|
| Solution |
| This is a classic symptom of a threading problem. Most likely, the same datastore instance is used by multiple threads at the same time.
|
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/98828/viewspace-908648/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/98828/viewspace-908648/

1068

被折叠的 条评论
为什么被折叠?



