jpa index 썸네일형 리스트형 JPA Indexing 설정 방법 Entity 클래스에 인덱싱 설정 하려는 컬럼 명을 명시해주면 인덱싱 설정이 된다.@Table(indexes = {@Index(columnList="mycol1"), @Index(columnList="mycol2")})참고로 JPA 를 사용하여 자동 테이블 생성시 기본키, 참조키 는 자동으로 인덱싱을 해주게 된다. 참고자료 :https://stackoverflow.com/questions/3405229/specifying-an-index-non-unique-key-using-jpa 더보기 이전 1 다음