Angsuman's Java Blog

News and views from my perspective as a Chief Software Architect and CEO. Focused on Java and Web Technologies.

Friday, May 09, 2003

> Sometime tables in a database have been locked.
> What do you think?

Are you closing the database after you are done in a finally block always? If not, do it.

>I wonder if there is any error in sql statement, the error will be thrown in catch{…} right.

>Will the application get confused where the error should be thrown?
Software don't think so they don't get confused, we humans do :)