Win a copy of Reactive Design Patterns this week in the Functional Programming forum
or Learn Linux in a Month of Lunches in the Linux forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Auditing on embedded field using Envers

 
Frederick Gaens
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to audit an embedded field using envers?

Given the following two classes:





In what way can I do auditing on the RoomInformation class without auditing the Incident class?
 
Rob Spoor
Sheriff
Posts: 20801
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I doubt you can, because auditing uses separate auditing tables. There's no table for RoomInformation, only for Incident. You can always try using @NotAudited on the properties of Incident.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!