0
Connection con = ConnectionProvider.getCon();
Statement s_sickLeave = con.createStatement("select count(leavetypeid) from leave where leavetypeid=2");
ResultSet rs_sickLeave = s_sickLeave.executeQuery();
Integer sick_leave_count = rs_sickLeave.getInt(1);//line 4
我在第4行收到異常。如何訪問查詢返回的計數值?查詢返回的訪問計數