public int getInteger(int n) { try { ResultSet rs = getResultSet(); if (rs == null) return 0; return rs.getInt(n); } catch (Exception e) { Debug.warning(e); } return 0; }