문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
java:hibernate:envers [2019/06/04 11:03] kwon37xi |
java:hibernate:envers [2021/04/29 16:53] (현재) kwon37xi |
||
---|---|---|---|
줄 29: | 줄 29: | ||
* '' | * '' | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | ===== ToOne 관계의 join column audit ===== | ||
+ | > If you want to audit a relation, where the target entity is not audited (that is the case for example with dictionary-like entities, which don't change and don't have to be audited), just annotate it with @Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED). Then, when reading historic versions of your entity, the relation will always point to the " | ||
+ | |||
+ | * 관계맺은 엔티티 자체는 audit 하지 않고, join column 값의 변화면 검사하고자 한다면 관계 매핑에 '' | ||
===== 참조 ===== | ===== 참조 ===== | ||
줄 35: | 줄 40: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// |