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