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.

asked 28 Jul '14, 14:23

kachau's gravatar image

kachau
15111
accept rate: 0%

closed 28 Jul '14, 15:25

Breck%20Carter's gravatar image

Breck Carter
27.1k424582831

The question has been closed for the following reason "Question is off-topic or not relevant" by Breck Carter 28 Jul '14, 15:25


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.

permanent link

answered 28 Jul '14, 15:24

Breck%20Carter's gravatar image

Breck Carter
27.1k424582831
accept rate: 21%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×66
×34

question asked: 28 Jul '14, 14:23

question was seen: 1,323 times

last updated: 28 Jul '14, 15:25