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