473,396 Members | 1,725 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

error 99999

hi, we are using db2 udb v8.1 on windows with fp3. type 4 driver.

our program use this way to create a row lock
Statement stm = conn.createStatement(
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.CONCUR_UPDATABLE);

sqlStr = "select id, brnum, ITMNUM, DESC from xx.xx where id = 34 ";

(there is regular type index on id column)

resultset = stm.executeQuery(sqlStr);

after this, there is Row(U) and table(IX) lock. i have another session
try to grab the same record (same kind of statement created and sql
string), intead of giving me error code 911, it gives me error code
99999 stating fetch exception occured. but why not the error code
911?(lock timeout)
Nov 12 '05 #1
0 3054

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Barry Young | last post by:
I am using the following code to insert a row in an Oracle Database. strConnection = "Provider=OraOLEDB.Oracle;Data Source=MYDATABASE;User Id=SYSTEM;Password=******" Dim strMessage As String ...
3
by: xixi | last post by:
hi, we are using db2 udb v8.1 on win 64 bit with fp3 with type 4 db2jcc.jar driver. i have this problem happened sometimes when try to execute a query and failed. ...
2
by: FX NICOLAS | last post by:
Can anyone help me. I'm trying to retrieve data from DB2/AIX v8.1 using JDBC connectivity (Universal Driver - Type 4 - v1.1.67) . I get a recurrent error (after connection, apparently) : BEGIN...
5
by: Richard Thrasher | last post by:
Writing my very first C# program, I found what appears to be a compiler error. The statement int temp = (int)(100 * 36.41); assigns the value 3640 to temp. I've tried this code with various...
1
by: sbanil | last post by:
We have a JAVA application which uses following Database product name : DB2 Database product version : DSN07012 JDBC driver name : IBM DB2 JDBC Universal Driver Architecture JDBC driver version ...
2
by: simun.selak | last post by:
Hi, Inserting number 99999.99 into a FLOAT 17 16 field results in 9.99999900....5E+004 being inserted into the base. What is confusing me is the digit 5 that appears at the end of the number....
1
by: pallavi814 | last post by:
Hi , When i search for the DB2 error codes,some of the DB2 error codes donot list the sql code. For example,"SQL0004N - The password is not valid " There is no sql code given for this. But when we...
4
by: sandeepmshetty | last post by:
help me to solve the following program in shortest form.... Write a program to output any number between 1 and 99999 and output it in words. For example: If the number is 213 then it should...
3
by: 28days | last post by:
HI, The following SQL statement returns an error SQL0440, complaining about routine '=' not found delete from XXX.YYYYY where YYYY_key = 99999 > The database containing the table...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.