Parameter too long error message
Posted: Fri 09 Sep 2011 09:14
Hello,
If i send a Parameter value too long for the type OracleDbType.NVarChar, within a StoredProcedure (using Direct=True in my ConnectionString) i get an exception message like:
"ORA-20000: silent failure in parameter passing - bad: 4000ORA-06512: at "Test.Test_LONG_TEXT_PARAMETER", line 7ORA-06512: at line 2"
I expect a more detailed diagnostic message, something like "it is not possible to fit the data into a NVarChar", which points me to the problem.
Could you fix this ?
I am using dotConnect version 6.30.185.
Here are some infos about my Oracle
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
"CORE 10.2.0.1.0 Production"
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
I also prepared a test project so that you can reproduce it on your machine. Should i send it to the [email protected] ?
If i send a Parameter value too long for the type OracleDbType.NVarChar, within a StoredProcedure (using Direct=True in my ConnectionString) i get an exception message like:
"ORA-20000: silent failure in parameter passing - bad: 4000ORA-06512: at "Test.Test_LONG_TEXT_PARAMETER", line 7ORA-06512: at line 2"
I expect a more detailed diagnostic message, something like "it is not possible to fit the data into a NVarChar", which points me to the problem.
Could you fix this ?
I am using dotConnect version 6.30.185.
Here are some infos about my Oracle
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
"CORE 10.2.0.1.0 Production"
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
I also prepared a test project so that you can reproduce it on your machine. Should i send it to the [email protected] ?