Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 디자인패턴
- Linux
- 여러인수
- designpattern
- 자바
- BubbleSorting
- C
- createQuery
- 10951
- 데코레이터패턴
- 자료구조
- junit
- 점세개
- java
- @ModelAttribute
- @NotEmpty
- 숫자야구
- pscp
- 전치행렬 #C
- 백준
- mycp
- NamedParameterNotBound
- 쉬운 계단 수
- decorator
- setParameter
- gradle
- Spring
- springboot
- @Spring
- 10844
Archives
- Today
- Total
목록createQuery (1)
...
[JUnit]Named parameter not bound 에러
//findByName public List findByName(String name){ return em.createQuery("select m from Member m where m.name = :name",Member.class) .setParameter("name",name) .getResultList(); } } createQuery를 할 때 setParameter를 제대로 지정해주지 않으면 발생하는 에러 까먹지말ㅣㅇ기
이것저것/오류 해결
2022. 4. 17. 14:15