minor fixes
JPA inheritance