I am getting an exception “ORA- 01403 no_data_found”.
I have seen that there is another post on this http://forums.devart.com/viewtopic.php?t=16919 but it does not provide any solution to this issue, it just suggests handling it on your own.
I have written the below code to do this. Does it looks good or is there a standard code to do this or do I have to change any setting to handle it?
Code: Select all
Public Overrides Function ExecuteNonQuery(ByVal command As DbCommand) As Integer
Try
Return MyBase.ExecuteNonQuery(command)
Catch exception As OracleException
If exception.Code = 1403 Then
Return 0
Else
Throw exception
End If
End Try
End Function
Regards
Dev