About: Java Persistence Query Language is a research topic. Over the lifetime, 3 publications have been published within this topic receiving 8 citations.
TL;DR: 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.
Abstract: 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 handson 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 nonportable JPA code What youll learn How to get started with enterprise applications using JPA 2.1 Simple and advanced objectrelational mapping techiques How to use the complete Entity Manager API How to create queries using the query language (JP QL) and the Criteria API Locking, concurrency, and other advanced concepts How to use XML mapping files and descriptors How to package and deploy your Java Persistence applications How to test your Java Persistence applications Who this book is forThe book generally targets enterprise and persistence developers who fall in one of three categories: Those who are new to persistence; we will offer an introduction to persistence and to the basic concepts so these readers can have solid base from which to become proficient at JPA. Those who know and/or use existing ORM persistence products such as Hibernate or TopLink/EclipseLink. Those who have already used JPA and want to learn about newer features introduced by JPA 2.1, or have a good reference book to consult when they develop JPA applications. In general, we assume that the reader is knowledgeable with Java, SQL, and JDBC, and has a little knowledge of Java EE. Table of Contents Introduction Getting Started Enterprise Applications Object Relational Mapping Collection Mapping Entity Manager Using Queries Java Persistence Query Language Criteria Advanced Object Relational Mapping Advanced Queries Advanced Topics XML Mapping Files Packaging and Deployment Testing
TL;DR: Using JPQL along with Java EE entities allows developers to create versatile applications because JPQL is not database-specific and applications can be written once and deployed to run on top of a myriad of databases.
Abstract: The Java Persistence API (JPA) utilizes a query language for communicating with underlying data stores. Although Java EE uses entities rather than SQL for database access, it provides a query language so that developers can obtain the required information via the entities. The Java Persistence Query Language (JPQL) does just that because it provides a facility for querying and working with Java EE entity objects. Although it is very similar to SQL, it is an object-relational query language, so there are some minor differences of which developers should be aware. Using JPQL along with Java EE entities allows developers to create versatile applications because JPQL is not database-specific and applications can be written once and deployed to run on top of a myriad of databases.
TL;DR: This book demonstrates a step-by-step guide to developing Web as well as Enterprise applications [using EJB 3 ] which re-enforces all the learning that takes place throughout the book.
Abstract: Covers EJB 3.1 using GlassFish v3 Prelude Designed for beginners and intermediate developers, this book teaches JPA from the ground up with an aim to get the reader up to speed with JPA as quickly as possible. It delves deeply into the core of the JPA, providing a sound understanding of the components that make up the framework and the way they interact with each other. This book uses the learning by doing pattern with a lot of ready-to-use examples. This pattern has proven to be the best approach for learning a new technology. Most [if not all] of the concepts that you will find in this book are demonstrated using well described and easy to understand examples, yet sophisticated enough to demonstrate JPA in a real-world context. This book demonstrates a step-by-step guide to developing Web as well as Enterprise applications [using EJB 3 ] which re-enforces all the learning that takes place throughout the book. It also teaches how to integrate an enterprise application with Struts2. Not only this, the book also introduces EJB 3.1 [a part of Java EE 6] and demonstrates developing a IPA based EIB 3.1 application with the help of Glassfish v3 Prelude. Topics Covered In The Book Introduction Persistence, Object/Relational Mapping And JPA, Introduction To Java Persistence API, Writing The First Application Core Components Of JPA Entity, Entity Manager And Its Factory, Transactions, Persistence Unit Metadata Getting Started With Metadata, Database Identity, Associations, Collections, Inheritance, Defining Metadata Using XML The JPA Query Language The Basics Of Java Persistence Query Language, Joins, Query Interface, Pagination, Named Queries, Native SQL Queries Web Application Development Customer Database Web Application, Subscriber Management Web Application Enterprise Application Development Introduction To EJB 3.0, Customer Database Enterprise Application, Integrating Customer Database Enterprise Application With Struts2 Enterprise Application Development Using EJB 3.1 Introduction To EJB 3.1, Customer Database Enterprise Application Appendix Installing The NetBeans IDE, Customer Database Application Using Different ORMs CD-Rom Contents Setup files for JDK 6, NetBeans IDE 6.5, Hibernate Core 3.x, Hibernate Annotations 3.x, Hibernate EntityManager 3.x, Struts 2.x, MySQL Community Server 6.x, JDBC Drivers, Library files for Display Tags, EclipseLink, TopLink and OpenJPA. Source code for the examples covered in this book.