Error:No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
To solve this problem. You have to do two things: 1. mark the DAO as transactional or function which is doing database call like: @Transactional public class EmployeeDaoImpl extends DaoImpl implements EmployeeDao{ ///// } OR @Transactional public long addEmployee(Employee employee) { System.out.println("Employee:"+employee ); long id = employeeDao.addEmployee(employee); System.out.println("Id1: " ); return id; } 2. Enable the annotation driven transcation management in applicationContext.xml (where your beans are defined): <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="ht...