If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > IBM Type 4 Driver Issue

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-13-08, 11:34
redwolf redwolf is offline
Registered User
 
Join Date: Apr 2004
Posts: 179
IBM Type 4 Driver Issue

Has anyone seen anything similiar to the issue below ?

We are trying to retrieve result sets from DB2 Stored Procs. When we use IBM's Type 2 driver, we are successful. But, when we try to use IBM's Type 4 driver, the CallableStatement.execute() returns "false" indicating that no results were returned. The code we are using is identical between the Type 2 and the Type 4 driver.

Using SQL statements, we can get result sets without issue. Our only problem is with the stored procs.

DB21085I Instance "db2inst3" uses "64" bits and DB2 code release "SQL08028"
with level identifier "03090106".
Informational tokens are "DB2 v8.1.0.136", "s070720", "U810953", and FixPak
"15".
Product is installed at "/opt/IBM/db2/V8.1".
Reply With Quote
  #2 (permalink)  
Old 11-18-08, 03:46
JAYANTA_DATTA JAYANTA_DATTA is offline
Registered User
 
Join Date: Oct 2004
Location: DELHI INDIA
Posts: 336
You are n't getting any SQL error-code or error-mesg with TYPE-4 apart from the issue that no-results are returned.

Please see the following link which can be helpful for you:

http://www.ibm.com/developerworks/db...dm-0512kokkat/

Thanks,
Jayanta
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On