public static void closeResultSet(ResultSet rs) {
		if (rs != null) {
			try {
				rs.close();
			} catch (SQLException e) {
				throw new RuntimeException(e.getSQLState() 
						+ "\nCaused by\n"
						+ e.getCause(), e);
			}
		}
	}