Skip to content

Commit 1038447

Browse files
David EllingsworthDavid Ellingsworth
David Ellingsworth
authored and
David Ellingsworth
committed
GH-3530: The Oracle driver does not implement DbDataReader.Get* methods. Encapsulate their DbDataReader with the DirectCastDbDataReader.
1 parent e262f12 commit 1038447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Driver/OracleDataClientDriverBase.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected override DbDataReader ExecuteDbDataReader(CommandBehavior behavior)
3535
var reader = Command.ExecuteReader(behavior);
3636
_suppressDecimalInvalidCastExceptionSetter(reader, true);
3737

38-
return reader;
38+
return new DirectCastDbDataReader(reader);
3939
}
4040
}
4141

0 commit comments

Comments
 (0)