Important properties in hibernate configuration file

There are mainly six important tags for hibernate configuration file. Hibernate configuration file naming convension is generally hibernate.cfg.xml and it is generally placed in the classpath. This can also be configured in the hibernate.properties file. If both hibernate.cfg.xml and hibernate.properties are found in the classpath then hibernate.cfg.xml overrides hibernate.properties file.

Read More

Integrate Spring 3, Struts 2 and Hibernate 3

This tutorial shows how to integrate Spring 3, Struts2 and Hibernate 3 in the following example. You can see also Struts 2, Spring 4, Hibernate 4 and Maven Integration Download the required jars for Spring from https://spring.io, Struts from http://struts.apache.org/download.cgi#struts2316 and Hibernate from http://hibernate.org/orm/downloads/ Create web application using Eclipse or any Java based IDE.

Read More