Tutorial Home
Hibernate
StrutsJSP
Spring
|
Hibernate Tutorial Step by Step -- Code ExamplesHibernate mapping with Database TABLEFollow the steps to mapp with Database TABLE. Step 1. create a table name OFFER in your database
Step 2. Create Offer.java bean class.
Step 3. Offer.hbm.xml - This mapps OFFER TABLE and Offer.java
Step 4. add Offer.hbm.xml into hibernate.cfg.xml
|