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 > Problem when using JDBC Type 4 Driver with WebSphere Studio 5.x

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-10-03, 19:30
mk2003 mk2003 is offline
Registered User
 
Join Date: Oct 2003
Posts: 2
Problem when using JDBC Type 4 Driver with WebSphere Studio 5.x

I am currently developing a web application using WebSphere Studio 5.0.1 with the WebSphere Test AppServer 5.0.2. The Code is trying to make remote calls to a DB2 Database using Type 4 Driver com.ibm.db2.jcc.DB2ConnectionPoolDataSource. The code is using PreparedStatement which is causing the following error when the code is trying to call connection.PrepareStatement: "getMaxFieldSize is not supported in JCC 1.0". Replacing the PreparStatement calls to conn.createStatement suppresses the Errors. Also when the PrepareStatement was used against the Type 2 driver everything works fine. Any suggestions?????
Reply With Quote
  #2 (permalink)  
Old 12-17-03, 12:04
rogermichel rogermichel is offline
Registered User
 
Join Date: Sep 2003
Posts: 2
Re: Problem when using JDBC Type 4 Driver with WebSphere Studio 5.x

Quote:
Originally posted by mk2003
I am currently developing a web application using WebSphere Studio 5.0.1 with the WebSphere Test AppServer 5.0.2. The Code is trying to make remote calls to a DB2 Database using Type 4 Driver com.ibm.db2.jcc.DB2ConnectionPoolDataSource. The code is using PreparedStatement which is causing the following error when the code is trying to call connection.PrepareStatement: "getMaxFieldSize is not supported in JCC 1.0". Replacing the PreparStatement calls to conn.createStatement suppresses the Errors. Also when the PrepareStatement was used against the Type 2 driver everything works fine. Any suggestions?????
Hello
I have the same Problem, are there already any solutions?

Thanks for any suggestions...
Reply With Quote
  #3 (permalink)  
Old 12-17-03, 12:35
mk2003 mk2003 is offline
Registered User
 
Join Date: Oct 2003
Posts: 2
My problem had to with one jar file not getting updated properly when I applied the DB2 Fixpack #3. My Appserver Stack trace was indicating something like:

[10/20/03 8:54:19:062 CDT] 7edb2450 WSRdbDataSour u Database version is SQL08013

[10/20/03 8:54:19:062 CDT] 7edb2450 WSRdbDataSour u JDBC Driver version is 1.0.581

Whereas the correct version that you shall use for DB2 Universal JDBC
Driver for DB V8.1 Fixpack 3 should be version 1.3.70.

I re-ran the Fixpack #3 and the problem was resolved. Hope this helps you foryour problem.
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