- EJB 3 Developer Guide
- Michael Sikora
- 115字
- 2021-07-02 11:34:57
Summary
Entities do not exist in isolation but are usually associated with other entities. This chapter examined how we map these associations onto a relational database. We first looked at an example with unidirectional one-to-one, one-to-many, and many-to-many associations. We described the @OneToOne, @OneToMany
and @ManyToMany
annotations for mapping associations to a relational database. Initially we relied on default object/relational mapping values.
We then described a bidirectional example and showed how we could override default object/relational mapping values.
We described eager and lazy loading mechanisms. We gave examples of the @Embedded, @Embeddable, @Enumerated
and @MapKey
annotations. We saw how to handle composite primary keys.
Finally we looked at a number of object/relational inheritance mapping strategies.
- Object/Oriented Programming in ColdFusion
- AI繪畫教程:Midjourney使用方法與技巧從入門到精通
- 改變思維:菜鳥也能做出震撼PPT(全彩版)
- AI圖像處理:Photoshop+Firefly后期處理技術基礎與實戰
- 計算機·手機生活應用
- 中文版Photoshop 2020基礎教程
- 中文版Photoshop CS6平面設計實例教程(第2版)
- Photoshop數碼攝影后期處理技法從入門到精通
- AutoCAD 2017從新手到高手
- Photoshop CC移動UI設計實用教程
- 用Multisim玩轉電路仿真
- Photoshop+CorelDRAW平面設計案例實戰:從入門到精通(視頻自學全彩版)
- 中文版Photoshop CC基礎教程
- KNIME視覺化數據分析
- 零基礎學Photoshop CS6(全視頻教學版)