Queston on null OraObjects

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
MarkF
Posts: 211
Joined: Thu 02 Mar 2006 14:55

Queston on null OraObjects

Post by MarkF » Fri 25 Jan 2008 14:33

It seems that IsNULL is always false for OraObject fields. I added a null field to the ODAC_EMP table for example and although a query like

select * from ODAC_EMP where person is null

Returns the record, the PERSON field's IsNull is false and if I do a GetObject on the field its IsNull property is also false. I think it should be true in both cases. Any ideas?

I'm using ObjectView := True.

Thanks for any help!

-Mark Ford

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

Post by Plash » Mon 28 Jan 2008 12:14

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

MarkF
Posts: 211
Joined: Thu 02 Mar 2006 14:55

Post by MarkF » Mon 28 Jan 2008 12:59

Thanks! If the change isn't major, is it possible to get the source code fix or instructions to implement it? If it could be emailed to me it would be much appreciated!

-Mark Ford
Benthic Software

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

Post by Plash » Tue 29 Jan 2008 09:00

I have sent the fix to your e-mail.

Post Reply