Using a Gateway with a Unicode Oracle Database Increases the Column Precision Three Times for Certain Data Types (Doc ID 374744.1)

Last updated on DECEMBER 04, 2014

Applies to:

Oracle Database Gateway for DRDA - Version 9.2.0.1 to 11.1.0.7 [Release 9.2 to 11.1]
Oracle Database Gateway for DB2 - Version 10.2.0.2 to 10.2.0.3 [Release 10.2]
Information in this document applies to any platform.
***Checked for relevance on 02-Oct-2012***
Oracle Transparent Gateway for DB2 - Version: 10.2.0.2 to 10.2.0.3
All gateways called from an Oracle UTF-8/ unicode database.


Symptoms

Using any Oracle gateway up to release 11.1.0.7 with an Oracle unicode database character set will triple the varchar/char columns precision.

A normal select of this table might fail with an error when the precision of the data type exceeds the Oracle maximum length for this data type.

Also using procedures and trying to write information from a remote foreign database into an Oracle database with exactly the same precision as the foreign database column will fail with 'value too large' errors for these columns.

Changes

Upgrade Oracle RDBMS to a unicode based character set.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms