Commit Graph

771 Commits

Author SHA1 Message Date
Mark Paluch
04fa01b8ee Polishing.
See #972
2021-05-17 11:44:05 +02:00
Mark Paluch
af755dc81b 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:07 +02:00
Jens Schauder
1ca628922d 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:05 +02:00
Mark Paluch
0b40111efc Updated changelog.
See #964
2021-05-14 12:36:34 +02:00
Mark Paluch
bd2e706ea2 Updated changelog.
See #963
2021-05-14 12:06:37 +02:00
Greg L. Turnquist
eac9b267ee Update CI to JDK 16.
See #946.
2021-05-13 15:46:27 -05:00
Jens Schauder
920b2d47ef 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:01:25 +02:00
Greg L. Turnquist
574ff2680f Polishing. 2021-04-21 13:47:20 -05:00
Greg L. Turnquist
f750b6df4c Authenticate with artifactory.
See #955.
2021-04-21 13:39:27 -05:00
Greg L. Turnquist
3aa5ece2c9 Migrate to main branch.
See #955.
2021-04-15 13:23:08 -05:00
Mark Paluch
7585f870cf After release cleanups.
See #955
2021-04-14 14:30:14 +02:00
Mark Paluch
aa7d68d8c3 Prepare next development iteration.
See #955
2021-04-14 14:30:11 +02:00
Mark Paluch
1ba42993c6 Release version 2.2 GA (2021.0.0).
See #955
2021-04-14 14:18:47 +02:00
Mark Paluch
87d54655cd Prepare 2.2 GA (2021.0.0).
See #955
2021-04-14 14:18:21 +02:00
Mark Paluch
bbe98a7312 Updated changelog.
See #955
2021-04-14 14:18:13 +02:00
Mark Paluch
30d2b0355f Updated changelog.
See #956
2021-04-14 11:43:30 +02:00
Mark Paluch
8fc9b06eea Updated changelog.
See #943
2021-04-14 11:17:38 +02:00
Jens Schauder
ce048afb2f Upgrade MyBatis dependencies.
Original pull request: #961.
2021-04-14 08:33:35 +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
45e61ad907 Upgrade Hsqldb driver to 2.5.2.
Original pull request: #961.
2021-04-14 08:33:29 +02:00
Jens Schauder
d85ba75d7c Upgrade MariaDB driver to 2.7.2.
Original pull request: #961.
2021-04-14 08:33:26 +02:00
Jens Schauder
47e06bd3af Upgrade Sql Server driver to 9.2.1.jre8.
Original pull request: #961.
2021-04-14 08:33:22 +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
08c4fd57a6 Upgrade postgres driver to 42.2.19.
Original pull request: #961.
2021-04-14 08:33:17 +02:00
Jens Schauder
cb505aebc7 Upgrade awaitility to 4.0.3.
Original pull request: #961.
2021-04-14 08:33:13 +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
Mark Paluch
02c64013da Polishing.
Fix includes.

Original pull request: #951.
2021-04-13 15:16:19 +02:00
Jens Schauder
140c774c3e Improve documentation of entity state detection.
The use of a version property to determine the state of an entity wasn't properly documented so far.

Closes: #951.
2021-04-13 15:15:41 +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
842b5cd176 Updated changelog.
See #944
2021-03-31 18:30:43 +02:00
Mark Paluch
6bc9afa8d2 After release cleanups.
See #941
2021-03-31 17:24:05 +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
a69958bd85 Prepare 2.2 RC1 (2021.0.0).
See #941
2021-03-31 17:04:34 +02:00
Mark Paluch
2deb4f39ca Updated changelog.
See #941
2021-03-31 17:04:28 +02:00
zimmse
7a324e9fb5 Fix small typo in dialect section.
Original pull request #953.
2021-03-31 08:52:47 +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
Jens Schauder
f20192cc05 Corrects documentation about query derivation.
Closes #947
2021-03-22 11:10:33 +01:00
Mark Paluch
aeb585a536 After release cleanups.
See #925
2021-03-17 11:30:30 +01: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
Mark Paluch
c82497141b Prepare 2.2 M5 (2021.0.0).
See #925
2021-03-17 11:17:26 +01:00
Mark Paluch
6a087ef59b Updated changelog.
See #925
2021-03-17 11:17:15 +01:00
Mark Paluch
09c0d89856 Updated changelog.
See #927
2021-03-17 11:03:38 +01:00
Mark Paluch
60fc36c297 Updated changelog.
See #923
2021-03-17 10:35:11 +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
Radim Tlusty
304345c4c8 Don't retrieve generated keys on INSERT if id is set.
Closes #933
Original pull request #939
2021-03-12 11:53:11 +01:00
Jens Schauder
0e8e8a4799 Polishing.
Improves tests by also testing for the negative case.

Original pull request #938
2021-03-12 11:22:28 +01:00