Skip to content

Commit

Permalink
GH-3530: The Oracle driver does not implement DbDataReader.Get* metho…
Browse files Browse the repository at this point in the history
…ds. Encapsulate their DbDataReader with the DirectCastDbDataReader.
  • Loading branch information
David Ellingsworth authored and David Ellingsworth committed May 30, 2024
1 parent e262f12 commit 1038447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NHibernate/Driver/OracleDataClientDriverBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected override DbDataReader ExecuteDbDataReader(CommandBehavior behavior)
var reader = Command.ExecuteReader(behavior);
_suppressDecimalInvalidCastExceptionSetter(reader, true);

return reader;
return new DirectCastDbDataReader(reader);
}
}

Expand Down

0 comments on commit 1038447

Please sign in to comment.