Is there a way to express a query on properties of extended revision entity ?
@RevisionEntity(ExtendedRevisionListener.class)
public class ExtendedRevisionEntity {
@RevisionNumber
protected Integer versionNumber;
@RevisionTimestamp
protected long timestamp;
/* custom fields */
protected int sequenceNumber;
protected Date receiptDate;
public ExtendedRevisionEntity(){}
}
@Versioned
public class Message {
protected Integer messageNumber;
protected String status;
protected String text;
public Message(){}
}
Hello,
it's not possible on 1.1.0.GA, but it is possible with the trunk version.
There, you just need to do query.revisionProperty("someProeprty").eq/le/etc
--
Adam