Pro JPA 2

Portada
Apress, 7 oct 2013 - 508 páginas

Pro JPA 2, Second Edition introduces, explains, and demonstrates how to use the new Java Persistence API (JPA) 2.1 from the perspective of one of the specification creators. A one-of-a-kind resource, it provides both theoretical and extremely practical coverage of JPA usage for both beginning and advanced developers.

Authors Mike Keith and Merrick Schincariol take a hands–on approach, based on their wealth of experience and expertise, by giving examples to illustrate each concept of the API and showing how it is used in practice. The examples use a common model from an overriding sample application, giving readers a context from which to start and helping them to understand the examples within an already familiar domain. After completing the book, you will have a full understanding of JPA and be able to successfully code applications using its annotations and APIs. The book also serves as an excellent reference guide during initial and later JPA application experiences.

  • Hands-on examples for all aspects of the JPA specification
  • Expert insight about various aspects of the API and when they are useful
  • Portability hints to provide increased awareness of the potential for non–portable JPA code
 

Páginas seleccionadas

Índice

Introduction
1
Getting Started
15
Enterprise Applications
29
ObjectRelational Mapping
59
Collection Mapping
95
Entity Manager
117
Using Queries
165
Query Language
193
Other Advanced Topics
337
XML Mapping Files
379
Packaging and Deployment
419
Testing
445
Index
473
Contents
vii
About the Authors
xix
About the Technical Reviewer
xx

Criteria API
227
Advanced ObjectRelational Mapping
263
Advanced Queries
307
Acknowledgments
xxi
Página de créditos

Otras ediciones - Ver todo

Términos y frases comunes

Sobre el autor (2013)

Mike Keith wasthe co-specification lead for JPA 1.0 and a member of the JPA 2.0 and JPA 2.1expert groups. He sits on a number of other Java Community Process expertgroups and the Enterprise Expert Group (EEG) in the OSGi Alliance. He holds aMasters degree in Computer Science from Carleton University, and has over 20years experience in persistence and distributed systems research and practice.He has written papers and articles on JPA and spoken at numerous conferencesaround the world. He is employed as an architect at Oracle in Ottawa, Canada,and is married with four kids and two dogs.

Información bibliográfica