Unix Technical Forum

Problem with DB2 JDBC driver?

This is a discussion on Problem with DB2 JDBC driver? within the DB2 forums, part of the Database Server Software category; --> Hi: WHen using db2jcc driver (DB2 V8.1) , our java programs throws the following exception while fetching carriage return ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 03:12 AM
Prakash
 
Posts: n/a
Default Problem with DB2 JDBC driver?

Hi:

WHen using db2jcc driver (DB2 V8.1) , our java programs throws the
following exception while fetching carriage return data from the
database.

com.ibm.db2.jcc.a.SqlException: bug check
at com.ibm.db2.jcc.a.o.a(o.java:1442)
at com.ibm.db2.jcc.a.o.m(o.java:457)
at com.ibm.db2.jcc.a.o.M(o.java:1103)
at com.ibm.db2.jcc.a.cc.getString(cc.java:831)
at BugCheckTest.main(BugCheckTest.java:90)

We are using the following jar.

db2jcc.jar 872718

Does anyone has any idea? We are using com.ibm.db2.jcc.DB2Driver
driver and its a simple java programs to select first_name and
last_name from the database. Somehow, the last name contains carriage
return in the database. (seems it was loaded wrongly using db2load).

Appreciate your help

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:36 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com