Here you can find the source of closeSilentlyPreparedStatement(PreparedStatement stmt)
public static void closeSilentlyPreparedStatement(PreparedStatement stmt)
//package com.java2s; //License from project: Open Source License import java.sql.PreparedStatement; import java.sql.SQLException; public class Main { /**/*from w ww .ja va2 s .c om*/ * Closes a PreparedStatement silently (no exception raised). */ public static void closeSilentlyPreparedStatement(PreparedStatement stmt) { try { stmt.close(); } catch (SQLException e) { // nothing } } }