Consider this scenario. You have several classes implementing the same interface and you’d like to persist this interface type within an entity. The JPA is not able to handle that, but there is a workaround! Lets make an example: A Plate (entity) has the attribute of type Fruit (interface). The apple, orange and the banana… Continue reading persitsing an interface type with JPA