Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Role Layers Implementation | Fundamentals of Hibernate
Java Data Manipulation with Hibernate
course content

Course Content

Java Data Manipulation with Hibernate

Java Data Manipulation with Hibernate

1. JDBC Overview
2. Fundamentals of Hibernate
3. Final Touches

bookChallenge: Role Layers Implementation

Task

Now let's get to the task:

Your task is to implement the methods in the classes RoleDaoImpl, RoleServiceImpl, EmployeeDaoImpl, and EmployeeServiceImpl. This is not difficult; you have done this many times. The only potential challenge might be with the updateRole method, but I'm confident you can handle it.

To test your solution, you need to run the code I have written for you in the main class. Then, you will need to compare the result with the correct result, which I will provide below.

Testing such large applications with database interaction implementation becomes increasingly challenging, so now your project will be tested by yourself (or you can peek at the Solution).

Correct output:

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 11
some-alt