First Application Of Hibernate
Previous Home Next

It is a first application which persist data into database:

Step 1:-

first we create a hibernate.cfg.xml file: Hibernate uses the hibernate.cfg.xml to create the connection pool and setup required environment.


<?xml version=
'1.0' encoding=
<!DOCTYPE hibernate-configuration PUBLIC
/Hibernate Configuration DTD 3.
<!-- Generated by MyEclipse Hibernate Tools. -->
<property name=
<property name=
<property name=
<property name=
<property name=
<mapping resource=
Previous Home Next