By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,492 Members | 1,284 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,492 IT Pros & Developers. It's quick & easy.

Problem with ResultsetMetaData with DB2 universal jdbc driver(Type4)

P: n/a
Hi,
I am having some problem with DB2 Universal JDBC driver.

1. The method getColumnType(columnNumber)of ResultSetMetaData always
returns zero.

2. The method getColumnDisplaySize(ColumnNum) raises an exception,
with exception message - not supported.

Version of DB2 - 7.1
Universal JDBC driver - db2jcc.jar
Appserver - Tomcat 4.1.27 on Linux

Necessary PTFs are installed in db2 7.1 for OS/390 so that it works
with universal jdbc driver.

But in IBM information
center(http://publib.boulder.ibm.com/infoce.../rjvjdapi.htm),
it says that these methods are supported by universal driver. But it
is not working for me. What is the work around for this.

Thanks,
Priya
Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.