Integrate spring with hibernate 4