-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dapper trying to parse wrong column #576
Comments
After some digging this appears to be an issue with OracleDataReader. Its attempting to parse NUMBER as decimal but the max precision is 28-29? This error message with "PRICE=L" is just an incorrect error. It was attempting to parse the correct column.
|
Since this is really an Oracle problem, I'm not sure there's anything we can do about the root exception here, unfortunately. If the error message is off in the current version, that certainly needs a fix though. |
Any update here? |
I think this is rather Microsoft's implementation that's at fault: always trying to cast to a Decimal, when sometimes that won't work. I'm going to try and truncate the value in the Oracle query before it gets to the |
Run into a small issue with dapper trying to map the previous column to the wrong field in the class and as such is throwing "Specified cast is not valid".
Inner exception
Nuget package version s
The text was updated successfully, but these errors were encountered: