OracleDataReaderWrapper Internal / Public

Topics: Data Access Application Block
Feb 6, 2008 at 1:22 PM
Edited Feb 6, 2008 at 1:24 PM
Hi all,

Is it possible to mark the class OracleDataReaderWrapper as public in upcoming Release 4?

  • Reason: currently we're unable to access specific Oracle features (e.g. GetOracleNumber(..) ).

  • Details: The database.ExecuteReader() returns an IDataReader which can be cast to SqlDataReader for SQL-Server to access specific SQL-Server properties. But, for Oracle it is impossible to cast it to OracleDataReaderWrapper because that class is internal to the EntLib.

  • Reproduce: Use a ExecuteReader() with "SELECT 1/3 FROM dual" on oracle 9... And try to read the value from the IDataReader You will get an OCI-22053 error. Access to the oracle properties is needed to correctly read the high precission floating point value.

Kind regards,
Erwin

ps. this is related to Issue #8544 http://www.codeplex.com/entlib/WorkItem/View.aspx?WorkItemId=8544