Jens Schauder
580ff60344
Release version 1.4 GA (2021.1.0).
...
See #668
2021-11-12 10:49:36 +01:00
Jens Schauder
5040f949c9
Release version 2.3 GA (2021.1.0).
...
See #1070
2021-11-12 10:49:36 +01:00
Jens Schauder
3a3a9d6bdd
Prepare 1.4 GA (2021.1.0).
...
See #668
2021-11-12 10:49:15 +01:00
Jens Schauder
33c8212a58
Prepare 2.3 GA (2021.1.0).
...
See #1070
2021-11-12 10:49:15 +01:00
Mark Paluch
0d5a75abaa
Polishing.
...
Reduce test method visibility.
See #683
2021-11-10 14:34:50 +01:00
Mark Paluch
d5aea5203c
Move off RowMetadata.getColumnNames(…) in preparation for R2DBC 0.9.
...
Closes #683
2021-11-10 14:34:30 +01:00
Mark Paluch
66067a553e
Polishing.
...
Reformat code. Consistently use String.format(…) instead of string concatenation.
See #1078
2021-11-08 11:31:10 +01:00
Jens Schauder
e9e07bd4a3
Render LOCK clause through SelectRenderContext.
...
Closes #1078
2021-11-08 11:20:55 +01:00
Mark Paluch
7e7e9d59c4
Polishing.
...
Reformat code.
See #1007
Original pull request: #1079 .
2021-11-08 11:07:28 +01:00
Jens Schauder
bd8b3c63d9
Conditions are Expressions.
...
Selection of condition expressions yielding a boolean value is supported by some databases.
Closes #1007
Original pull request: #1079 .
2021-11-08 11:05:29 +01:00
Mark Paluch
c8ef7b4076
Use fully qualified names in ORDER BY clause.
...
Closes #680
2021-11-08 10:25:26 +01:00
Mark Paluch
239f8c75bd
Polishing.
...
Use column aliases in order-by/expressions when column is aliased. Reduce method visibility in tests.
Closes #968
Original pull request: #1080 .
2021-11-08 10:22:07 +01:00
Jens Schauder
7d1ed85cbe
Use fully qualified names in ORDER BY clause.
...
Closes #968
Original pull request: #1080 .
2021-11-08 10:22:03 +01:00
Jens Schauder
bc164cd4fb
Slightly simplified an example.
...
Removed superfluous `@Autowired` and made the constructor package private.
Closes #1072
2021-11-05 11:32:06 +01:00
Jens Schauder
baee76a46d
Make Oracle tests work with Testcontainers 1.16.2.
...
The new Testcontainers version comes with a standard Oracle image configured and doesn't work with the one we used so far.
Making the standard image work required some tweaks to the setup so that the test user has the required privileges.
Closes #1081
2021-11-05 09:20:16 +01:00
Mark Paluch
0ad751ec5c
Avoid nested entity creation if column value is null.
...
We now no longer attempt to create instances of nested entities if the column value is null. Previously the null check happened after checking registered custom conversions which has lead to potential object creation for columns containing null values.
Closes #670
2021-10-25 15:43:43 +02:00
Nik Handyman
72ab6c3195
Remove redundant word from reference documentation.
...
Closes #634
2021-10-25 15:22:03 +02:00
Mark Paluch
b1b5fe90da
Polishing.
...
Remove unecessary toString calls. Make Cast.create public to align with other factory methods. Fix AbstractSegment.toString
See #1066
Original pull request: #1071 .
2021-10-25 14:19:41 +02:00
Jens Schauder
cf39fa2cfb
Adds a CAST expression to the SQL DSL.
...
Example: Expressions.cast(table_user.column("name"),"VARCHAR2")
Also adds a toString to AbstractSegment to avoid stack overflows.
Closes #1066
Original pull request: #1071 .
2021-10-25 14:19:41 +02:00
Mark Paluch
f02e398868
After release cleanups.
...
See #654
2021-10-18 13:55:41 +02:00
Mark Paluch
b2c45094fb
After release cleanups.
...
See #1052
2021-10-18 13:55:41 +02:00
Mark Paluch
5c9e341c8a
Prepare next development iteration.
...
See #654
2021-10-18 13:55:38 +02:00
Mark Paluch
546d7dccda
Prepare next development iteration.
...
See #1052
2021-10-18 13:55:38 +02:00
Mark Paluch
e6daa5f3c1
Release version 1.4 RC1 (2021.1.0).
...
See #654
2021-10-18 13:48:13 +02:00
Mark Paluch
a8fc77b14c
Release version 2.3 RC1 (2021.1.0).
...
See #1052
2021-10-18 13:48:13 +02:00
Mark Paluch
bf4944b38f
Prepare 2.3 RC1 (2021.1.0).
...
See #1052
2021-10-18 13:47:46 +02:00
Mark Paluch
5171f501c3
Prepare 1.4 RC1 (2021.1.0).
...
See #654
2021-10-18 13:47:45 +02:00
Peter Luladjiev
101b3c8d47
Fix typo in Query Methods documentation.
...
Closes #1064
2021-10-13 14:18:16 +02:00
Mark Paluch
5fce1f81e9
Polishing.
...
Remove invalid docker parameter.
See #656
2021-10-11 14:51:09 +02:00
Mark Paluch
c372eb8fe2
Upgrade to Maven Wrapper 3.8.3.
...
See #1067
2021-10-11 14:30:22 +02:00
Mark Paluch
9de741fb57
Upgrade to Maven Wrapper 3.8.3.
...
See #664
2021-10-11 14:30:22 +02:00
Mark Paluch
a53f4ac375
Add support for fluent Query by Example query definition.
...
Closes : #663
2021-10-08 13:56:34 +02:00
Mark Paluch
4be6bc21ad
Polishing.
...
Reduce test element visibility according to JUnit 5 requirements.
See #1061
2021-10-06 09:07:17 +02:00
Mark Paluch
09596ce1eb
Log a warning when a query method is annotated with a query and a query name.
...
We now log when a query method has an ambiguous declaration to clarify that the declared query is used.
Closes #1061 .
2021-10-06 09:07:16 +02:00
Mark Paluch
944577df67
Polishing.
...
Fix javadoc.
See #661
2021-10-04 11:25:18 +02:00
Mark Paluch
245ad697c7
Adopt to API changes in Spring Data Relational.
...
Closes #661
2021-10-04 11:22:20 +02:00
Mark Paluch
bc866e3a06
Polishing.
...
Add missing deprecation annotation. Fix since tags.
See #1053
Original pull request: #1060 .
2021-10-01 10:34:10 +02:00
Jens Schauder
3cd25ee01f
Introducing AfterConvertCallback/Event.
...
This is to replace the AfterLoadCallback/Event in order to match the naming of other store modules.
AfterLoadCallback/Event is still in place for now, but deprecated.
Closes #1053
Original pull request: #1060 .
2021-10-01 10:33:59 +02:00
Mark Paluch
b02ee3c083
Polishing.
...
Encapsulate array support in JdbcArrayColumns.
See #1033
Original pull request: #1037 .
2021-09-30 14:35:41 +02:00
Jens Schauder
933b2f125d
Add the appropriate SQL type representation for floats in Postgres arrays.
...
Note that there is a separate problem with loading arrays of floats.
Original pull request #1037
See #1046
2021-09-30 14:35:34 +02:00
Jens Schauder
bc0d307415
SQL type used in array construction depends on Dialect.
...
Postgres requires the non standard type "FLOAT8" for "DOUBLE".
This is accomplished by making the conversion dependent on the dialect.
This required a new JdbcDialect interface in order to keep the JDBC annotation out of the relational module.
Closes #1033
Original pull request: #1037 .
2021-09-30 14:35:03 +02:00
Mark Paluch
b5b143448b
Refine CI triggers.
...
See #1054
2021-09-29 14:11:25 +02:00
Mark Paluch
22e57fdffc
Polishing.
...
See #1022
Original pull request: #1039 .
2021-09-28 15:53:20 +02:00
Jens Schauder
cc6859b8b8
Fixes annotated named queries.
...
@Query.name wasn't considered when trying to find a named query for a query method.
Closes #1022
Original pull request: #1039 .
2021-09-28 15:53:10 +02:00
Mark Paluch
660a44e888
Polishing.
...
See #1009
Original pull request: #1015 .
2021-09-28 15:08:24 +02:00
Jens Schauder
520134dc73
Conditions with SimpleExpressions get properly rendered.
...
This commit contains just a test to verify this.
The actual fix happened as part of #1018 .
Closes #1009 .
Original pull request #1015
See #1018
2021-09-28 15:08:24 +02:00
Mark Paluch
9844f40580
Polishing.
...
Reformat code. Add since tag.
See #995
Original pull request: #1014 .
2021-09-28 14:56:02 +02:00
Jens Schauder
82c70ab99f
Allow for arbitrary conditions as join condition.
...
Closes #995 .
Original pull request: #1014 .
2021-09-28 14:55:36 +02:00
Mark Paluch
d47020d868
Polishing.
...
Reformat code. Remove duplicate, lingering Javadoc. Add override annotations. Use entities instead of < and >. Reduce method/class visibility in tests.
See #1003
Original pull request: #1018 .
2021-09-28 10:50:51 +02:00
Jens Schauder
f6eacf327c
Support for in line queries for tables.
...
`InlineQuery` can be used wherever a `Table` was used up to now.
```
Table one = ...;
Select select = Select.builder()
.select(one.column("id"), employee.column("name"))
.from(one)
.build();
InlineQuery inline = InlineQuery.create(select, "inline");
Select select = Select.builder()
.select(inline.column("id"), inline.column("name"))
.from(inline)
.build();
```
Join and From renderer now use the same FromTableVisitor.
Also the SelectListVisitor reuses now the ExpressionVisitor.
Fixes #1003
Original pull request: #1018 .
2021-09-28 10:50:51 +02:00