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 |
Tags
- mycp
- BubbleSorting
- decorator
- setParameter
- C
- 자바
- 디자인패턴
- pscp
- Linux
- 쉬운 계단 수
- 점세개
- designpattern
- 자료구조
- NamedParameterNotBound
- java
- 숫자야구
- 백준
- springboot
- 여러인수
- 10951
- @Spring
- gradle
- @ModelAttribute
- 10844
- @NotEmpty
- Spring
- 전치행렬 #C
- 데코레이터패턴
- junit
- createQuery
Archives
- Today
- Total
목록setParameter (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