Code example for CallableStatement

Methods: close

0
				e.printStackTrace();
			} 
		} 
		if (stmt != null) {
			try { 
				stmt.close();
			} catch (SQLException e) {
				e.printStackTrace();
			} 
		} 
		try { 
			if (connection != null && !connection.isClosed()) {
				connection.close();
			} 
		} catch (SQLException e) {
			e.printStackTrace();
		} 
	} 
 
	public void setMaxResultSize(int value) {
		maxResultSize = value;