on 2014 Jul 28 3:23 PM
I have jdbc code which talks to Sybase IQ. One of the thread is loading/update data into one Sybase IQ table say t1. Other threads will try to fire SQL query on table t1 after the first finished loading/updating data.
Write thread: Create table t1, load/update data into t1, commit to t1. Read thread(s): Read select query from t1
I am using JDBC and I am getting the following error as mentioned in here
Transaction 156593 attempted to access an object created by transaction 156608. -- (db_txnInfo.cxx 690) Sybase error code=21, SQLState=”QDA11”
I am not sure where is the problem I am commiting after every load. Every thread uses different connection read thread fires only select query then where is the problem how do I debug? Please guide. I am new to Sybase IQ and JDBC. Thanks in advance.
Request clarification before answering.
This website is for SAP SQL Anywhere which is a separate product from SAP IQ. The two products do share a lot of code BUT your symptom looks unique to IQ, so try "Start a discussion" over on the SAP SCN IQ website.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.