add jpa annotations for database integrity and persistence.xml