com.holon-platform.jpa:holon-datastore-jpa-querydsl

Holon JPA Datastore QueryDSL integration

Лицензия

Лицензия

Категории

Категории

Данные Querydsl Базы данных ORM
Группа

Группа

com.holon-platform.jpa
Идентификатор

Идентификатор

holon-datastore-jpa-querydsl
Последняя версия

Последняя версия

5.5.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

com.holon-platform.jpa:holon-datastore-jpa-querydsl
Holon JPA Datastore QueryDSL integration
Ссылка на сайт

Ссылка на сайт

https://holon-platform.com
Организация-разработчик

Организация-разработчик

The Holon Platform

Скачать holon-datastore-jpa-querydsl

Как подключить последнюю версию

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
com.holon-platform.jpa : holon-datastore-jpa Необязательный jar 5.5.0
com.querydsl : querydsl-jpa Необязательный jar 4.3.1

provided (1)

Идентификатор библиотеки Тип Версия
javax.persistence : javax.persistence-api jar 2.2

test (10)

Идентификатор библиотеки Тип Версия
ch.qos.logback : logback-classic jar 1.2.3
com.zaxxer : HikariCP jar 3.4.5
com.h2database : h2 jar 1.4.200
org.hibernate : hibernate-core jar 5.4.18.Final
org.eclipse.persistence : org.eclipse.persistence.jpa jar 2.7.7
org.springframework : spring-context jar
org.springframework : spring-orm jar
org.springframework : spring-test jar
org.junit.jupiter : junit-jupiter-api jar 5.6.2
org.junit.jupiter : junit-jupiter-engine jar 5.6.2

Модули Проекта

Данный проект не имеет модулей.

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.

Версии библиотеки

Версия
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