Content text 3_Hibernate-Entity-Lifecycle-and-Session-Methods.pdf
09e-BM/DT/FSOFT - @FPT SOFTWARE - FPT Software Academy - Internal Use Design by: DieuNT1 Hibernate Lifecycle and Session Methods 1
Agenda 09e-BM/DT/FSOFT - @FPT SOFTWARE - FPT Software Academy - Internal Use 1. Hibernate Object States/Lifecycle 2. Session methods: persist(), merge() 3. 4. Proxy Object: get() vs load() Question and Answer 2
Lesson Objectives 1 • Understand the Hibernate Object States/Lifecycle 3 • Able to use Session methods in your project 4 • Understand the Proxy Object and difference between get() vs load() method 09e-BM/DT/FSOFT - @FPT SOFTWARE - FPT Software Academy - Internal Use 3
Hibernate Object States/Lifecycle Section 01 09e-BM/DT/FSOFT - @FPT SOFTWARE - FPT Software Academy - Internal Use 4