Question: Write a spring program for the following. Please use hibernate for database operation from spring. ( a ) Fetch the employee data from Employee table

Write a spring program for the following. Please use hibernate for database operation from spring.
(a) Fetch the employee data from Employee table for the employee name "john marquee" along with the salary details. Compute the salary and display the net salary. Salary details are computed as given below:
Gross salary = basic + hra + da
Net salary = gross salary -(tax deductions + deductions).
Tax is 15% of net salary.
(b) Table structure of Employee in the database.
\table[[Id,Integer],[Name,Varchar(20)],[Basic,Integer],[HRA,Integer],[DA,Integer],[Deductions,Integer]]
(c) Insert 10 records in the Employee table filling in all the columns and let one of the
Write a spring program for the following. Please

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!