Commit Graph

1127 Commits

Author SHA1 Message Date
lpandzic
dc0305347b removed querydsl repository
fixes for missing artifacts
2021-04-07 12:19:42 +02:00
Jan-Willem Gmelig Meyling
68c02aaa11
Merge pull request #2729 from querydsl/dependency-convergence
Dependency convergence
2021-01-26 17:00:56 +01:00
Jan-Willem Gmelig Meyling
f861bad4ec Fix dependency convergenge 2021-01-25 22:02:58 +01:00
Jan-Willem Gmelig Meyling
d651911bd5
Java 9 Automatic Module Names (#2727) 2021-01-24 20:50:27 +01:00
Filipe Sousa
611a19b1c6 Fix h2 and jts version conflict 2021-01-24 16:48:22 +01:00
Jan-Willem Gmelig Meyling
6d5e062cf6
Merge pull request #2726 from querydsl/jakarta-ee
[#2612] Support Jakarta EE through Eclipse Transformer
2021-01-24 16:41:58 +01:00
Jan-Willem Gmelig Meyling
d752845021 [#2612] Support Jakarta EE through Eclipse Transfmorer 2021-01-24 13:54:16 +01:00
Jan-Willem Gmelig Meyling
0af1bc9aae Get rid of javax-inject dependency in jpa and sql 2021-01-24 13:31:37 +01:00
Jan-Willem Gmelig Meyling
d489638f9e Switch from Slf4j to JUL to reduce transitive dependencies 2021-01-17 15:54:11 +01:00
Kyösti Herrala
daf73a6dac Exclude duplicate slf4j-simple logger from PostgreSQL JDBC driver 2021-01-02 20:00:19 +01:00
Jan-Willem Gmelig Meyling
77e1cb17d0 [#2048] Exclude in Derby and Hibernate 2021-01-02 12:43:06 +01:00
Ladislav Lencucha
8831ce4efa fix(2048): checkstyle fixes 2021-01-02 11:49:00 +01:00
Jan-Willem Gmelig Meyling
7504f2fd1f [#2048] Fix handling null projection in AbstractJPAQuery 2021-01-02 01:23:19 +01:00
Jan-Willem Gmelig Meyling
16253feda3 [#2048] Reproducer for Eclipselink 2021-01-02 01:09:22 +01:00
Jan-Willem Gmelig Meyling
33dd19c855 [#2666] Clearer exception for using unsupported SQL Expressions in JPQL 2021-01-01 16:02:56 +01:00
Jan-Willem Gmelig Meyling
f1e0197284
Merge pull request #2667 from querydsl/fix-inserts
Support HQL Subquery Insert Clause
2021-01-01 13:34:53 +01:00
Jan-Willem Gmelig Meyling
d9135b228a
Merge pull request #2605 from jwgmeligmeyling/issue/2053
[#2504] [#2053] Fix fetchResults for GROUP BY and HAVING in JPQL
2021-01-01 13:24:24 +01:00
Jan-Willem Gmelig Meyling
c75ef4cafd
Merge pull request #2530 from jwgmeligmeyling/jpa-treated-path
[#658] Support JPQL Treated paths for WHERE clause
2020-12-31 19:45:05 +01:00
Jan-Willem Gmelig Meyling
5a164b239f
Merge pull request #2580 from heesuk-ahn/fix/jpa-sql-query-fetch-results-bug
[fixes #2579] fix: added `forCount` conditional statement for skip transform logic when countQuery
2020-12-31 19:43:13 +01:00
Jan-Willem Gmelig Meyling
60e2f3a901 [#658] Support JPQL Treated paths for WHERE clause
JPA 2.1 introduced the TREAT operator for explicit casting. Initial support for TREAT in the FROM clause was added in PR #705. However, the specification also describes the notion of `treated_subpath` expressions (chapter 4.4.4.1) that are allowed in the WHERE clause of a query.

The syntax is as follows:

> ```
> treated_subpath ::= TREAT(general_subpath AS subtype)
>
> single_valued_path_expression ::= qualified_identification_variable | TREAT(qualified_identification_variable AS subtype) | state_field_path_expression | single_valued_object_path_expression
> ```

And can be used as such:

```SQL
SELECT e FROM Employee e JOIN e.projects p WHERE TREAT(p AS LargeProject).budget > 1000
```

(Example from chapter 4.4.9).

This pull request adds the support for treated subpaths in QueryDSL. It does so by introducing a new `PathType` and convenience method `JPAExpressions.treat`.
2020-12-31 17:59:34 +01:00
Jan-Willem Gmelig Meyling
6d612d9435 [#2504] [#2053] Fix fetchResults for GROUP BY and HAVING in JPQL" 2020-12-31 17:56:06 +01:00
Jan-Willem Gmelig Meyling
eb99d5121b Fix HQL insert from subquery queries 2020-12-31 17:53:55 +01:00
Jan-Willem Gmelig Meyling
0fb26e84c8 [#2479] Migrate off of JSR305 2020-12-31 17:52:35 +01:00
Jan-Willem Gmelig Meyling
45e88aa55b Merge remote-tracking branch 'origin/master' into remove-joda-time 2020-12-31 16:39:44 +01:00
Jan-Willem Gmelig Meyling
31a8c82c5d Merge branch 'java-8' into java-8-2 2020-12-31 15:27:45 +01:00
Jan-Willem Gmelig Meyling
44eb2420f9 Make Hibernate 5 the default and update changelog 2020-12-31 15:09:03 +01:00
Jan-Willem Gmelig Meyling
8e4769ad17 Add Joda as test dependency for querydsl-maven-plugin 2020-12-31 14:17:55 +01:00
Jan-Willem Gmelig Meyling
110c3be7da Remove Guava as dependency 2020-12-28 18:22:29 +01:00
Jan-Willem Gmelig Meyling
d1d3f9dfe5 Subtree merge Mysema Codegen module 2020-12-28 13:38:41 +01:00
Jan-Willem Gmelig Meyling
93875879cb Removed Guava Multimap occurrences 2020-12-24 13:20:07 +01:00
Jan-Willem Gmelig Meyling
7f9849e86d Removed Guava Collection occurrences 2020-12-23 23:38:21 +01:00
Jan-Willem Gmelig Meyling
73e8305049 Eliminate more Guava API's 2020-11-15 20:46:10 +01:00
Jan-Willem Gmelig Meyling
36f1299abc Replace Guava API's with Java 8 ones 2020-10-31 23:35:47 +01:00
Jan-Willem Gmelig Meyling
161d2b466f Couple of Java 8 enhancements 2020-10-28 15:55:11 +01:00
Jan-Willem Gmelig Meyling
5abd478fc3 Add Fetchable#stream method 2020-10-27 16:07:26 +01:00
Jan-Willem Gmelig Meyling
9f859baccc Java 6/7/8 performance upgrades and migrations 2020-10-26 22:59:40 +01:00
Jan-Willem Gmelig Meyling
dfc50ac0d9 Target Java 8 for compilation 2020-10-26 19:49:27 +01:00
John Tims
08bea1ab3c Querydsl 5.0.0-SNAPSHOT 2020-10-23 21:25:43 -06:00
John Tims
182de7fe5d Querydsl 4.4.1-SNAPSHOT 2020-09-19 08:58:27 -06:00
John Tims
a3efb0e7e5 Querydsl 4.4.0 2020-09-19 08:08:10 -06:00
Jan-Willem Gmelig Meyling
5aaac6fd9f Fix build 2020-07-28 00:05:37 +02:00
Jan-Willem Gmelig Meyling
becbbc0ee7
Merge pull request #2335 from rdicroce/cursor_fix
Fix bugs in EclipseLinkHandler#iterate()
2020-07-27 22:52:17 +02:00
Jan-Willem Gmelig Meyling
00b1a19630
Merge pull request #2604 from jwgmeligmeyling/hibernate-5-support
Hibernate 5 Support
2020-07-27 22:45:02 +02:00
heesuk
2d3a844120 test: added test fetchResults with factory expression and groupBy & having clause 2020-06-26 23:55:36 +09:00
heesuk
90b6fe90f4 refactor: change the name for intuition query to countQuery 2020-06-26 23:17:24 +09:00
heesuk
db7f0528c2 fix: added forCount conditional statement for skip transform logic when countQuery 2020-06-26 23:17:24 +09:00
Rich DiCroce
18b0920c47 Fix checkstyle errors 2020-06-15 14:49:37 -04:00
Rich DiCroce
9080a307ba Fix bugs when using a cursor with EclipseLink:
- Some environments (e.g. WildFly) wrap the Query, causing the
instanceof check to fail, which prevents a cursor from being used. Fix
this by unwrapping the Query first.

- Telling EclipseLink to use a scrollable cursor, then telling it to use
a result set type of FORWARD_ONLY, makes no sense and causes the SQL
Server JDBC driver to throw an exception. Fix this by using a regular
CursoredStream instead.

- The original code never tells EclipseLink to release objects, causing
any benefit from using a cursor to be lost since all objects are
retained until the cursor is closed. Fix this by releasing objects after
completing each page.
2020-06-15 14:49:36 -04:00
John Tims
ea3efae5d5 Querydsl 4.4.0-SNAPSHOT 2020-06-03 06:45:31 -06:00
John Tims
62f26bdc57
Merge pull request #2553 from darrenfoong/apt-persistence-api
Change scope of hibernate-jpa-2.0-api to compile
2020-06-01 16:43:25 -06:00