JPA 2.0 - The Criteria API
By pelegri on Nov 28, 2008
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.