To create restrictions and projections on entity identifier use AuditEntity#id() method. This is actually shown in documentation examples. Linked pull requests adds the possibility to query individual properties of primary key. Review unit tests.
h5. Steps * have an @Audited entity {{A}} with {{@Id Long id}} * Use {{AuditEntity.property("id")}} ** for example: {{AuditEntity.property("id").desc()}} to order the results
h5. expected * {{AuditEntity.property("id")}} should reference the {{A.id}} in the AUD table ** thus, in the example, the audit query order should be over the {{ID}} col...
This message was sent by Atlassian JIRA (v6.1-OD-09-WN#6144-sha1:62dfc48)