327 Commits

Author SHA1 Message Date
Greg L. Turnquist
bfb499bb60 Prepare next development iteration.
See #1224
2022-08-29 16:58:00 +00:00
Greg L. Turnquist
a19e6cef45 Release version 2.2.12 (2021.0.12).
See #1224
2022-08-29 16:36:44 +00:00
Christoph Strobl
785947e437 Prepare next development iteration.
See #1202
2022-04-19 13:59:22 +02:00
Christoph Strobl
bc42814552 Release version 2.2.11 (2021.0.11).
See #1202
2022-04-19 13:48:17 +02:00
Jens Schauder
ec99c15017 Polishing.
Changed default behaviour to an empty name for embedded entities.
This allows to use embedded entities for column tuples without special prefix.

Original pull request #1149
2022-03-23 15:58:31 +01:00
Daniil Razorenov
7b1da545fb Fix assemble table alias for embedded entity with empty prefix and reference.
Table alias for embedded entity use prefix value from Embedded annotation. But default value for prefix is empty string. If try to create SqlIdentifier for empty string it throw exception. To avoid this behavior, if prefix is an empty string, property name for embedded entity is taken instead.
2022-03-23 15:58:31 +01:00
Mark Paluch
c851c142a9 Prepare next development iteration.
See #1174
2022-03-21 14:34:32 +01:00
Mark Paluch
968a07b41d Release version 2.2.10 (2021.0.10).
See #1174
2022-03-21 14:26:37 +01:00
Mark Paluch
8415e78b64 Prepare next development iteration.
See #1129
2022-02-18 10:32:50 +01:00
Mark Paluch
660cfc6ce0 Release version 2.2.9 (2021.0.9).
See #1129
2022-02-18 10:24:48 +01:00
Jens Schauder
d377b0f0ba Fixes NPE in PersistentPropertyPathExtension.equals.
Closes #1164
2022-02-15 10:42:33 +01:00
Christoph Strobl
05f63f5dca Prepare next development iteration.
See #1084
2022-01-14 10:00:53 +01:00
Christoph Strobl
91d16f3631 Release version 2.2.8 (2021.0.8).
See #1084
2022-01-14 09:47:47 +01:00
Jens Schauder
ffc96d6385 Prepare next development iteration.
See #1069
2021-11-12 10:38:54 +01:00
Jens Schauder
537098a626 Release version 2.2.7 (2021.0.7).
See #1069
2021-11-12 10:27:20 +01:00
Mark Paluch
791540064f Prepare next development iteration.
See #1051
2021-10-18 11:19:41 +02:00
Mark Paluch
1a6fee5e48 Release version 2.2.6 (2021.0.6).
See #1051
2021-10-18 11:11:44 +02:00
Mark Paluch
63568aac5a Polishing.
Reduce test element visibility according to JUnit 5 requirements.

See #1061
2021-10-06 09:06:56 +02:00
Mark Paluch
56ad839867 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:06:56 +02:00
Mark Paluch
8ecc01d6df Polishing.
See #1022
Original pull request: #1039.
2021-09-28 15:53:33 +02:00
Jens Schauder
108e9db1a4 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:33 +02:00
Mark Paluch
7dde140536 Prepare next development iteration.
See #1025
2021-09-17 09:27:35 +02:00
Mark Paluch
cc72fa0875 Release version 2.2.5 (2021.0.5).
See #1025
2021-09-17 09:18:31 +02:00
Christoph Strobl
e5e529d682 Change visibility of JdbcRepositoryFactoryBean setters.
Setters of the FactoryBean are now public.

Closes #1031
2021-08-24 14:09:15 +02:00
Jens Schauder
f1b3683070 Prepare next development iteration.
See #1011
2021-08-12 11:37:29 +02:00
Jens Schauder
227c94d1f2 Release version 2.2.4 (2021.0.4).
See #1011
2021-08-12 11:22:49 +02:00
Jens Schauder
e6bc4a727c Prepare next development iteration.
See #991
2021-07-16 11:51:02 +02:00
Jens Schauder
602a426218 Release version 2.2.3 (2021.0.3).
See #991
2021-07-16 11:35:22 +02:00
Mark Paluch
2509d901bb Prepare next development iteration.
See #977
2021-06-22 16:05:19 +02:00
Mark Paluch
6ffe79265a Release version 2.2.2 (2021.0.2).
See #977
2021-06-22 15:52:27 +02:00
Mark Paluch
82ca13a4bb Polishing.
See #972
2021-05-17 11:44:09 +02:00
Mark Paluch
79200f4059 Move Identifier from Spring Data Relational to Spring Data JDBC.
Fix split-package between spring.data.jdbc and spring.data.relational across modules.

Closes #972.
2021-05-17 11:42:03 +02:00
Jens Schauder
dfaaa51a34 Fixes build failures with JDK16.
`JdbcMappingContext` sets the SimpleTypeHolder to `JdbcSimpleTypeHolder.HOLDER` by default.
Fixing test failures where properties of type `UUID` were considered an entity by the `MappingContext`.
This in turn triggered failures when it tried to make fields of `UUID` accessible.

Removed the `UUID` field from a test entity in SD Relational, since `UUID` is not a simple type for Relational, nor a proper entity.

Replaced `@PostConstruct` with `InitializingBean` in test data source conifgurations in order avoid the requirement of importing javax.annotation-api.

Closes #975
2021-05-17 11:09:23 +02:00
Mark Paluch
c48350c71a Prepare next development iteration.
See #964
2021-05-14 12:34:16 +02:00
Mark Paluch
ef49addb9e Release version 2.2.1 (2021.0.1).
See #964
2021-05-14 12:23:55 +02:00
Jens Schauder
91ca16ffef Upgrades MySql for testing to 8.0.24.
This version of the docker container doesn't allow to use `root` as the database user name.
We still have to connect as `root` so we can create alternative schemata.
2021-05-06 12:07:52 +02:00
Mark Paluch
e4776d9f94 Prepare next development iteration.
See #955
2021-04-14 14:30:36 +02:00
Mark Paluch
1ba42993c6 Release version 2.2 GA (2021.0.0).
See #955
2021-04-14 14:18:47 +02:00
Jens Schauder
5d127cf2a3 Upgrade DB2 driver to 11.5.5.0.
Original pull request: #961.
2021-04-14 08:33:33 +02:00
Jens Schauder
44833531b9 Upgrade mysql driver to 8.0.23.
Original pull request: #961.
2021-04-14 08:33:19 +02:00
Jens Schauder
978d91c9c3 Polishing.
Organize version properties in groups and alphabetically.
Extracted additional version properties.

Original pull request: #961.
2021-04-14 08:32:57 +02:00
Jens Schauder
79923b66dc Polishing.
Tried to clarify the two step process of `JdbcQueryExecution` construction in `PartTreeJdbcQuery` by comments and renaming.

Original pull request #952
2021-04-06 19:20:10 +02:00
Mark Paluch
d191938e59 Add support for Slice and Page queries using query derivation.
We now support pagination for queries returning Slice and Page.

interface PersonRepository extends PagingAndSortingRepository<Person, String> {

  Slice<Person> findFirstByLastname(String lastname, Pageable pageable);

  Page<Person> findFirstByLastname(String lastname, Pageable pageable);
}

Closes #774
Original pull request #952
2021-04-06 19:20:10 +02:00
Mark Paluch
308ed6b081 Prepare next development iteration.
See #941
2021-03-31 17:24:03 +02:00
Mark Paluch
743f13949b Release version 2.2 RC1 (2021.0.0).
See #941
2021-03-31 17:05:07 +02:00
Mark Paluch
b6c41c68b3 Polishing.
Refactor ArrayUtil into a proper utility class providing toPrimitive and toObject methods for each primitive type. Add boolean support. Move convertToObjectArray to BasicJdbcConverter as its placement in ArrayUtils creates a certain amount of ambiguity over its actual purpose.

Create unit test.

See #945
Original pull request: #949.
2021-03-29 13:54:46 +02:00
Jens Schauder
55c6c0e858 Properly convert primitive array arguments.
Closes #945
Original pull request: #949.
2021-03-29 13:54:40 +02:00
Mark Paluch
dc88c16bef Prepare next development iteration.
See #925
2021-03-17 11:30:28 +01:00
Mark Paluch
e43bc507b0 Release version 2.2 M5 (2021.0.0).
See #925
2021-03-17 11:17:49 +01:00
Jens Schauder
53bed2613b Polishing.
Extract method in order to make the code more readable.

Switch to #xxx syntax for issue numbers instead of gh-xxx.

Original pull request #939
2021-03-12 12:05:20 +01:00