Feedback
Did this article resolve your question/issue?

   

Article

Data described incorrectly with 8.0 Oracle Wire Protocol driver

Information

 
TitleData described incorrectly with 8.0 Oracle Wire Protocol driver
URL NameData-described-incorrectly-with-8-0-Oracle-Wire-Protocol-driver
Article Number000120782
EnvironmentProduct: Progress DataDirect for ODBC Oracle Wire Protocol Driver
Version: 8.0.2
OS: All supported platforms
Database: Oracle
Application Teradata Parallel Transporter (TPT), ODBC Test Unicode
Question/Problem Description
Data is described incorrectly with 8.0 Oracle Wire Protocol driver causing TPT job to fail. The same works with the 7.1 driver.
Steps to ReproduceSteps to reproduce issue:
1) Set up an 8.0 Progress DataDirect for ODBC for Oracle Wire Protocol driver DSN to connect to an Oracle 10 instance with NLS_CHARACTERSET AL32UTF8 and NLS_NCHAR_CHARACTERSET AL16UTF16.
2) Connect to the DSN set up in step 1 using ODBC Test Unicode
3) SQLExecDirectW: create table test(col1 NUMBER(38), col2 VARCHAR2(256 CHAR))
4) SQLExecDirectW: select col1, CAST(col2 AS VARCHAR(1024)) from test
5) DescribeCol All


Observed Results:

8.0 driver describes the second column in the select clause as SQL_VARCHAR=12
7.1 driver describes the same column as SQL_WVARCHAR=-9
Clarifying Information
Driver build 07.13.0125 (B0113, U0074) works while driver build 08.02.2106 (B0304, U0202) fails.
 
Error Message
Defect Number
Enhancement Number
Cause
With the 8.0 driver, the Enable N-CHAR Support connection option has been deprecated, and the driver behavior has been updated to always provide support for the N-types NCHAR, NVARCHAR2 and NCLOB, i.e., the default value for EnableNcharSupport has been changed from 0 to 1.
Resolution
Set EnableNcharSupport=0 in the ODBC DSN.
Workaround
Use the 7.1 driver.
Notes
References to other documentation:
Progress DataDirect for ODBC Oracle Wire Protocol Driver: Version 8.0.2 : What's New in this Release?
See topic Changes for 8.0.1 GA : Changed Behavior
https://documentation.progress.com/output/DataDirect/odbcoraclehelp/index.html#page/odbcoracle%2Fwhat's-new-in-this-release-3f.html%23

Progress Article(s):
Connection option changes when upgrading Oracle ODBC driver from 7.1 to 8.0
Last Modified Date11/20/2020 6:58 AM
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.