title: Hibernate : Difference between @ Embedded annotation technique and @OneToOne annotation Technique
body: <p>What is the difference between @Embedded annotation technique and @OneToOne annotation technique because in Embedded the java class contain "Has a" relationship in class and with the help of @Embedded annotation we persist the has a object in database. and in OneToOne relationship we also persist the has a object in database.</p>