OraDirect trims trailing space characters in CHAR fields

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Locked
agunes

OraDirect trims trailing space characters in CHAR fields

Post by agunes » Thu 04 Nov 2004 08:37

As I have tested, OraDirect trims trailing space characters in CHAR fields. Unfortunately, I do have to get those spaces as well for my project. Although I can do it manually by first getting the size of the column and pads appropriate number of spaces characters to the right of the column data I don't want to do this. How can have OraDirect get CHAR data with trailing blanks?

Thanks,

agunes

Oleg
Devart Team
Posts: 264
Joined: Thu 28 Oct 2004 13:56

Re: OraDirect trims trailing space characters in CHAR fields

Post by Oleg » Fri 05 Nov 2004 13:03

We are planning to change this behaviour with CHAR datatype for OracleDataReader and will add a special option to OracleCommand to manage it.
We will release a new build of OraDirect .NET at the next week. Please see announcements about new version releases at the forum.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Mon 18 Oct 2010 09:49


Locked