Get it working in 5 minutes

This framework will work with the following JPA implementations:

  • Batoo
  • EclipseLink
  • Hibernate
  • OpenJPA

Add the dependency below to your pom.xml:

<dependency>
    <groupId>uaihebert.com</groupId>
    <artifactId>uaiCriteria</artifactId>
    <version>4.0.0</version>
</dependency>

To start using you will need to create an UaiCriteria instance:

final UaiCriteria<YOUR_ENTITY> uaiCriteria = createCriteria(YOUR_ENTITY.class);

Start using like:

uaiCriteria.equals("name", "Joseph");

Get the result like:

uaiCriteria.getResultList();