Commit Graph

629 Commits

Author SHA1 Message Date
f43nd1r
f2710b1cf1 Merge branch 'master' into checkstyle
# Conflicts:
#	pom.xml
#	querydsl-codegen-utils/src/main/java/com/querydsl/codegen/utils/SimpleCompiler.java
#	querydsl-core/src/main/java/com/querydsl/core/group/GAvg.java
#	src/main/resources/querydsl_checks_base.xml
2021-06-02 11:08:54 +02:00
f43nd1r
b669e1d9d7 fix up checkstyle 2021-05-15 03:35:53 +02:00
Jan-Willem Gmelig Meyling
25e47ce7ab Compile on Java 11 2021-02-24 18:23:23 +01:00
Jan-Willem Gmelig Meyling
725acde46e Compile under Java 11 2021-02-24 16:20:46 +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
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
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
0fb26e84c8 [#2479] Migrate off of JSR305 2020-12-31 17:52:35 +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
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
15da5c069f [#2697] Use ECJ compiler on JRE's without compiler for Alias.* 2020-12-28 15:35:42 +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
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
a6b5d0ad6b Replace Guava Function 2020-10-31 23:36:32 +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
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
Zoltán Reegn
3a74aaeabc Explicitly declare NonUniqueResultException for fetchOne
Fetchable.fetchOne() declares in it's javadoc that it throws
NonUniqueResultException. It should therefore be explicitly declared in
the method signature as well.
All implementations must also declare in their signature that they throw.

This also has the desirable side-effect of the javadoc of all of the
implementors inheriting the @throws section from the javadoc of the
interface as well.

Fixes #2232
2018-01-16 14:03:05 +01:00
Timo Westkämper
300f88d9c5 Fix null handling 2016-07-16 09:55:18 +03:00
Timo Westkämper
2c195ffa62 Get rid of capitalized test method names 2015-11-30 20:05:56 +02:00
Ruben Dijkstra
89d0948454 Case insensitive like operator 2015-11-13 22:08:22 +01:00
Ruben Dijkstra
18fd0ad71d Remove compiler warnings
SuppressWarnings moved to smaller scope
Generic array creations avoided
A lot of rawtypes warnings removed
Suppress more warnings in generated code - `all` is an Eclipse extension
2015-10-21 19:03:00 +02:00
Timo Westkämper
9f20855f72 Remove metadata reset usage 2015-09-03 19:04:26 +03:00
John Tims
57c44ac58b Merge pull request #1484 from querydsl/i1482
Improve precedence mappings
2015-08-31 15:20:17 -04:00
John Tims
b0c60d009d Suppress warnings on methods 2015-08-27 21:26:40 -04:00
Timo Westkämper
7c72de81ea Improve precedence mappings 2015-08-18 00:12:18 +03:00
Timo Westkämper
2a6e23d573 Reduce System.out usage 2015-06-26 21:12:09 +03:00
Timo Westkämper
0084ab5365 Add more assertions 2015-06-23 21:42:59 +03:00
Timo Westkämper
a79919f4f3 Improve type level javadocs 2015-05-28 22:50:18 +03:00
Timo Westkämper
ed91c7ca74 Unify package-info contents 2015-05-14 17:36:00 +03:00
Timo Westkämper
b81c03fddb Fix whitespace for querydsl-collections 2015-05-13 23:08:24 +03:00
Timo Westkämper
6b18460a75 Fix braces 2015-05-13 23:07:06 +03:00
Timo Westkämper
3fbb04a3a5 Remove unnecessary boxing 2015-05-10 12:49:04 +03:00
Timo Westkämper
ea42efbd03 Extend Checkstyle checks for tests 2015-05-10 00:39:35 +03:00
Timo Westkämper
059148d2c4 Extend Checkstyle checks 2015-05-09 23:08:31 +03:00
John Tims
8dc6ff190a Remove trailing whitespace in querydsl-collections 2015-05-09 00:56:32 -04:00
John Tims
579107942d Optimize imports in querydsl-collections 2015-05-08 23:36:25 -04:00
Timo Westkämper
01e2a718cf Update copyright 2015-05-08 19:05:24 +03:00
John Tims
b521f031a7 Make cached properties transient in querydsl-core 2015-05-06 23:50:38 -04:00
Timo Westkämper
a4de56ef31 Improve javadocs for querydsl-collections 2015-05-01 22:06:40 +03:00
Timo Westkämper
70580c0cbe Replace Void type with wilcard where possible 2015-04-22 23:12:58 +03:00
Timo Westkämper
85e46b6a72 Rename fetchIterate to iterate 2015-04-22 23:12:58 +03:00
Timo Westkämper
4428f5d84f Separate projection from query execution 2015-04-22 23:12:53 +03:00
Timo Westkämper
f6e73b7807 Move ConstructorExpression creation to Projections 2015-04-18 10:10:32 +03:00
Ruben Dijkstra
06dfceb021 Merge pull request #1285 from querydsl/expression-utils
Move Expression creation to ExpressionUtils
2015-03-31 08:56:10 +02:00