1.

Which element of hbm.xml is used to map a Java class property to a column in the database table?

Answer»

The <property> element is used to map a Java class property to a column in the database table. The name attribute of the element refers to the property in the class and the column attribute refers to the column in the database table. The type attribute holds the hibernate mapping type, this mapping types will convert from Java to SQL data type.



Discussion

No Comment Found