Hibernate JP-QL Parser - Parent module

Provides capabilities to parse JP-QL Queries and convert them into other executable queries

License

License

Categories

Categories

Hibernate Data ORM
GroupId

GroupId

org.hibernate.jpql
ArtifactId

ArtifactId

hibernate-jpql-parser-parent
Last Version

Last Version

1.0.0.Alpha1
Release Date

Release Date

Type

Type

jar
Description

Description

Hibernate JP-QL Parser - Parent module
Provides capabilities to parse JP-QL Queries and convert them into other executable queries
Project URL

Project URL

http://ogm.hibernate.org
Project Organization

Project Organization

Hibernate
Source Code Management

Source Code Management

http://github.com/hibernate/hibernate-jpql-parser

Download hibernate-jpql-parser-parent

How to add to project

<!-- https://jarcasting.com/artifacts/org.hibernate.jpql/hibernate-jpql-parser-parent/ -->
<dependency>
    <groupId>org.hibernate.jpql</groupId>
    <artifactId>hibernate-jpql-parser-parent</artifactId>
    <version>1.0.0.Alpha1</version>
</dependency>
// https://jarcasting.com/artifacts/org.hibernate.jpql/hibernate-jpql-parser-parent/
implementation 'org.hibernate.jpql:hibernate-jpql-parser-parent:1.0.0.Alpha1'
// https://jarcasting.com/artifacts/org.hibernate.jpql/hibernate-jpql-parser-parent/
implementation ("org.hibernate.jpql:hibernate-jpql-parser-parent:1.0.0.Alpha1")
'org.hibernate.jpql:hibernate-jpql-parser-parent:jar:1.0.0.Alpha1'
<dependency org="org.hibernate.jpql" name="hibernate-jpql-parser-parent" rev="1.0.0.Alpha1">
  <artifact name="hibernate-jpql-parser-parent" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.hibernate.jpql', module='hibernate-jpql-parser-parent', version='1.0.0.Alpha1')
)
libraryDependencies += "org.hibernate.jpql" % "hibernate-jpql-parser-parent" % "1.0.0.Alpha1"
[org.hibernate.jpql/hibernate-jpql-parser-parent "1.0.0.Alpha1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • hibernate-jpql-parser

Hibernate Query Parser

Experimental new parser for HQL and JP-QL queries, to convert these into SQL and other different targets such as Lucene queries, Map/Reduce queries for NoSQL stores, make it possible to perform more sophisticated SQL transformations.

Help

There is much to do and many tests to be ported from the existing parser or added from scratch; anyone is welcome to help by sending pull requests, commenting the code on github directly or by by using the mailing list or IRC chat channels:

Bug Reports:

Building

This project used Gradle as build tool. To build the complete project, run the following command from the directory containing this README file:

./gradlew clean build

You don't need to have Gradle installed; When executed for the first time, gradlew (the "Gradle wrapper") will download Gradle in the required version.

In order to install the JARs created by this project into your local Maven repository, run the following command:

./gradlew clean install

To deploy the modules to the JBoss Maven repository, run:

./gradlew clean publish

Depending on the version of the project (as given via ext.projectVersion) this will perform a deployment either into the JBoss snapshot repository or the JBoss release staging repository (both requires your Nexus credentials to be configured in ~/.m2/settings.xml).

Releasing

Perform the following steps to do a release of this project:

  • delete any stale files and directories from your working copy: git clean -d -x -f
  • verify that everything builds as expected: ./gradlew clean build
  • set project version in build.gradle (property ext.projectVersion) to the release version, e.g. "1.0.0.Alpha3" and commit
  • tag the release in Git: git tag -a 1.0.0.Alpha3 -m 'my version 1.0.0.Alpha3'
  • perform the release: ./gradlew clean publish
  • examine the staged release on the JBoss Nexus server; either close and release or drop the staging repository
  • set project version in build.gradle to the next development version, e.g. "1.0.0-SNAPSHOT" and commit
  • push the master branches and the new tag to the upstream repo
  • release the version in JIRA and transition all involved issues to "Closed"

Source and credits

The grammar and parser code is based on the antlr3 branch previously developed for Hibernate 3; the original code by Steve Ebersole and Alexandre Porcelli can be found on the archived Hibernate subversion repository.

License

This software and its documentation are distributed under the terms of the FSF Lesser GNU Public License (see license.txt).

org.hibernate.jpql

Hibernate

Versions

Version
1.0.0.Alpha1