توضیحاتی در مورد کتاب Pro JPA 2 in Java EE 8. An In-Depth Guide to Java Persistence APIs [3rd ed.]
نام کتاب : Pro JPA 2 in Java EE 8. An In-Depth Guide to Java Persistence APIs [3rd ed.]
عنوان ترجمه شده به فارسی : Pro JPA 2 در Java EE 8. یک راهنمای عمیق برای Java Persistence API [ویرایش سوم]
سری :
نویسندگان : Mike Keith, Merrick Schincariol, Massimo Nardone
ناشر : Apress
سال نشر : 2018
تعداد صفحات : 765
ISBN (شابک) : 9781484234204
زبان کتاب : english
فرمت کتاب : pdf
حجم کتاب : 4 مگابایت
بعد از تکمیل فرایند پرداخت لینک دانلود کتاب ارائه خواهد شد. درصورت ثبت نام و ورود به حساب کاربری خود قادر خواهید بود لیست کتاب های خریداری شده را مشاهده فرمایید.
فهرست مطالب :
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