Model types changed from ebean to JPA