Access Keys:
Skip to content (Access Key - 0)

The Java Persistence Criteria API


The new Criteria API is one of the most significant additions to JPA in the JPA 2.0 release. This API enables the writing of both static and dynamic object-based queries, and provides all of the functionality of the Java Persistence query language and more.

This session will provide an overview both of the Criteria API as well as the new JPA Metamodel API, which provides the foundation for the type-safety of criteria queries.

Topics to be covered include the following:

  • Overview of the core query construction interfaces
  • How to construct, deconstruct, or reconstruct a criteria query
  • The JPA metamodel API and its role in defining type-safe queries
  • New APIs for type-safe query execution
  • Relationship to the Java Persistence query language


View talk on

Do you like this talk?

Related Presentations

Beginning with the Java EE 6 Platform
Creating Lightweight Applications With Nothing But Vanilla Java EE 6
Java EE 6 Tooling Status what am I missing
Java EE 6 Tutorial. Reloaded!
Java Persistence 2.0
JPA Futures
Project Lombok Boilerplate busters
The Java Persistence Criteria API
To scale or not to scale
What's new in Hibernate a JPA 2 perspective

Search by Tag

Below are the 190 labels used in Devoxx 2010 listed alphabetically. Click on a label to see its associated content.
activiti, actors, adobe, agile, air, ajax, akka, alm, amazon, analysis, android, animations, annotations, apache, ast, asynchronous, atomsphere, authentication, authorization, authz, azure bayeux, birt, blackberry, bof, bpm caching, camel, cassandra, cdi, ci, clojure, closures, cloud, clusters, collaboration, collections, comet, conference
design, devops, dsl, duchess, dvcs, ec2, eclipse, ehcache, ejb3, ejb31 faces, fantom, findbugs, flash, flex, flex4, foss gae, gaelyk, gis, git, glassfish, google, grails, groovy, gui, guice, gwt
hadoop, hazelcast, hbase, hdfs, hibernate, hive, html, html5, http, hudson, infinispan, ioc, iphone, itext, izpack j2ee, java7, java8, javaee, javaee6, javafx, javaposse, javascript, javase, javase7, javase8, jax-rs, jax-ws, jdk, jdk7, jdk8, jms, jmx, jpa, jpa2, jquery, jsf, jsf2, jsonp, jsr299, jsr330, jug, jvm labs, lambda, loadui, lombok, mahout, mapreduce, maven, methodology, microsoft, mobile, modules, mongodb, morlocks, multicore, mylyn
news, nexus, no-sidebar, nosql, oauth, oltp, openam, openid, openjdk, openoffice, osgi parleys, patterns, pdf, performance, prototype, puzzlers, quickie, rails, repl, reporting, rest, ria, roo scala, scalable, seam, search, servlet, servlet3, soa, soloist, speakers, spock, spring, springmvc, sql, stm, struts, svn, symbian
tapestry, tdd, testing, tools, tools_in_action, twitter, uma, uml, university, url, visualvm, voldemort w3c, web20, webos, websockets, websphere, weld, wicket, ws-addressing, wtp, xfa, xhr, xml
Adaptavist Theme Builder Powered by Atlassian Confluence