public static HashSet<UserTestResult> getUserTestResultRowsWithUserNo(
            String userNo) {
        Connection conn = ConnectionManager.getInstance().getConnection();
        
        String sql = "{call selectUserTestResultRowsWithUserNo(?)}";
        ResultSet rs = null;

        try (PreparedStatement stmt = conn.prepareStatement(sql);) {
            stmt.setString(1, userNo);
            rs = stmt.executeQuery();

            HashSet<UserTestResult> hashSet = new HashSet<UserTestResult>();

            while (rs.next()) {
                UserTestResult userTestResultEntity = new UserTestResult();
                userTestResultEntity.setUserNo(rs.getString("userNo"));
                userTestResultEntity.setExerciseNo(rs.getString("exerciseNo"));
                userTestResultEntity.setScore(rs.getInt("score"));

                hashSet.add(userTestResultEntity);
            }

            return hashSet;

        } catch (SQLTransientConnectionException SQLtce) {
            return getUserTestResultRowsWithUserNo(userNo);
        } catch (SQLTransientException SQLte) {
            return getUserTestResultRowsWithUserNo(userNo);
        } catch (SQLException e) {
            System.err.println(e);
            return null;
        } finally {
            try {
                if (rs != null) {
                    rs.close();
                }
                conn.close();
            } catch (SQLException e) {
                System.err.println(e);
            }
        }
    }