Page 1 of 1

TOraType: Unknown data type BINARY_DOUBLE

Posted: Wed 06 May 2009 14:45
by balazs miereisz
Hi!

I have a problem with BINARY_DOUBLE attributes in Oracle object types.

Here is my object type:

Code: Select all

CREATE TYPE TEST AS OBJECT (
  TESTATTR BINARY_DOUBLE
);
And here is my very simple Delphi code:

Code: Select all

var
  T: TOraType;
begin
  T := TOraType.Create(OraSession1.OCISvcCtx, 'TEST');
end;
If I try to create a TOraType in Delphi 2007 I get this error message:

Project Project1.exe raised exception class EAssertionFailed with message 'Unknown data type (OraObjects.pas, line 787)'.

Question:
Does this mean that BINARY_DOUBLE object attribute type is not supported by ODAC 6.80.0.46 ?

Thanks for any reply!

Posted: Thu 07 May 2009 08:33
by Plash
ODAC does not support the BINARY_DOUBLE data type in objects.

In the next ODAC build we'll add support for BINARY_DOUBLE and BINARY_FLOAT.

Posted: Thu 07 May 2009 09:29
by balazs miereisz
Thank you Plash!

Just one question:

About when will be released the next ODAC build (with support for BINARY_DOUBLE)?

Posted: Fri 08 May 2009 07:27
by Plash
We are planning to release new ODAC build in a week or two.