| I was not able to reproduce this in the normal Hibernate test suite so I dug into your attached project. The solution to your problem is documented in these two posts
- https://stackoverflow.com/a/24994562/1572269
- https://stackoverflow.com/a/35497279/1572269
There was no need to use Hibernate.initialize in your case because the returned objects from Envers will hydrate just fine into Jackson if you configure the environment correctly. You either need to use the annotation described in the first post or the configuration setting specified in the second post. |