Source code and Site license

Source code and Site license

Postby Alladin » Thu 26 Jul 2007 08:55

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?
Alladin
 
Posts: 149
Joined: Mon 27 Nov 2006 16:18

Postby Alexey » Thu 26 Jul 2007 09:59

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.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby Alladin » Thu 26 Jul 2007 14:07

Thank you for the hint.

However, ReturnProviderSpecificTypes has global effect. We'd like to preserve OracleNumber type only and for some special cases.
Alladin
 
Posts: 149
Joined: Mon 27 Nov 2006 16:18

Postby Alexey » Fri 27 Jul 2007 07:45

I see.
Then contact our Sales dept.
I the answer will be "no", we will try to give you other hints.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for Oracle