For example I have two entities:
@Entity
@Audited
@Table(....
public class Worker
{
private Long id;
private String name ;
}
@Entity
@Audited
@Table(....
public class Department
{
private Long id;
private String departmentName;
private Worker worker;
}
I want to display the following data for Department:
| departmentName | name (from fetched entityworker) |
When using AuditQuery to get audit information for entity Department, is it possible to fetch the entity Worker to display name value for more human readable display?