Return clause in finally block
Status: Beta
Brought to you by:
amenegat
In the insert method the return clause is in the finally block. If a exception is throwed, it is lost.
See http://weblogs.java.net/blog/staufferjames/archive/2007/06/_dont_return_in.html
I consider that the return clause should be in the last part of the try block, following "con.commit();"
Sorry for my english. I am from Uruguay in South America and I speak spanish.
Thanks