Code example for ResultSet

Methods: getDate, getString

0
	} 
 
	private static class QtBreakdownTypeRowMapper implements RowMapper { 
		public Object mapRow(ResultSet rs, int rowNum) throws SQLException {
			QtQueryBreakdownType queryBreakdownType = new QtQueryBreakdownType();
			queryBreakdownType.setCreateDate(rs.getDate("CREATE_DATE"));
			queryBreakdownType.setCreateDate(rs.getDate("UPDATE_DATE"));
			queryBreakdownType.setName(rs.getString("NAME"));
			queryBreakdownType.setValue(rs.getString("VALUE"));
			queryBreakdownType.setUserId(rs.getString("USER_ID"));
 
			return queryBreakdownType;
		} 
	} 
 
}