0
를 발행 :최대 절전 모드 기준 I 경고를 받고 있어요 중단 경고
Positional parameter are considered deprecated; use named parameters or JPA-style positional parameters instead.
을 Criteria
객체 (Restrictions
클래스)와 함께. 기준 객체에 Criteria::setString
이없는 것 같은 경우 매개 변수를 기준에 어떻게 추가합니까?
여기 내 기준이다 :
criteria.add(Restrictions.eq("userId", 1);
가 확실 경고가 그 라인에서 오는 것이 있습니까 최대 절전 모드 4에서 사용되지 않는 것 같다있는합니다 (
@Entity
내부)를@NamedQuery
에서 posistionnal 매개 변수?
의 사용으로 인한되었다 Restrictions.eq (criteria.add을 ("userId", 1); –