Introduction

Criteria4JPA aims to to provide a clone of the Hibernate Criteria API build on top of the Java Persistence API (JPA).

The two main goals of Criteria4JPA are:

  • Keep the API as close to the Hibernate Criteria API as possible.
  • Require only a standard JPA environment to run.

The project is currently under heavy work and not feature complete yet. We will try to provide snapshots of the current development on a regular basis. See the the Roadmap for details on implemented and planed features.

If you want to give Criteria4JPA a try, take a look at the Installation Instructions and the One Minute Tutorial to get started.

News

February 15, 2010 - Criteria4JPA 0.2 released

Criteria4JPA 0.2 has been released. You can get the new version from our Download Page or directly from the Maven Central Repository. Please refer to the Installation Instructions for details.

This version contains several new features like:

  • Case-insensitive LIKE expressions
  • Support for IN and MEMBER OF expressions
  • A new COUNT projection
  • Implementation of all major aggregate functions (AVG, MIN, MAX, ...)
  • Possibility to add custom JPQL restrictions to you criteria

See the Changelog for details on all new features of the current version.

November 12, 2009 - Criteria4JPA 0.1.1 released

Today Criteria4JPA 0.1.1 has been released. This is a bugfix release containing patches regarding major incompatibilities with OpenJPA and EclipseLink that have been discovered while working on new integration tests for the development version. If you are currently using Criteria4JPA 0.1 you should be able to update to version 0.1.1 without any migration issues.

November 1, 2009 - Criteria4JPA 0.1 released

I'm very pleased to announce the release of Criteria4JPA 0.1, the first official version of Criteria4JPA. You may download the binary and the source archives on the Download Page. If you are using Apache Maven, you may use the project's public maven repository. See Installation Instructions for details.

September 21, 2009 - First snapshots available

I'm pleased to announce that the first development snapshots have been deployed to the Maven Snapshot Repository. If you would like to give any kind of feedback, please consider posting on the new Discussion Forum or create a ticket on the Issue Tracker.