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
a9b4494255
[ #2048 ] Fix for null result in CollQuerySerializer
2021-01-02 00:54:53 +01:00
Ladislav Lencucha
f112a7e4a6
test(2048): test case to show how single expression operation results in unexpected result
2021-01-02 00:54:53 +01:00
Jan-Willem Gmelig Meyling
80fdeb7505
Merge pull request #2627 from ilitosh/i2467
...
Prevent ExtendedBeanSerializer from generating 2 toString methods
2021-01-01 21:49:55 +01:00
Jan-Willem Gmelig Meyling
78cd6ae97b
Merge pull request #2563 from jwgmeligmeyling/comparable-expression-inconsistency
...
Fix inconsistency between final and non-final methods in ComparableExpression, ComparableExpressionBase and SimpleExpression
2021-01-01 18:52:04 +01:00
Jan-Willem Gmelig Meyling
32e927d3a4
Merge pull request #2687 from querydsl/issue/2686
...
[#2686 ] Kotlin extension methods
2021-01-01 17:14:18 +01:00
Jan-Willem Gmelig Meyling
3411f7857d
Merge pull request #2108 from harshtuna/collections-order-nulls-last
...
fix for #2106 enable NullsLast support in querydsl-collections orderBy()
2021-01-01 17:14:05 +01:00
Ilya Litosh
8e4bedb4ca
Prevent ExtendedBeanSerializer from generating 2 toString methods
2021-01-01 16:26:06 +01:00
Alexey Egorov
6ddab435e6
fix for #2106 enable NullsLast support in querydsl-collections orderBy()
2021-01-01 16:13:01 +01:00
Jan-Willem Gmelig Meyling
852b48a4ca
Merge pull request #2708 from querydsl/issue-2666
...
[#2666 ] Clearer exception for using unsupported SQL Expressions in JPQL
2021-01-01 16:03:11 +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
a114f2018e
Updated CHANGELOG.md
2021-01-01 13:49:57 +01:00
Jan-Willem Gmelig Meyling
f323402c6c
Updated CHANGELOG.md
2021-01-01 13:40:52 +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
85c8e89934
Merge pull request #2707 from querydsl/i1941
...
Remove dots from MDC log fields.
2021-01-01 13:23:00 +01:00
Jan-Willem Gmelig Meyling
5dac034f9c
Merge pull request #2685 from querydsl/kotlin
...
[#2684 ] Provide Kotlin example project
2020-12-31 19:48:24 +01:00
Wyko Rijnsburger
2362416d26
Remove dots from MDC log fields.
2020-12-31 19:46:16 +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
942812f7a3
Merge pull request #2706 from querydsl/memory-leak-template-cache
...
[#2218 ] Store cached templates weakly
2020-12-31 19:43:42 +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
98876e1c60
Merge pull request #2674 from querydsl/issue/2479
...
[#2479 ] Migrate off of JSR305
2020-12-31 19:41:32 +01:00
Jan-Willem Gmelig Meyling
63ddf21b04
Test if clean deploy fixes snapshot deployment
2020-12-31 18:54:41 +01:00
Jan-Willem Gmelig Meyling
dc9bf05cdd
[ #2686 ] Kotlin extension methods
2020-12-31 18:00:42 +01:00
Jan-Willem Gmelig Meyling
b14a12937f
[ #2684 ] Provide Kotlin example project
2020-12-31 18:00:07 +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
261612a37b
Fix inconsistency between final and non-final methods in ComparableExpression, ComparableExpressionBase and SimpleExpression
2020-12-31 17:57:32 +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
f62c06cac4
[ #2218 ] Store cached templates weakly
...
Fixes #2218
2020-12-31 17:18:44 +01:00
Jan-Willem Gmelig Meyling
152c140296
Update changelog / release notes
2020-12-31 17:15:07 +01:00
Jan-Willem Gmelig Meyling
f00a5593c2
Remove Guava use from MongoDB Document API
2020-12-31 17:14:56 +01:00
Jan-Willem Gmelig Meyling
4f149b8639
Merge pull request #2643 from daniel-shuy/remove-joda-time
...
[#2025 ] querydsl-sql : Change Joda-Time to optional
2020-12-31 16:40:06 +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
b39d9f115a
Merge pull request #2676 from querydsl/java-8-2
...
Replace Guava API's with Java 8 ones
2020-12-31 16:32:02 +01:00
Jan-Willem Gmelig Meyling
8d7df5f38e
Merge remote-tracking branch 'origin/master' into java-8-2
2020-12-31 16:31:43 +01:00
Jan-Willem Gmelig Meyling
aa15195268
Update Changelog
2020-12-31 15:57:42 +01:00
Jan-Willem Gmelig Meyling
9560e01e3d
Merge pull request #2672 from querydsl/java-8
...
Target Java 8 for compilation
2020-12-31 15:49:28 +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
Daniel Shuy
c0be3df6dc
Fix maven-enforcer-plugin requireBackwardCompatibility excludes
2020-12-30 15:48:00 +08:00
Daniel Shuy
846738eaa4
Replace SimpleDateFormat with JSR310 DateTimeFormatter
2020-12-30 15:48:00 +08:00
Jan-Willem Gmelig Meyling
98a9a8e90c
Converge Joda-Time versions and bump them to latest
2020-12-29 13:19:03 +08:00
Daniel Shuy
1db5af8838
Change joda-time dependency to optional
2020-12-29 13:18:15 +08:00
Daniel Shuy
176a3d215c
Replace Joda-Time DateTimeFormatter with ThreadLocal<SimpleDateFormat>
2020-12-29 13:18:15 +08:00