[JPA] postgresql array column 매핑
하고 싶은 것 postgresql 에 로또 번호가 담긴 int[] 컬럼이 존재한다. (int array column) 이걸 JPA 에 매핑하여 조회하고 싶다. 해결 방법 1. hibernate 버전을 확인한다. (아래 소스는 5버전 방법이다. 6버전은 찾아보시오.) public static void main(String[] args) { try { String hibernateVersion = org.hibernate.annotations.common.Version.getVersionString(); System.out.println("Hibernate Version: "+ hibernateVersion); } catch (Exception e) { e.printStackTrace(); } } Hiber..