473,513 Members | 2,448 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

setLong() bug in db2 Connect jdbc?

Hi. I've been using the personal edition of db2 Connect to access our
mainframe database from java apps for the last 9 months or so. I'm using
prepared statements, and the setLong method has proven unreliable for both
parameters and insert values, not finding search filters or attempting to
insert nulls, etc. This has forced me to use setDouble or setBigDecimal to
get around it, but I'd prefer to use setLong where appropriate. I'm working
with jdk 1.4.2 on a Windows 2000 platform. Any ideas?
Dec 9 '06 #1
2 1620
Hi Rory,

What version/FixPak of db2connect are you using?

Cheers,

On Dec 9, 2:45 am, "Rory McQuillan" <rorynj...@pivot.netwrote:
Hi. I've been using the personal edition of db2 Connect to access our
mainframe database from java apps for the last 9 months or so. I'm using
prepared statements, and the setLong method has proven unreliable for both
parameters and insert values, not finding search filters or attempting to
insert nulls, etc. This has forced me to use setDouble or setBigDecimal to
get around it, but I'd prefer to use setLong where appropriate. I'm working
with jdk 1.4.2 on a Windows 2000 platform. Any ideas?
Dec 11 '06 #2
I'll have to check at work tomorrow. At first I was running a free trial
edition, but I believe I'm on a licensed copy now.

<db******@gmail.comwrote in message
news:11*********************@79g2000cws.googlegrou ps.com...
Hi Rory,

What version/FixPak of db2connect are you using?

Cheers,

On Dec 9, 2:45 am, "Rory McQuillan" <rorynj...@pivot.netwrote:
>Hi. I've been using the personal edition of db2 Connect to access our
mainframe database from java apps for the last 9 months or so. I'm using
prepared statements, and the setLong method has proven unreliable for
both
parameters and insert values, not finding search filters or attempting to
insert nulls, etc. This has forced me to use setDouble or setBigDecimal
to
get around it, but I'd prefer to use setLong where appropriate. I'm
working
with jdk 1.4.2 on a Windows 2000 platform. Any ideas?

Dec 12 '06 #3

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

Similar topics

3
17859
by: David | last post by:
Hello all, I have been trying to use the OCI driver to connect to Oracle 9i, but have been getting the following error: java.sql.SQLException: Closed Connection at...
1
10658
by: CM | last post by:
Hi, when i want connect me in my BD with a JSP (with this simple code), this exception is throw. Thank's for ur help Mathieu CODE of my JSP ---------------------
30
7381
by: aka | last post by:
Hi I have a DB2 v8.1 on AIX and DB2 Connect EE on Solaris wich is connected to OS/390 DB2 subsystems via APPC / SNA. I have cataloged the DB2 Connect instance as tcpip node and then the Host DB...
4
4112
by: Olivier | last post by:
Hello, Firstly all apologize for my english. Secondly, I've got some problems to connect to a DB2 database with JDBC client. My configuration is : - DB2 8.1 on an AIX server (name rs26...
3
13350
by: r_stringer66 | last post by:
Hi, I am trying to connect to a db2 database via a jdbc application and this is the following error I get: Exception : CLI0615E Error receiving from socket, server is not responding....
5
3543
by: mjf | last post by:
I'd like to connect from any Linux machine to the DB2 on a Linux server via an IP adddress (or any available method that allows us to connect to DB2 from another machine). I know we can do it in...
2
3317
by: vikas.bhatia | last post by:
Is this still true? http://groups.google.com/group/comp.databases.ibm-db2/browse_thread/thread/58c6c36ce9006d50/778f98749d8e2983?lnk=st&q=DB2+Connect+product+license&rnum=6#778f98749d8e2983 would...
1
5339
by: aj | last post by:
I'm a newbie w/ SQL Server 2005. We will be connecting to SQL Server 2005 via JDBC. We have made this work by using an SQL Server account, rather than an Active Directory (AD) account, even...
1
1807
by: alluri1123 | last post by:
I am using the following code and i get the below error use DBI; use DBD::JDBC; my $url="JDBC:gfsql://cqserver=fiappl03itf:30305"; my $hostname="fiappl03itf.fmrco.com"; my $port=30305; ...
0
7265
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
7388
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
7545
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...
1
7111
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5692
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
4751
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
3228
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1605
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 ...
1
807
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.