You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hibernate-envers/src/test/java/org/hibernate/envers/test/integration/query/RelationTargetNotAuditedTest.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -28,14 +28,14 @@
28
28
29
29
/**
30
30
* Tests that {@link RelationTargetAuditMode#NOT_AUDITED} works correctly when loading audit history.
31
-
* The Child entity is marked as @Audited but the Parent's reference to Child is marked with
32
-
* targetAuditMode = NOT_AUDITED, so it should load the current Child entity from the main tables
33
-
* instead of trying to load from audit tables.
31
+
* When a relation is marked with NOT_AUDITED mode, the target entity is loaded from the current
32
+
* table rather than from audit tables, so changes to the target entity are visible when querying
0 commit comments