Different field types for rowid when using direct mode

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
a-s-z
Posts: 106
Joined: Wed 03 Dec 2008 06:01

Different field types for rowid when using direct mode

Post by a-s-z » Fri 27 Nov 2009 11:01

Hello,

when Session.Options.UseUnicode is set, the field types for rowid differ between direct mode and oci mode (I am using D2009).

In oci mode, I will get TWideStringField, in direct mode I will get TStringField, so problems arise when the application does not use a fixed connection mode. When UseUnicode is false, the field type is TStringField for both connect modes.

Is this intended behavior, or a bug in direct mode implementation?

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 30 Nov 2009 09:07

We have fixed this problem. The fix will be included in the next build of ODAC.

Post Reply