Bug with SMALLINT in VARRAY

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jdorlon
Posts: 202
Joined: Fri 05 Jan 2007 22:07

Bug with SMALLINT in VARRAY

Post by jdorlon » Mon 17 Aug 2020 21:04

Hello,

This bug was reported as part of another bug earlier this year. I want to post this again separately so it's easier to find.

To reproduce the problem, first run this script:

Code: Select all

create or replace type sbool20 as varray(20) of  smallint; 

create table demo_error (id number not null, bparms  sbool20) ;
Next, try this SQL in a TSmartQuery:

Code: Select all

select * from demo_error;
It throws the error: Field 'BPARMS[0]' is of an unknown type

 The problem still exists in version 11.2.4. I am using RAD Studio 10.1 Berlin. Compiling in both 32 and 64 bit. Oracle Client and Server are both 19c. Not using Direct mode.

Thank you

John

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Bug with SMALLINT in VARRAY

Post by MaximG » Fri 28 Aug 2020 09:07

Thank you for the information. We will investigate the described issue and let you know the results shortly.

Post Reply