Bài 22 / 46~4 phútJPA FundamentalsMiễn phí… lượt xem
JPA Fundamentals — tổng quan
Module nền tảng JPA: từ bài toán ORM, EntityManager/JPQL, tới cách map entity sang table và pitfall equals/hashCode.
Module nền tảng JPA: từ bài toán ORM, EntityManager/JPQL, tới cách map entity sang table và pitfall equals/hashCode.
Các bài trong module
- ORM & impedance mismatch
- EntityManager, JPQL & Spring Data setup
- @Entity & @Id strategies
- @Column, @Enumerated, @Embeddable & naming
- Lifecycle callbacks & equals/hashCode
Learning outcomes
- Explain ORM impedance mismatch và 3 layer (JPA/Hibernate/Spring Data)
- Implement @Entity đúng yêu cầu + @Id generation strategies
- Compare @Enumerated STRING vs ORDINAL và @Embeddable value object
- Design equals/hashCode cho entity null-safe
Yêu cầu trước
Hoàn thành course Spring MVC.
Bài này có giúp bạn hiểu bản chất không?
Hỏi đáp về bài này
Chưa có câu hỏi
Có gì chưa rõ trong bài? Đặt câu hỏi đầu tiên — câu trả lời từ cộng đồng giúp bạn (và người sau).
Đặt câu hỏi đầu tiên