com.holon-platform.jpa:holon-starter-jpa-querydsl-eclipselink

Holon Spring Boot JPA starter using EclipseLink, HikariCP datasource and QueryDSL

License

License

Categories

Categories

CLI User Interface Querydsl Data Databases ORM EclipseLink
GroupId

GroupId

com.holon-platform.jpa
ArtifactId

ArtifactId

holon-starter-jpa-querydsl-eclipselink
Last Version

Last Version

5.5.0
Release Date

Release Date

Type

Type

jar
Description

Description

com.holon-platform.jpa:holon-starter-jpa-querydsl-eclipselink
Holon Spring Boot JPA starter using EclipseLink, HikariCP datasource and QueryDSL
Project URL

Project URL

https://holon-platform.com
Project Organization

Project Organization

The Holon Platform

Download holon-starter-jpa-querydsl-eclipselink

How to add to project

<!-- https://jarcasting.com/artifacts/com.holon-platform.jpa/holon-starter-jpa-querydsl-eclipselink/ -->
<dependency>
    <groupId>com.holon-platform.jpa</groupId>
    <artifactId>holon-starter-jpa-querydsl-eclipselink</artifactId>
    <version>5.5.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.holon-platform.jpa/holon-starter-jpa-querydsl-eclipselink/
implementation 'com.holon-platform.jpa:holon-starter-jpa-querydsl-eclipselink:5.5.0'
// https://jarcasting.com/artifacts/com.holon-platform.jpa/holon-starter-jpa-querydsl-eclipselink/
implementation ("com.holon-platform.jpa:holon-starter-jpa-querydsl-eclipselink:5.5.0")
'com.holon-platform.jpa:holon-starter-jpa-querydsl-eclipselink:jar:5.5.0'
<dependency org="com.holon-platform.jpa" name="holon-starter-jpa-querydsl-eclipselink" rev="5.5.0">
  <artifact name="holon-starter-jpa-querydsl-eclipselink" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.holon-platform.jpa', module='holon-starter-jpa-querydsl-eclipselink', version='5.5.0')
)
libraryDependencies += "com.holon-platform.jpa" % "holon-starter-jpa-querydsl-eclipselink" % "5.5.0"
[com.holon-platform.jpa/holon-starter-jpa-querydsl-eclipselink "5.5.0"]

Dependencies

compile (4)

Group / Artifact Type Version
com.holon-platform.jpa : holon-starter-jpa-eclipselink jar 5.5.0
com.holon-platform.jpa : holon-datastore-jpa-querydsl jar 5.5.0
com.querydsl : querydsl-jpa jar 4.3.1
com.querydsl : querydsl-apt jar 4.3.1

test (2)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.6.2
org.junit.jupiter : junit-jupiter-engine jar 5.6.2

Project Modules

There are no modules declared in this project.

Holon Platform JPA Datastore - QueryDSL integration

Latest release: 5.5.0

This module provides a set of QueryDSL integration features for the Holon Platform JPA Datastore module.

The main feature provided is the QueryDsl Datastore commodity, automatically registered with the JPA Datastore when this module is available in classpath.

The QueryDsl commodity provides methods to create JPA QueryDSL queries which allow to mix QueryDSL expressions and predicates with standard platform query expressions, such as QueryFilter, QuerySort and QueryAggregation.

Example:

Datastore datastore = getDatastore(); // build or obtain a JPA Datastore
QueryDsl queryDslCommodity = datastore.create(QueryDsl.class); // get the QueryDsl commodity

JpaQuery<?> query = queryDslCommodity.selectFrom(QTest.test); // build a QueryDSL query
query.where(QTest.test.id.gt(0)); // QueryDSL predicate
query.filter(NAME.startsWith("a")); // Holon platform Property QueryFilter
query.fetch();

Furthermore, this module provides integration classes to use QueryDSL expressions as Datastore expressions (such as EntityPath and Path QueryDSL types) and some Spring Boot starters for QueryDSL integration auto-configuration.

See the module reference guide for detailed information.

Code structure

See Holon Platform code structure and conventions to learn about the "real Java API" philosophy with which the project codebase is developed and organized.

Getting started

System requirements

The Holon Platform is built using Java 8, so you need a JRE/JDK version 8 or above to use the platform artifacts.

QueryDSL JPA version 4.x.x is required.

Releases

See releases for the available releases. Each release tag provides a link to the closed issues.

Obtain the artifacts

The Holon Platform is open source and licensed under the Apache 2.0 license. All the artifacts (including binaries, sources and javadocs) are available from the Maven Central repository.

The Maven group id for this module is com.holon-platform.jpa and a BOM (Bill of Materials) is provided to obtain the module artifacts:

Maven BOM:

<dependencyManagement>
    <dependency>
        <groupId>com.holon-platform.jpa</groupId>
        <artifactId>holon-datastore-jpa-querydsl-bom</artifactId>
        <version>5.5.0</version>
        <type>pom</type>
        <scope>import</scope>
    </dependency>
</dependencyManagement>

See the Artifacts list for a list of the available artifacts of this module.

Using the Platform BOM

The Holon Platform provides an overall Maven BOM (Bill of Materials) to easily obtain all the available platform artifacts:

Platform Maven BOM:

<dependencyManagement>
    <dependency>
        <groupId>com.holon-platform</groupId>
        <artifactId>bom</artifactId>
        <version>${platform-version}</version>
        <type>pom</type>
        <scope>import</scope>
    </dependency>
</dependencyManagement>

See the Artifacts list for a list of the available artifacts of this module.

Build from sources

You can build the sources using Maven (version 3.3.x or above is recommended) like this:

mvn clean install

Getting help

Examples

See the Holon Platform examples repository for a set of example projects.

Contribute

See Contributing to the Holon Platform.

Gitter chat Join the contribute Gitter room for any question and to contact us.

License

All the Holon Platform modules are Open Source software released under the Apache 2.0 license.

Artifacts list

Maven group id: com.holon-platform.jpa

Artifact id Description
holon-datastore-jpa-querydsl JPA Datastore QueryDSL integration
holon-starter-jpa-querydsl-hibernate Spring Boot starter for JPA stack and Datastore auto-configuration with QueryDSL integration using Hibernate ORM
holon-starter-jpa-querydsl-eclipselink Spring Boot starter for JPA stack and Datastore auto-configuration with QueryDSL integration using EclipseLink ORM
holon-datastore-jpa-querydsl-bom Bill Of Materials
documentation-datastore-jpa-querydsl Documentation
com.holon-platform.jpa

Holon Platform

The Holon Platform is a Java development ecosystem to create and maintain high quality, enteprise-grade web applications and services.

Versions

Version
5.5.0
5.4.0
5.3.0
5.2.3
5.2.2
5.2.1
5.2.0
5.2.0-rc2
5.2.0-rc1
5.2.0-alpha2
5.2.0-alpha1
5.1.1
5.1.0
5.0.3
5.0.2
5.0.1
5.0.0