Commit Graph

272 Commits

Author SHA1 Message Date
f43nd1r
abec6411b4 Merge remote-tracking branch 'querydsl/master' into repository_urls_https 2021-05-04 16:33:59 +02:00
f43nd1r
847d238153 use cubrid driver available in maven central 2021-05-04 16:32:19 +02:00
lpandzic
dc0305347b removed querydsl repository
fixes for missing artifacts
2021-04-07 12:19:42 +02:00
lpandzic
dabca72b39 changed repository urls to use https instead of http 2021-04-07 08:32:36 +02:00
lpandzic
380aac425f created bill of materials for querydsl 2021-04-07 08:16:19 +02:00
Jan-Willem Gmelig Meyling
f861bad4ec Fix dependency convergenge 2021-01-25 22:02:58 +01:00
Filipe Sousa
611a19b1c6 Fix h2 and jts version conflict 2021-01-24 16:48:22 +01:00
Filipe Sousa
e3b39161cb Artifact conflict resolution 2021-01-24 16:47:31 +01:00
Filipe Sousa
af02c487a3 Use dependencyConvergence and requireBackwardCompatibility in different phases
I believe the requireBackwardCompatibility rule needs the artifacts built
that is why it's divided into different phases
2021-01-24 16:43:11 +01:00
Filipe Sousa
ceaee9302f Enable dependencyConvergence rule
Ensure all dependencies converge to the same version
2021-01-24 16:43:10 +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
Jan-Willem Gmelig Meyling
dc6ac6462c Fix homepage and module names 2021-01-17 15:51:42 +01:00
Jan-Willem Gmelig Meyling
492dc7da8f
Merge pull request #2565 from jwgmeligmeyling/guava-collections-result-transformers
ResultTransformers for Guava collections
2021-01-05 22:38:02 +01:00
Jan-Willem Gmelig Meyling
ac7f855dda ResultTransformers for Guava collections
This pull request implements `ResultTransformers` for [Guava collection types](https://github.com/google/guava/wiki/CollectionUtilitiesExplained) (`Multimap`, `Table`, `BiMap`). The [`ResultTransformers`](http://www.querydsl.com/static/querydsl/latest/reference/html/ch03s02.html) form a fantastic API to project tuples to a composition of collections, most notably `Map` and `List`. However, deep nested `Maps` of `Lists` or `Maps` of  `Maps` can lead to superfluous and erroneous code. The Guava collection types help with this, for example: `Multimap` forms a fluent API around a `Map<K, Set<V>` and `Table<R, C, V>` is basically a two-dimensional `Map`. This pull request adds factory methods in `GuavaGroupBy` to construct `ResultTransformers` for these Guava collection types.
2021-01-03 17:54:35 +01:00
Jan-Willem Gmelig Meyling
3fd900fc90 [#2292] Upgrade Geolatte for querydsl-sql-spatial
Fixes #2292

Co-authored-by: Kyösti Herrala <kyosti.herrala@vincit.fi>
2021-01-03 16:27:49 +01:00
Jan-Willem Gmelig Meyling
968dfb8538 [#2404] Upgrade GeoLatte to 1.4.0
Fixes #2404
Closes #2418
Closes #2584
Closes #2670

Co-authored-by: Matti Tahvonen <matti@vaadin.com>
Co-authored-by: Kochkurov <kochkurovn@gmail.com>
Co-authored-by: Kyösti Herrala <kyosti.herrala@vincit.fi>
2021-01-02 16:43:52 +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
f323402c6c Updated CHANGELOG.md 2021-01-01 13:40:52 +01:00
Jan-Willem Gmelig Meyling
dc9bf05cdd [#2686] Kotlin extension methods 2020-12-31 18:00:42 +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
Daniel Shuy
c0be3df6dc Fix maven-enforcer-plugin requireBackwardCompatibility excludes 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
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
276efe4d95 Bump ECJ so that sources can be compiled with Java 8 target 2020-12-28 11:24:13 +01:00
Jan-Willem Gmelig Meyling
67c27d29b6 Target Java 8 and removal of Guava as dependency 2020-12-28 11:24:00 +01:00
Jan-Willem Gmelig Meyling
f1be28ab37 Replace Guava Stopwatch for benchmarks 2020-11-15 20:46: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
b33e66d3ba Fix Enforcer plugin configuration for Java 8+ 2020-10-26 23:52:23 +01:00
Jan-Willem Gmelig Meyling
986a415a28 Revert Surefire back to revert category exclusion behaviour 2020-10-26 20:10:43 +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
John Tims
ea3efae5d5 Querydsl 4.4.0-SNAPSHOT 2020-06-03 06:45:31 -06:00
John Tims
b41ca3d63e
Run Firebird tests in CI 2020-05-31 09:52:36 -06:00
John Tims
8373d48624 Run tests against cubrid 2020-05-31 06:35:34 -06:00
John Tims
70afee9084 Remove additional testing for hibernate 5
Hibernate 5 is now the default.
2020-05-29 06:29:37 -06:00
John Tims
83c5a09459 Run tests against oracle 2020-05-28 12:19:13 -06:00
John Tims
47b488f1e8 Run tests against sqlserver 2020-05-27 15:27:51 -06:00
John Tims
dcab849c24 Use official db2 artifact 2020-05-19 17:48:07 -06:00
John Tims
fcf97eb87f Migrate from Travis CI to Github Actions 2020-05-07 17:00:29 -06:00
John Tims
aee2f56adb Querydsl 4.3.2-SNAPSHOT 2020-03-26 16:12:09 -06:00
John Tims
d514fd024f Querydsl 4.3.1 2020-03-26 12:54:48 -06:00
John Tims
a8b2f49535 Bump version to 4.3.1-SNAPSHOT 2020-03-15 17:55:55 -06:00
John Tims
043a871638 Querydsl 4.3.0 2020-03-13 12:08:27 -06:00
Pavel Polívka
383236b3c9
Hibernate 5 3 fix proper solution (#2354)
* Fix: Hibernate compatibility issues (up to at least 5.4)
2020-02-29 17:31:53 +02:00
Ido Salomon
63841e9016 Revert "Use HTTPS instead of HTTP to resolve dependencies"
This reverts commit 74a3fbbb73.
2020-02-13 11:38:16 +02:00