Removed Hibernate-specific code and replace with JPA equivalents.
Made all id's use GenerationType.IDENTITY; Replaced wildcard imports with specifics.
Formally named unique and foreign keys.
Update plugins