개발 (82) 썸네일형 리스트형 QueryDsl에서 uniqueResult, singleResult 차이점. singleResultpublic static T singleResult(Collection results) throws IncorrectResultSizeDataAccessExceptionReturn a single result object from the given Collection. 주어진 콜렉션에서 single result object를 반환한다. uniqueResultpublic static T uniqueResult(Collection results) throws IncorrectResultSizeDataAccessExceptionReturn a unique result object from the given Collection. 주어진 콜렉션에서 unique result object를 반환.. lombok 기능들 @NonNullNEW in Lombok 0.11.10: You can use @NonNull on the parameter of a method or constructor to have lombok generate a null-check statement for you.@NonNull을 메소드의 파라미터나 생성자에 사용하면 null-check statement를 만들어줌.if (param == null) throw new NullPointerException("param"); 와 같은 역할을 함. @Getter, @SetterYou can annotate any field with @Getter and/or @Setter, to let lombok generate the default getter/set.. 이전 1 ··· 8 9 10 11 다음