문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 마지막 판 양쪽 다음 판 | ||
java:jpa:enum [2014/10/01 21:01] kwon37xi [Hibernate UserType] |
java:jpa:enum [2014/10/01 21:16] kwon37xi |
||
---|---|---|---|
줄 2: | 줄 2: | ||
* [[http:// | * [[http:// | ||
* JPA 2.0에서는 ENUM값을 자유롭게 변경해서 넣을 때 문제가 있다. JPA 2.1에서는 Converter가 있어서 관계 없음. | * JPA 2.0에서는 ENUM값을 자유롭게 변경해서 넣을 때 문제가 있다. JPA 2.1에서는 Converter가 있어서 관계 없음. | ||
+ | |||
+ | ====== Hibernate UserType ====== | ||
* [[https:// | * [[https:// | ||
* [[http:// | * [[http:// | ||
- | ====== Hibernate | + | * 위 두 링크에 있는 |
- | for Hibernate 4 | + | |
<code java> | <code java> | ||
public class GenericEnumUserType implements UserType, ParameterizedType { | public class GenericEnumUserType implements UserType, ParameterizedType { |