본문 바로가기

...

검색하기
...
프로필사진 gi2

  • 분류 전체보기 (66)
    • 하고싶은 플젝 주제 (0)
    • 백준 (8)
    • 이것저것 (29)
      • 오류 해결 (23)
    • 백엔드 (12)
      • JPA (2)
      • 스프링 기초부터 고급까지 (0)
      • 졸업 작품 기록 (0)
    • 언어 (6)
      • JAVA 자바 (6)
    • 안드로이드 (0)
      • [왕초보편] 앱 8개를 만들면서 배우는 안드로이드.. (0)
    • CS (9)
      • 디자인 패턴 (3)
      • 시스템 프로그래밍 (3)
      • 자료구조 (3)
      • 운영체제 (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • gradle
  • 점세개
  • createQuery
  • @ModelAttribute
  • C
  • @NotEmpty
  • @Spring
  • 전치행렬 #C
  • decorator
  • 자바
  • NamedParameterNotBound
  • 숫자야구
  • pscp
  • springboot
  • 10844
  • junit
  • designpattern
  • 백준
  • 데코레이터패턴
  • 여러인수
  • 디자인패턴
  • mycp
  • 10951
  • 자료구조
  • Spring
  • Linux
  • java
  • 쉬운 계단 수
  • setParameter
  • BubbleSorting
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록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
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바