Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Department Layers Improvement | Final Touches
Java Data Manipulation with Hibernate

bookChallenge: Department Layers Improvement

Task

This task should be quite simple for you.

Your task is to implement the updateDepartment() method in the DepartmentDaoImpl class and also implement the updateDepartment() and updateDepartmentLocation() methods in the DepartmentServiceImpl class. After completing the task, run the code in the Main class, where the code for testing is already written. There, you can verify the functionality of your methods.

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 2

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Suggested prompts:

Can you explain what the `updateDepartment()` method should do?

What should happen if the department with the given ID does not exist?

Do you want to see an example of how to test these methods in the `Main` class?

Awesome!

Completion rate improved to 4.35

bookChallenge: Department Layers Improvement

Stryg for at vise menuen

Task

This task should be quite simple for you.

Your task is to implement the updateDepartment() method in the DepartmentDaoImpl class and also implement the updateDepartment() and updateDepartmentLocation() methods in the DepartmentServiceImpl class. After completing the task, run the code in the Main class, where the code for testing is already written. There, you can verify the functionality of your methods.

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 2
some-alt