Java Development News:
JPA 101 Java Persistence Explained
By Chris Maki
01 Mar 2007 | TheServerSide.com
This chapter, excerpted from JPA 101, focuses on the Java Persistence Query Language (JPQL). It looks at the fetch join operator and delves into JPQL's bulk operation support.
The Java Persistence API (JPA) was introduced as part of the Java EE 5 platform to simplify the development of Java applications using data persistence and to unify the community behind a standard lightweight persistence API. The JPA specification was based on the best ideas from existing persistence technologies but now provides existing Hibernate, TopLink and Kodo customers with a standard model for object/relational mapping.
JPA 101: Java Persistence Explained is a fundamentals guide to the ins and outs of JPA, the Java object/relational mapping and persistence standard for both Java SE and Java EE applications. The book covers the basics of working with the JPA, JPA annotations, Entity Manager, JPA Query Language, and tools.
As you work through the tutorial, you will build a simple Maven 2 project and Hibernate object model.
Chris Maki is an independent consultant specializing in server-side Java development. He has been designing and building server-side systems for 15 years in C++, Objective-C, and Java. Chris spent many years working as an enterprise architect specializing in large-scale Java system design and development. He is now helping development teams transition to the Java EE 5.0 platform. In addition to being a Java evangelist, he is an avid proponent of Agile Software Development.
Chris is the President of the Utah Java User Group and a member of the WebBeans expert group (JSR-299). When Chris isn’t playing with his computer, you can find him hanging out with his wonderful wife of 12 years, Nicole, and their three boys, Trenton, Avery, and Brayden.
You can find Chris on his blog at jroller.com/page/cmaki.