Build Status Maven Central

Main advantages / assumptions:

  • simple, friendly API
  • without any other generated classed based on database schema (no more fights with always problematics metamodels)
  • possibility to build complex joins with detailed projections
  • work on all databases supported by Hibernate
  • designed for a select queries (not supported update queries now)
  • separate module for spring integration (Spring Pageable abstraction support)
  • set of mappers for simple result transformations
  • support custom SQL query parts
  • separate test module with examples build on top of JPA & Spring Boot

Library available on Maven Central Repository

<!-- core module -->
<dependency>
    <groupId>com.github.pnowy.nc</groupId>
    <artifactId>nativeCriteria-core</artifactId>
    <version>2.0.1</version>
</dependency>

<!-- spring integration module -->
<dependency>
    <groupId>com.github.pnowy.nc</groupId>
    <artifactId>nativeCriteria-spring</artifactId>
    <version>2.0.1</version>
</dependency>

See basic usage examples!

See working examples with Spring Boot on separate test module