adding jpa2 entities and some bean validations