How do you map Java Objects with Database tables?
In Hibernate to map the Java objects with database tables you would have to first create a Pojo class containing setter and getter methods of data member. Then create the hibernate mapping xml file i.e. hbm.xml file and then map the Java class to table and database columns to Java class variables.
For reading more detail please visit the following link may, this will be helpful for you.