code: private Map<String, String> readCustomInfo(long eventId) {
          List<Map<String, Object>> rows = getJdbcTemplate()
              .queryForList("select * from EVENTS_CUSTOMINFO where EVENT_ID=" + eventId);
          Map<String, String> customInfo = new HashMap<String, String>(rows.size());
          for (Map<String, Object> row : rows) {
              customInfo.put((String)row.get("CUST_KEY"), (String)row.get("CUST_VALUE"));
          }
          return customInfo;
      }
docs: read CustomInfo list from table.
  
  @param eventId the event id
  @return the map