JPA 참조 컬럼 정렬 방법
참조되는 컬럼위에
@OrderBy(“컬럼명”)
으로 hibernate 어노테이션을 건다.
출처 : https://dzone.com/articles/sorting-collections-hibernate
This article is licensed under CC BY 4.0 by the author.
참조되는 컬럼위에
@OrderBy(“컬럼명”)
으로 hibernate 어노테이션을 건다.
출처 : https://dzone.com/articles/sorting-collections-hibernate