일단 JPQL로 한번 짜보고, 똑같은 걸 QueryDSL로 짜서 비교해 볼거임. @Test public void startJPQL(){ String sql = "select m from Member m where m.username = :username"; Member result = em.createQuery(sql, Member.class) .setParameter("username", "member1") .getSingleResult(); assertThat(result.getUsername()).isEqualTo("member1"); } 뭐 그냥 JPQL이다. select m1_0.member_id, m1_0.age, m1_0.team_id, m1_0.username from member m1_0..