문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
java:hibernate:annotations [2018/07/10 08:57] kwon37xi |
java:hibernate:annotations [2018/10/04 11:10] kwon37xi [@org.hibernate.annotations.Immutable] |
||
---|---|---|---|
줄 75: | 줄 75: | ||
===== @org.hibernate.annotations.Immutable ===== | ===== @org.hibernate.annotations.Immutable ===== | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
* Entity나 immutable로 지정하면 수정이 작동하지 않게 된다. | * Entity나 immutable로 지정하면 수정이 작동하지 않게 된다. | ||
* Collection을 immutable로 지정하면 추가나 삭제가 작동하지 않게 된다. | * Collection을 immutable로 지정하면 추가나 삭제가 작동하지 않게 된다. | ||
+ | * **'' | ||
+ | * 주의! : '' | ||
+ | hibernate.query.immutable_entity_update_query_handling_mode=exception | ||
+ | </ | ||
===== @org.hibernate.annotations.OptimisticLocking ===== | ===== @org.hibernate.annotations.OptimisticLocking ===== |