Just checking if polymorphism works in a simple Spring Boot/Hibernate/JPA project using an in-memory DB