Well, you could extend the SingleTableEntityPersister
and override the hydrate
method to achieve this. If this is fine for you, see this documentation article about this: Hibernate ORM 5.5.2.Final User Guide
1 Like