hibernate1

Hibernate: One To One Example using Annotation

In this tutorial, you will learn how to work with one to one table relationship in Hibernate using Annotation. Tools & technologies used in this article: Java 1.6 Maven 3.2. Hibernate 4.x Oracle 11.2.0 Eclipse One-to-one relationship between TABLE A and TABLE B is as follows. Each row in a TABLE A is linked to 1 and […]

hibernate1

Hibernate: One To One Example using XML mapping

In this tutorial, you will learn how to work with one to one table relationship in Hibernate using XML mapping. Tools & technologies used in this article: Java 1.6 Maven 3.2. Hibernate 4.x Oracle 11.2.0 Eclipse One-to-one relationship between TABLE A and TABLE B is as follows. Each row in a TABLE A is linked to […]