IBM Support

SI64439 - OSP-BASEDIR-INCORROUT NATIVE JDBC NTYPES

PTF Cover Letter


PTF ( Program Temporary Fixes ) Cover letter


Order this fix

Abstract

OSP-BASEDIR-INCORROUT NATIVE JDBC NTYPES


Pre/Co-Requisite PTF / Fix List

REQ  LICENSED           PTF/FIX  LEVEL

TYPE PROGRAM  RELEASE   NUMBER   MIN/MAX  OPTION
---- -------- --------- -------  -------  ------
NONE



NOTICE:
-------
Application of this PTF may disable or render ineffective programs that
use system memory addresses not generated by the IBM translator,
including programs that circumvent control technology designed to limit
interactive capacity to purchased levels.  This PTF may be a prerequisite
for future PTFs.  By applying this PTF you authorize and agree to the
foregoing.

This PTF is subject to the terms of the license agreement which
accompanied, or was contained in, the Program for which you are obtaining
the PTF.  You are not authorized to install or use the PTF except as part
of a Program for which you have a valid Proof of Entitlement.

SUBJECT TO ANY WARRANTIES WHICH CAN NOT BE EXCLUDED OR EXCEPT AS EXPLICITLY
AGREED TO IN THE APPLICABLE LICENSE AGREEMENT OR AN APPLICABLE SUPPORT
AGREEMENT, IBM MAKES NO WARRANTIES OR CONDITIONS EITHER EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON INFRINGEMENT,
REGARDING THE PTF.

The applicable license agreement may have been provided to you in printed
form and/or may be viewed using the Work with Software Agreements (WRKSFWAGR)
CL command.





APAR Error Description / Circumvention

-----------------------------------------------
An application which uses a Classic JVM and Native JDBC driver
to select and display Hebrew BiDi data works correctly on OS 6.1
with both the Native and Toolbox JDBC drivers, but on OS 7.1 it
works correctly with the Toolbox JDBC driver but displays data
incorrectly with the Native JDBC driver.

The difference between the two OS versions is that when a J9 JVM
is being used (at OS 7.1) the Native JDBC driver uses PASE to do
the translation and PASE does not correctly handle BIDI data

CORRECTION FOR APAR SE66978 :
-----------------------------
When the Native JDBC driver uses a PASE enabled JVM, it relies
on PASE functions to do translation.  However, the PASE
translations do not correctly handle BIDI data.  The Native JDBC
driver has been changed so that BIDI translations are handled by
the database engine instead of by the JDBC driver.

CIRCUMVENTION FOR APAR SE66978 :
--------------------------------
None.


DESCRIPTION OF PROBLEM FIXED FOR APAR SE66285 :
-----------------------------------------------
The JDBC 4.0 specification defines the datatypes NCHAR and
NVARCHAR to be used with NCHAR and NVARCHAR types.  On DB2 for
IBM i, these types are equivalent to GRAPHIC CCSID 1200 and
VARGRAPHIC CCSID 1200.  In some cases, the native JDBC driver
was incorrectly returning the types as Types.CHAR and
Types.VARCHAR instead of Types.NCHAR and Types.NVARCHAR.

CORRECTION FOR APAR SE66285 :
-----------------------------
The native JDBC driver has been corrected to return Types.NCHAR
and Types.NVARCHAR.

CIRCUMVENTION FOR APAR SE66285 :
--------------------------------
None.


Activation Instructions


None.




Special Instructions


None.


Default Instructions

THIS PTF CAN BE APPLIED IMMEDIATE OR DELAYED.



Supersedes

PTF/FIX NO(S).  APAR TITLE LINE
--------------  ------------------------------------------------------------
   SI58874      OSP-BASEDIR-INCORROUT HTTPGETBLOB UDF GETBLOB() TRUNCATES BL

Summary Information

System..............................  i
Models..............................  
Release.............................  V7R3M0
Licensed Program....................  5770SS1
APAR Fixed..........................  View details for APAR SE66978
View details for APAR SE66285

Superseded by:......................  View fix details for PTF SI79380
Recompile...........................  N
Library.............................  QSYSDIR
MRI Feature ........................  NONE
Cum Level...........................  C8025730


IBM i Support

IBM disclaims all warranties, whether express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. By furnishing this document, IBM grants no licenses to any related patents or copyrights. Copyright © 1996,1997,1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 IBM Corporation. Any trademarks and product or brand names referenced in this document are the property of their respective owners. Consult the Terms of use link for trademark information.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.3.0","Product":{"code":"SWG60","label":"IBM i"},"Component":"5770SS1","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
19 May 2022