| I believe the following example illustrates the case that Daniel Nuß mentioned:
@Entity
@Audited
public class Address {
@Id @GeneratedValue
private Integer id;
private String street;
private String city;
private String state;
private String zipCode;
/* getter/setters */
}
@Entity
@Audited
public class Person {
@Id @GeneratedValue
private Integer id;
private String name;
@OneToOne
@JoinTable(name = "person_address")
private Address address;
/* getter/setters */
}
In this case, the REVEND_TSTMP is added to Person and Address audit tables but that field isn't found in person_address_AUD. I'll look to see what is involved in adding the field to the XML mapping tomorrow. |