473,785 Members | 2,374 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with ResultsetMetaDa ta with DB2 universal jdbc driver(Type4)

Hi,
I am having some problem with DB2 Universal JDBC driver.

1. The method getColumnType(c olumnNumber)of ResultSetMetaDa ta always
returns zero.

2. The method getColumnDispla ySize(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 1880

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

Similar topics

0
1618
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 help? thank you. -anton
7
3372
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 communicate directly with the database. Do I need a separate db2 connect on each such machine. Please advice.
1
2181
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
6968
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 attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip
0
1432
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 com.ibm.db2.jcc.db2driver My connection string is of the form jdbc:db2:/server:port/db alais-name For this type of remote connection to db2 server from an db2 client i think we need to use Type4 java driver.
1
2834
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 conversion for the source code page, 1208, to the target code page, "". DB2ConnectionCorrelator: null" -) My driver is com.ibm.db2.jcc.DB2Driver; -) My Url is "jdbc:db2://10.66.7.117:5043/LOCS15NR" -) Connect method is "con =...
0
900
by: Mages | last post by:
import java.sql.*; import javax.sql.*; import SQLBean.DbBean; public class ConnectSql2K { public static void main(String args) { try { Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver"); System.out.println("driver loaded ok"); String name="prakash";
8
3765
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 the connection. An attempt was made to access a database, I0INTEST, which was not found. Based uppon the error message and that I can connect to this DB thru DB2 Connect I believe I have the right host name and port. What am I
0
10346
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10157
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9956
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8982
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6742
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5386
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4055
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.