![]() revisionProperty( "revDate" ).between(startDate, endDate)) get( entityManager ) ĪuditQuery query = reader.createQuery().forRevisionsOfEntity(Transmittal. What I am getting now is the first revision of all the entities that match the criteria instead of the current revision of the entities:ĪuditReader reader = AuditReaderFactory. I need to be able to generate dynamic queries, hopefully via the auditReader, where the insert date (from the revinfo) is between a provided start and end date and the current value of other attributes on the entity are equal to provided values. Insert date is now derived from the revinfo. I have an entity that has a status along with some other properties. Ok - I jumped the gun on thinking I had this working - turns out it isn't getting me quite what I need. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |