Is there any possiblity to detect an OracleException with an message "Value length exceeds the parameter size" without comparing the message text? The errorcode is 0x80004005
Best regards
Hansjörg
Detect OracleException "Value length exceeds the parameter size" programatically
-
- Posts: 39
- Joined: Wed 31 May 2017 14:33
Re: Detect OracleException "Value length exceeds the parameter size" programatically
1. You can turn off the generation of the "Value length exceeds the parameter size" error. For this, specify this line of code only once in your application (silent truncation):
2. We will investigate the possibility to assign unique ErrorCode for this exception.
Code: Select all
OracleUtils.ParameterValueTrimming = true;