onetoone « Annotation « JPA Q&A





1. How to annotate OneToOne for a non persistent entity    forum.hibernate.org

I have two classes A, B. A has a uni directional one-one with B. A has 5 properties is mapped to a table TableA B has 3 properties mapped to TableA again So B doesnt really have another table but its the same table Now in hibernate, how do I give the one-one mapping of A->B as B doesnt have a ...