Hibernate Team |
|
Joined: Wed Jun 15, 2016 9:04 am Posts: 24
|
Unfortunately, there isn't a good way to implement what you were able to do in Hibernate 4. In 5.x, Envers now contributes a ServiceLoader implementation of org.hibernate.boot.spi.AdditionalJaxbMappingProducer that basically provides ORM with a collection of MappingDocument(s) which it uses as part of org.hibernate.boot.model.process.spi.MetadataBuildingProcess.
I would like to understand what are the additional columns you're adding and their purpose? Are you using them as part of custom event listeners?
|
|