spring-framework / org.springframework.jdbc.support / JdbcUtils / closeResultSet

closeResultSet

open static fun closeResultSet(@Nullable rs: ResultSet): Unit

Close the given JDBC ResultSet and ignore any thrown exception. This is useful for typical finally blocks in manual JDBC code.

Parameters

rs - the JDBC ResultSet to close (may be null)