Conteúdo do Curso
Java Data Manipulation with Hibernate
Java Data Manipulation with Hibernate
2. Fundamentals of Hibernate
Hibernate. ORMHibernate Config and EntitiesChallenge: Entity CreationTransactions and SessionImplementing DAO Pattern for our ProgramChallenge: Implementing DAO`query()` and `nativeQuery()`Challenge: QueryEntity Relations and Cascade TypesImplementing the `Role` EntityChallenge: Role Layers ImplementationSection 2 Summary
Challenge: 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.
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 2