Page 1 of 1

Source code and Site license

Posted: Thu 26 Jul 2007 08:55
by Alladin
Our company owns a site license of ORA.NET.
How do we get non-obfuscated source code for fine tuning?

For example, we don't like default behavior of OracleDataReader regarding OracleNumber support. It truncates oracle number values (38-40 significant digits) to fit in decimal data type (28 significant digits) what sometimes throws an exception during DataSet fill.

All constructors of OracleDataReader are internal, so there is no other way to override some methods rather that fixing the sources.

How do we usually deal with such a problem?

Posted: Thu 26 Jul 2007 09:59
by Alexey
Your inquiry has been forwarded to our Sales department.
Look forward to hearing from them soon.
For example, we don't like default behavior of OracleDataReader regarding OracleNumber support. It truncates oracle number values (38-40 significant digits) to fit in decimal data type (28 significant digits) what sometimes throws an exception during DataSet fill.
Do you know about ReturnProviderSpecificTypes property of OracleDataAdapter? If you switch it on, none of the values will be truncated.

Posted: Thu 26 Jul 2007 14:07
by Alladin
Thank you for the hint.

However, ReturnProviderSpecificTypes has global effect. We'd like to preserve OracleNumber type only and for some special cases.

Posted: Fri 27 Jul 2007 07:45
by Alexey
I see.
Then contact our Sales dept.
I the answer will be "no", we will try to give you other hints.