Notes in Category: snippets

Simple POJO Example – Employee

 

Read More

Hibernate Example Configuration File — hibernate.cfg.xml

The configuration file contains information about the database and mapping file. Conventionally, its name should be hibernate.cfg.xml.
create an XML file named hibernate.cfg.xml under the resources folder

 

Read More