Jdbc Differences Between Versions Of The Ibm Data Server Driver For Jdbc And Sqlj - IBM DB2 Manual

Table of Contents

Advertisement

JDBC differences between versions of the IBM Data Server Driver for
|
JDBC and SQLJ
|
|
|
|
|
|
|
|
|
|
|
|
376
Application Programming Guide and Reference for Java
Result of using getBoolean to retrieve a value from a CHAR
column
With the IBM Data Server Driver for JDBC and SQLJ, when you execute
ResultSet.getBoolean or CallableStatement.getBoolean to retrieve a Boolean
value from a CHAR column, and the column contains the value "false" or "0", the
value false is returned. If the column contains any other value, true is returned.
With the JDBC/SQLJ driver for z/OS, when you execute ResultSet.getBoolean or
CallableStatement.getBoolean to retrieve a Boolean value from a CHAR column,
and the column contains the value "0", the value false is returned. If the column
contains any other value, true is returned.
Related concepts
"LOBs in JDBC applications with the IBM Data Server Driver for JDBC and
SQLJ" on page 49
Related tasks
"Learning about a data source using DatabaseMetaData methods" on page 21
"Creating and modifying database objects using the Statement.executeUpdate
method" on page 24
"Updating data in tables using the PreparedStatement.executeUpdate method"
on page 25
"Making batch updates in JDBC applications" on page 28
"Calling stored procedures in JDBC applications" on page 45
Chapter 9, "Migrating from the JDBC/SQLJ Driver for OS/390 and z/OS to the
IBM Data Server Driver for JDBC and SQLJ," on page 439
Related reference
"Data types that map to database data types in Java applications" on page 193
"Properties for the IBM Data Server Driver for JDBC and SQLJ" on page 201
"Driver support for JDBC APIs" on page 252
"Date, time, and timestamp values that can cause problems in JDBC and SQLJ
applications" on page 200
Before you can upgrade your JDBC applications from older to newer versions of
the IBM Data Server Driver for JDBC and SQLJ, you need to understand the
differences between those drivers.
Supported methods
For a list of methods that the IBM Data Server Driver for JDBC and SQLJ supports,
see "Driver support for JDBC APIs".
Use of progressive streaming by the JDBC drivers
For IBM Data Server Driver for JDBC and SQLJ, Version 3.50 and later, progressive
streaming, which is also known as dynamic data format, behavior is the default for
LOB retrieval, for connections to DB2 Database for Linux, UNIX, and Windows
Version 9.5 and later.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents