basic mapping for JPA done