JPA 2.0 - The Criteria API


JPA 2.0 went into Public Review Draft on Nov 14 (announcement, JSR 317, download) and Linda is writing short summaries of its key features. The latest is on the Criteria API (Chapter 5 in the spec), a non-string-based API for the dynamic construction of object-based queries.

Linda introduces the Criteria API and then shows how to use it for her earlier JPQL 2 Examples. Also check out these mini-prezos: Linda on JPA 2.0 and Gordon on EclipseLink. Send feedback to jsr-317-pdr-feedback at sun dot com. Also see other posts tagged as JavaEE6.



Posted by tattoo on November 29, 2008 at 02:29 AM PST #

Post a Comment:
Comments are closed for this entry.