Querydsl - JPA support

JPA support for Querydsl

License

License

Categories

Categories

Querydsl Data Databases
GroupId

GroupId

com.mysema.querydsl
ArtifactId

ArtifactId

querydsl-jpa
Last Version

Last Version

3.7.4
Release Date

Release Date

Type

Type

jar
Description

Description

Querydsl - JPA support
JPA support for Querydsl
Project URL

Project URL

http://www.querydsl.com
Project Organization

Project Organization

Querydsl
Source Code Management

Source Code Management

http://github.com/querydsl/querydsl

Download querydsl-jpa

How to add to project

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

Dependencies

compile (7)

Group / Artifact Type Version
org.hibernate : hibernate-core Optional jar 4.3.11.Final
org.hibernate : hibernate-entitymanager Optional jar 4.3.11.Final
org.hibernate : hibernate-validator Optional jar 4.3.1.Final
com.mysema.querydsl : querydsl-core jar 3.7.4
com.mysema.querydsl : querydsl-sql Optional jar 3.7.4
org.slf4j : slf4j-api jar 1.6.1
org.eclipse.persistence : eclipselink Optional jar 2.6.0-RC1

provided (3)

Group / Artifact Type Version
org.hibernate.javax.persistence : hibernate-jpa-2.1-api jar 1.0.0.Final
com.mysema.querydsl : querydsl-apt jar 3.7.4
org.slf4j : slf4j-log4j12 jar 1.6.1

test (15)

Group / Artifact Type Version
cglib : cglib jar 2.2.2
org.postgresql : postgresql jar 9.4-1200-jdbc41
org.batoo.jpa : batoo-jpa jar 2.0.1.2
com.jolbox : bonecp jar 0.7.1.RELEASE
org.hsqldb : hsqldb jar 2.3.2
com.h2database : h2 jar 1.4.186
org.apache.derby : derby jar 10.11.1.1
mysql : mysql-connector-java jar 5.1.30
net.sourceforge.jtds : jtds jar 1.3.1
com.oracle » ojdbc6 jar 11.1.0.7.0
com.mysema.querydsl : querydsl-core test-jar 3.7.4
jdepend : jdepend jar 2.9.1
junit : junit jar 4.8.1
org.easymock : easymock jar 3.0
org.reflections : reflections jar 0.9.9

Project Modules

There are no modules declared in this project.

Querydsl

Querydsl is a framework which enables the construction of type-safe SQL-like queries for multiple backends including JPA, MongoDB and SQL in Java.

Instead of writing queries as inline strings or externalizing them into XML files they are constructed via a fluent API.

Website shields.io Build Status Coverage Status Stackoverflow Maven Central

Getting started

Use these tutorials to get started

Examples

Querydsl example projects

Support

Free support is provided in the Querydsl Google Group and on StackOverflow.

How to build

Querydsl provides releases via public Maven repositories, but you can also build the sources yourself like this

$ mvn -Pquickbuild,{projectname} clean install

Where projectname is one of the Maven profiles (e.g. jpa, sql, mongodb, etc. or all)

For more information visit the project homepage at http://www.querydsl.com/.

Vagrant/Puppet setup

For running tests, a Vagrant/Puppet setup is provided. It is based on Ubuntu 12.04 and comes with the following databases:

  • Oracle Express Edition 11g
  • PostgreSQL 9.1.10
  • MySQL 5.5.34
  • Cubrid 9.2

You will need to install VirtualBox, Puppet, Vagrant, the vagrant-vbguest plugin and librarian-puppet. You will also need to download the Oracle XE 11g installer file (oracle-xe-11.2.0-1.0.x86_64.rpm.zip) manually and place it in the devops directory.

To launch the virtual machine:

$ cd devops
$ librarian-puppet install
$ vagrant up

All of the databases' default ports are forwarded to the host machine. See the Vagrantfile for details.

How to contribute

GitHub pull requests are the way to contribute to Querydsl.

If you are unsure about the details of a contribution, ask on the Querydsl Google Group or create a ticket on GitHub.

com.mysema.querydsl

Querydsl

Versions

Version
3.7.4
3.7.3
3.7.2
3.7.1
3.7.0
3.6.9
3.6.8
3.6.7
3.6.6
3.6.5
3.6.4
3.6.3
3.6.2
3.6.1
3.6.0
3.5.1
3.5.0
3.4.3
3.4.2
3.4.1
3.4.0
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.3.0.BETA2
3.3.0.BETA1
3.2.4
3.2.3
3.2.2
3.2.1
3.2.0
3.1.1
3.1.0
3.0.0
3.0.0.BETA2
3.0.0.BETA1
2.9.0.FIXED
2.9.0
2.8.2
2.8.1
2.8.0
2.7.3
2.7.2
2.7.1
2.7.0
2.6.0
2.5.0
2.3.3
2.3.2
2.3.1
2.3.0
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.2.0.beta5
2.2.0-beta4
2.2.0-beta3
2.2.0-beta2
2.2.0-beta1
2.1.2
2.1.1
2.1.0
2.1.0-beta3
2.1.0-beta2
2.1.0-beta1
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
2.0.0-beta-2
2.0.0-beta-1
2.0.0-alpha-2
2.0.0-alpha-1