𝔖 Scriptorium
✦   LIBER   ✦

📁

Pro JPA 2 in Java EE 8. An In-Depth Guide to Java Persistence APIs [3rd ed.]

✍ Scribed by Mike Keith, Merrick Schincariol, Massimo Nardone


Publisher
Apress
Year
2018
Tongue
English
Leaves
765
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Table of Contents


Contents......Page 3
Intro......Page 15
Relational Databases......Page 16
Object-Relational Mapping......Page 17
Java Support for Persistence......Page 25
Why Another Standard?......Page 30
The Java Persistence API......Page 31
Summary......Page 38
Entity Overview......Page 39
Entity Metadata......Page 42
Creating an Entity......Page 45
Entity Manager......Page 48
Putting It All Together......Page 58
Packaging It Up......Page 61
Summary......Page 63
Enterprise Applications......Page 64
Application Component Models......Page 67
Session Beans......Page 69
Servlets......Page 80
Dependency Management and CDI......Page 82
CDI and Contextual Injection......Page 91
T ransaction Management......Page 98
Putting It All Together......Page 108
Summar y......Page 112
Object-Relational Mapping......Page 114
P ersistence Annotations......Page 115
Accessing Entity State......Page 116
Mapping to a Table......Page 121
Mapping Simple Types......Page 123
Mapping the Primary Key......Page 133
Relationships......Page 142
Embedded Objects......Page 162
Summar y......Page 167
Relationships and Element Collections......Page 169
Using Different Collection Types......Page 173
Best Practices......Page 200
Summary......Page 201
P ersistence Contexts......Page 202
Entity Managers......Page 203
Transaction Management......Page 212
Choosing an Entity Manager......Page 235
Entity Manager Operations......Page 236
Synchronization with the Database......Page 245
Detachment and Merging......Page 249
Summary......Page 278
Using Queries......Page 279
Java Persistence Query Language......Page 280
Defining Queries......Page 284
P arameter Types......Page 292
Executing Queries......Page 295
Bulk Update and Delete......Page 310
Query Hints......Page 315
Query Best Practices......Page 317
Summary......Page 320
Introducing JP QL......Page 322
Select Queries......Page 328
Aggregate Queries......Page 363
Update Queries......Page 368
Delete Queries......Page 369
Summary......Page 370
Over view......Page 371
Building Criteria API Queries......Page 378
Bulk Update and Delete......Page 411
Strongly Typed Query Definitions......Page 413
Summary......Page 421
Advanced Object-Relational Mapping......Page 423
Table and Column Names......Page 424
Converting Entity State......Page 426
Complex Embedded Objects......Page 433
Compound Primary Keys......Page 437
Derived Identifiers......Page 442
Advanced Mapping Elements......Page 451
Advanced Relationships......Page 454
Multiple Tables......Page 464
Inheritance......Page 469
Summar y......Page 488
SQL Queries......Page 490
Entity Graphs......Page 512
Summary......Page 532
Lifec ycle Callbacks......Page 534
V alidation......Page 549
Refreshing Entity State......Page 562
Locking......Page 566
Caching......Page 587
Utility Classes......Page 596
Summary......Page 598
XML Mapping Files......Page 599
The Metadata Puzzle......Page 601
The Mapping File......Page 602
Summar y......Page 660
Packaging & Deployment......Page 661
Configuring Persistence Units......Page 662
Building and Deploying......Page 675
Outside the Server......Page 683
Schema Generation......Page 688
Summary......Page 703
Testing Enterprise Applications......Page 705
Unit Testing......Page 710
Integration Testing......Page 719
Best Practices......Page 744
Summar y......Page 745
Index......Page 747


📜 SIMILAR VOLUMES


Pro JPA 2 in Java EE 8: An In-Depth Guid
✍ Mike Keith, Merrick Schincariol, Massimo Nardone 📂 Library 📅 2018 🏛 Apress 🌐 English

<div><div>Learn to use the Java Persistence API (JPA) and other related APIs as found in the Java EE 8 platform from the perspective of one of the specification creators. A one-of-a-kind resource, this in-depth book provides both theoretical and practical coverage of JPA usage for experienced Java d

Pro Jakarta Persistence in Jakarta EE 10
✍ Lukas Jungmann et al 📂 Library 📅 2022 🏛 Apress 🌐 English

Introduction Learn to use the Jakarta Persistence API and other related APIs as found in the Jakarta EE 10 platform from the perspective of one of the specification creators. A one-of-a-kind resource, this in-depth book provides both theoretical and practical coverage of Jakarta Persistence usage

Pro Jakarta Persistence in Jakarta EE 10
✍ Lukas Jungmann, Mike Keith, Merrick Schincariol, Massimo Nardone 📂 Library 📅 2021 🏛 Apress 🌐 English

<div>Learn to use the Jakarta Persistence API and other related APIs as found in the Jakarta EE 10 platform from the perspective of one of the specification creators. A one-of-a-kind resource, this in-depth book provides both theoretical and practical coverage of Jakarta Persistence usage for experi

Pro JPA 2 in Java EE 8
✍ Mike Keith, Merrick Schincariol & Massimo Nardone 📂 Library 📅 0 🏛 Apress, Berkeley, CA 🌐 English
Pro CDI 2 in Java EE 8 - An In-Depth Gui
✍ Jan Beernink, Arjan Tijms 📂 Library 📅 2019 🏛 Apress 🌐 English

In Pro CDI 2 in Java EE 8, use CDI and the CDI 2.0 to automatically manage the life cycle of your enterprise Java, Java EE, or Jakarta EE application’s beans using predefined scopes and define custom life cycles using scopes. In this book, you will see how you can implement dynamic and asynchronous

Pro JPA 2: Mastering the Java™ Persisten
✍ Mike Keith, Merrick Schincariol 📂 Library 📅 2009 🏛 Apress 🌐 English

Maybe I am stubborn, or maybe just rational, but I see no reason to force EJBs on myself when there are many simpler and more robust ways of doing things. The entire book, except for one chapter on Java SE, assumes that you are wiring everything, including transactions with EJBs. I would suggest t