Quantcast
Channel: SCN : All Content - SAP IQ
Viewing all articles
Browse latest Browse all 716

SQL Anywhere Error - 210: User 'another user' has the row in 'tablexyz' locked

$
0
0

Hi I have multiple Java process which launches serially one by one. This process does job of loading data into tablexyz and then tablefinal. After first process finishes its job I get the following error

 

SQL Anywhere Error - 210: User 'another user' has the row in 'tablexyz' locked.


Flow goes like this:


Process 1:

Creates table tablexyz and loads data into it does some processing and then finally copies data into tablefinal. I commit transaction here after all steps.


Process 2:

Drops/Empties table tablexyz if it is there and then againcreates table tablexyz and loads data into it does some processing and then finally copies data into tablefinal. I commit transaction here after all steps.


My app fails at the process 2 and it gives tablexyz locked. I dont understand both process uses same database user myuser then why second process is not able to delete tablexyz created by first process. Please guide I am new to Sybase IQ. Thanks in advance.


Viewing all articles
Browse latest Browse all 716

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>