Unable to fetch Object in Hibernate Envers

2019-09-19 06:21发布

问题:

I'm trying to display the values in the RefAuthorizationVO Object when I call the DuaVO Object. But, when I debug it, the value is shown as null.

I'm passing an authorizationCode as "BENE" and wanted the particular column fetch from the RefAuthorization Table.

But, I all I see is a null. I'm kinda lost here.

Main Class

    public void getDuaObject() {

        // findAuditByRevision("DuaNum", Revision Number);
        DuaVO dua = findAuditByRevisionNum("1", 1026);

}