473,503 Members | 2,197 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with ResultsetMetaData with DB2 universal jdbc driver(Type4)

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
0 1853

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

Similar topics

0
1607
by: anton | last post by:
i have weblogic (7 and 8.1) installations that need to talk securely via JDBC to mssql database. preferrably using type4 (or at least type2) driver. is there anything out there that can be of any...
7
3346
by: CT | last post by:
Hi, This might seem like a basic question but I have some doubts, please humour me. I have a client-server application using java where each client on each machine needs to directly...
1
2167
by: Pascal Sourisseau | last post by:
Hi, want to use the com.ibm.db2.jcc.DB2Driver (Universal Jdbc Driver) ... In witch db2 distribution can i find it ? and version ? (for type2 and type4) thx Pascal
2
6925
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
0
1420
by: techiesekar07 | last post by:
Hi All, I am trying to connect to DB2 database from an java application, but my connection fails. I tries with two types of drivers type2 driver com.ibm.db2.jdbc.app.db2driver and type4 driver...
1
2817
by: jedi71 | last post by:
Hi all ! When I try to connect to DB2 5 on a z\OS mainframe over JDBC with my java application (on Windows XP-SP2, JRE 1.6.0_03) I receive the following exception: "There is no available...
0
885
by: Mages | last post by:
import java.sql.*; import javax.sql.*; import SQLBean.DbBean; public class ConnectSql2K { public static void main(String args) { try { ...
8
3747
by: cwhankey | last post by:
I'm trying to connect to a zOS instance of DB2 via the IBM DB2 JDBC driver, but I'm getting this error: com.ibm.db2.jcc.b.DisconnectException: The application server rejected establishment of...
0
7205
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
7287
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7349
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
5594
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,...
0
4688
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3177
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3168
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
746
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
399
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.