JPA 참조 컬럼 정렬 방법
참조되는 컬럼위에
@OrderBy(“컬럼명”)
으로 hibernate 어노테이션을 건다.
출처 : https://dzone.com/articles/sorting-collections-hibernate
이 기사는 저작권자의 CC BY 4.0 라이센스를 따릅니다.
참조되는 컬럼위에
@OrderBy(“컬럼명”)
으로 hibernate 어노테이션을 건다.
출처 : https://dzone.com/articles/sorting-collections-hibernate