Writing ORM for Insurance table
In this lesson we will write the java class and add necessary code in the contact.hbm.xml file.Create POJO class:Here is the code of our java file (Insurance.java), which we will map to the insurance table.
to set. { |
Add the following code into contact.hbm.xml file.
<class name="roseindia.tutorial.hibernate. |
No comments:
Post a Comment