Posted On: Feb 22, 2018
It is similar to the many-to-one association and the difference lies in the column that will be set as a unique one.The many-to-one element is used to define one-to-one association.
To the defined variable a name attribute is set in the parent class and the column attribute is used to set column name in the parent table, which is unique so that only one object gets associated with another.
Never Miss an Articles from us.
Hibernate is a free software, which is distributed under GNU Lesser General public license 2.1. It is categorized under the Object Relational Mapping (ORM)...
HQL is the acronym of Hibernate Query Language.It considers the java objects in a similar way as that of the SQL. It is..
Some of the advantages of Hibernate are: It provides Simple Querying of data. An application server is not required to..