Refactoring extracting ORM information into MappedSuperclass