This content has been marked as final.
Show 3 replies
-
1. Problem with @ManyToOne relation using @MappedSuperclass
hernanbolido Jan 24, 2011 5:27 PM (in response to wallenborn)Hi!
Is the@MappedSuperclass marked as @Audited?
Hernán.
-
2. Problem with @ManyToOne relation using @MappedSuperclass
wallenborn Jan 25, 2011 6:32 AM (in response to hernanbolido)I tried that and it doesn't seem to make a difference. Annotating the fields of the mapped superclass doesn't change things either. Also, there are @Entity classes derived from DBEntity which are not audited, so i'd like to keep the mapped superclass free of envers annotations.
-
3. Problem with @ManyToOne relation using @MappedSuperclass
adamw Jan 29, 2011 3:44 PM (in response to wallenborn)Hmm this would need some debugging, I would say that adding @Audited to the mapped superclass should work as Hernan said. Maybe try creating a simple test case (there are a lot of them in the Envers testsuite) and see what happens inside.
Adam