Inherited Fields Not Persisting

I am facing a weird issue in 7.2.19 when I persist an entity with inherited fields. When I debug, I can see values in the entities but after persisting using dataManager.persist(entity) the entity is saved but the ingerited fields are not persisted. I’m using PostgreSQL as the application db.

Another variant of this problems when I try to extract the value from this field even after casting to Entity<?> and using the getValue(columnName) funciton of entity. Anybody else faced such an issue?

The base class is annotated as @MappedMasterClass.

Hi,
To suggest something, the community needs the following code snippets:

  • how you define the entity: inherited and base one
  • how you populate field values
  • how you save the entity