InterviewSolution
Saved Bookmarks
| 1. |
When An Sql Select Statement Doesn't Return Any Rows, Is An Sqlexception Thrown? |
|
Answer» No. If you want to throw an exception, you could WRAP your SQL related CODE in a custom class and throw something like ObjectNotFoundException when the RETURNED RESULTSET is EMPTY. No. If you want to throw an exception, you could wrap your SQL related code in a custom class and throw something like ObjectNotFoundException when the returned ResultSet is empty. |
|