I am trying to follow this tutorial : http://howtodoinjava.com/2014/09/25/hibernate-jpa-cascade-types/
and there one side has @OneToMany mapping and the other has @OneToOne. Is that possible ? I am getting error
Caused by: org.hibernate.AnnotationException: Referenced property not a (One|Many)ToOne: com.springapp.mvc.entities.EmployeeEntity.accounts in mappedBy of com.springapp.mvc.entities.AccountEntity.employee