Spring JPA using @MappedSuperclass joins the wrong entity type in QueryUtils when requesting Pageable w/ Sort
Context: In Kotlin, I have entity classes that are versioned, so there’s the general entity class “EntityA” and the entity “EntityAVersion”. @Entity @Table(name = “entity_a”) class EntityA( //single instanceCount field ) : VersionedEntity<EntityA, EntityAVersion>() as well the versioned entities @Entity @Table(name = “entity_a_version”) @JsonInclude(JsonInclude.Include.NON_NULL) class EntityAVersion( //Many columns unique to this entity A ) : … Read more