简体   繁体   中英

Hibernate Envers : Get REVEND_TSTMP from revision entity

I'd like to get REVEND_TSTMP value from a revision entity.

Currently I'm using :

AuditQuery query = reader.createQuery()
    .forRevisionsOfEntity(TestEntity.class, false, true)
    .add(AuditEntity.id().eq(entity.getUUID()));

Which gives me a list of arrays :

[ {TestEntity@XXXXX,DefaultRevisionEntity(id = 10, revisionDate = 05-sept.-2014 15:16:44),MOD} ]

How could I include revisionEndDate to this?

恐怕目前无法实现-但请添加功能请求!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM