Question: how hibernate works with spring?
Answer: create table in the database It is optional. create applicationContext. xml file It contains information of DataSource, SessionFactory etc. create Employee. ...  create employee. ...  create EmployeeDao. ...  create InsertTest.