|
From: Thomas R. <tho...@tr...> - 2004-06-18 12:13:27
|
I would agree that logging is more appropriate in the finally clause in this case. Thomas jürgen höller [werk3AT] wrote: >Thomas, Rod, everybody, > >There is an issue regarding DataSourceUtils.closeConnectionIfNecessary in our JIRA: > >http://opensource.atlassian.com/projects/spring/browse/SPR-172 > >This is indeed undesirable. Of course, Connection.close hardly ever throws an exception, so it's not a big problem. We could still simply log the exception as an error and proceed, like we do in JdbcUtils.closeStatement/closeResultSet. > >What do you think? > >Juergen > > >------------------------------------------------------- >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > |