Page 1 of 1

Number as integer and not as float

Posted: Thu 20 Feb 2014 09:16
by amoroder
Hello,

I have a table with the ID field defined as NUMBER
that contains only integers ( not floating point values).
How can I tell ODAC not to convert this numbers to float ?

Thanks
Andreas

Re: Number as integer and not as float

Posted: Thu 20 Feb 2014 16:37
by mikeho
Try setting EnableIntegers to True under the TOraSession Options.

Re: Number as integer and not as float

Posted: Fri 21 Feb 2014 11:52
by AlexP
hello,

To implement such behavior, you should set the EnableIntegers property to True or use DataTypeMapping