Commit Graph

289 Commits

Author SHA1 Message Date
Jens Schauder
4e8201d646 Release version 2.1.11 (2020.0.11).
See #990
2021-07-16 10:19:52 +02:00
Mark Paluch
42585f72ee Prepare next development iteration.
See #976
2021-06-22 15:28:47 +02:00
Mark Paluch
84b03caf3a Release version 2.1.10 (2020.0.10).
See #976
2021-06-22 15:18:22 +02:00
Mark Paluch
2c5ce2f474 Polishing.
See #972
2021-05-17 11:44:15 +02:00
Mark Paluch
7d98c37648 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:41:55 +02:00
Jens Schauder
83750cc098 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:11:09 +02:00
Mark Paluch
99f43d4cfd Prepare next development iteration.
See #963
2021-05-14 12:05:16 +02:00
Mark Paluch
e8cc7f1239 Release version 2.1.9 (2020.0.9).
See #963
2021-05-14 11:52:23 +02:00
Mark Paluch
bfff94690b Prepare next development iteration.
See #956
2021-04-14 11:42:04 +02:00
Mark Paluch
49b71242be Release version 2.1.8 (2020.0.8).
See #956
2021-04-14 11:33:25 +02:00
Jens Schauder
a14c5c4e72 Polishing.
Organize version properties in groups and alphabetically.
Extracted additional version properties.

Original pull request: #961.
2021-04-14 08:33:57 +02:00
Mark Paluch
30118fee16 Prepare next development iteration.
See #944
2021-03-31 18:29:38 +02:00
Mark Paluch
4264bd9a56 Release version 2.1.7 (2020.0.7).
See #944
2021-03-31 18:19:52 +02:00
Mark Paluch
e99455538b 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:56:02 +02:00
Jens Schauder
53b6d684cf Properly convert primitive array arguments.
Closes #945
Original pull request: #949.
2021-03-29 13:56:02 +02:00
Mark Paluch
087544926f Prepare next development iteration.
See #927
2021-03-17 11:02:13 +01:00
Mark Paluch
5a7de2ff4d Release version 2.1.6 (2020.0.6).
See #927
2021-03-17 10:54:12 +01:00
Christoph Strobl
b58be34481 Prepare next development iteration.
See #924
2021-02-18 11:12:44 +01:00
Christoph Strobl
f2704b60b5 Release version 2.1.5 (2020.0.5).
See #924
2021-02-18 10:59:16 +01:00
Christoph Strobl
587d4f6cfb Prepare next development iteration.
See #905
2021-02-17 13:41:53 +01:00
Christoph Strobl
09888da9dc Release version 2.1.4 (2020.0.4).
See #905
2021-02-17 12:00:24 +01:00
Jens Schauder
c044c41651 Trigger BeforeConvertEvent when saving an aggregate.
Closes: #910
Original pull request: #913.
2021-01-19 09:42:19 +01:00
Jens Schauder
9640ef1ea3 DATAJDBC-620 - Polishing.
Remove public modifier from tests, which is superfluous with JUnit 5.

Original pull request: #256.
2021-01-18 14:48:18 +01:00
Jens Schauder
e3b46ed883 DATAJDBC-620 - The default RowMapper now gets passed to ResultSetConstructor.
Original pull request: #256.
2021-01-18 14:48:18 +01:00
Christoph Strobl
5209743ff0 Prepare next development iteration.
See #863
2021-01-13 15:01:46 +01:00
Christoph Strobl
f0a657e1d1 Release version 2.1.3 (2020.0.3).
See #863
2021-01-13 14:18:34 +01:00
Mark Paluch
338ea8752c Update copyright year to 2021.
Closes #904
2021-01-12 11:32:47 +01:00
Jens Schauder
f8eb72a632 #257 - Remove references to Jira.
All references to the Spring Jira instance are replaced by GitHub references.
2021-01-05 10:57:05 +01:00
Jens Schauder
3bfae6bbe6 DATAJDBC-637 - Fix tests for all databases.
Adds SQL scripts for all databases.
Separates tests for all databases vs. those that actually support nanosecond precision.

Original pull request: #255.
2020-12-11 08:26:06 +01:00
Greg L. Turnquist
b0108c0386 DATAJDBC-637 - Fix typo in H2 testing.
Original pull request: #254.
2020-12-11 08:26:06 +01:00
Mark Paluch
4e6a9b12ab DATAJDBC-637 - Polishing.
Make Jsr310TimestampBasedConverters package-private. Introduce convenience constructors to improve external configuration of JdbcCustomConversions.

Original pull request: #254.
2020-12-11 08:26:06 +01:00
Jens Schauder
69fe41dd55 DATAJDBC-637 - Time conversion now preserve nanosecond precision.
The standard JSR 310 converters are no longer used for conversions between java.util.Date and java.time.*.
New converters based converting to/from Timestamp are used.

This preserves the precision because both the java.time.* API and Timestamp have nanosecond precision, while java.util.Date has not.

Original pull request: #254.
2020-12-11 08:26:05 +01:00
Mark Paluch
45d84eaad9 DATAJDBC-633 - Prepare next development iteration. 2020-12-09 16:46:46 +01:00
Mark Paluch
6e9e439579 DATAJDBC-633 - Release version 2.1.2 (2020.0.2). 2020-12-09 16:01:24 +01:00
Jens Schauder
550bec5a0c DATAJDBC-641 - Removes references of org.jetbrains.annotations.NotNull.
Those annotations cause build failures once the providing jar wasn't available anymore since kotlin removed that dependency.

Those annotations were present in the code by accident anyway since Spring has and uses its own set of annotations.
2020-12-08 14:29:31 +01:00
Mark Paluch
75077a7213 DATAJDBC-626 - Prepare next development iteration. 2020-11-11 12:14:50 +01:00
Mark Paluch
6951124927 DATAJDBC-626 - Release version 2.1.1 (2020.0.1). 2020-11-11 11:58:58 +01:00
Mark Paluch
2fa2811852 DATAJDBC-615 - Prepare next development iteration. 2020-10-28 16:10:50 +01:00
Mark Paluch
9dbb810831 DATAJDBC-615 - Release version 2.1 GA (2020.0.0). 2020-10-28 15:46:54 +01:00
Jens Schauder
1f36fbccf6 DATAJDBC-622 - Polishing.
Corrected the author tags.
I used the wrong author in the previous polishing commit.

Original pull request: #245.
2020-10-26 12:25:32 +01:00
Jens Schauder
a9c4445501 DATAJDBC-622 - Add test for negative case.
This demonstrates that the configured reference is actually used.

Original pull request: #245.
2020-10-26 11:11:33 +01:00
Jens Schauder
1ef97dd00f DATAJDBC-622 - Polishing.
Rolled back changes to tests.
Added @author and @since tags.

Original pull request: #245.
2020-10-26 11:11:16 +01:00
Antoine Sauray
41c88bcd0c DATAJDBC-622 - Support transactionManagerRef in @EnableJdbcRepositories.
Original pull request: #245.
2020-10-26 11:10:56 +01:00
Jens Schauder
f23b987642 DATAJDBC-616 - Polishing.
Corrected name since AssumeFeatureRule is not a Rule but an ExecutionListener.
2020-10-16 10:59:21 +02:00
Jens Schauder
18100b44f3 DATAJDBC-616 - Fixes a test with sporadic failures.
The schema created in the setup script didn't get cleaned up when it contained tables, which it does once the setup script ran once.
2020-10-16 10:59:21 +02:00
Jens Schauder
9658ac1668 DATAJDBC-616 - Migrates to JUnit 5.
MockitoRunner -> MockitoExtension.
SpringRunner, SpringClassRule & SpringMethodRule -> SpringExtension.
2020-10-16 10:59:21 +02:00
Christoph Strobl
05fc5d49fd DATAJDBC-602 - Prepare next development iteration. 2020-10-14 14:48:45 +02:00
Christoph Strobl
f56ddc2779 DATAJDBC-602 - Release version 2.1 RC2 (2020.0.0). 2020-10-14 14:28:55 +02:00
Jens Schauder
6a9aa51e55 DATAJDBC-349 - Polishing.
Original pull requests: #248, #242.
2020-10-13 13:54:37 +02:00
Jens Schauder
66e3ad9815 DATAJDBC-349 - Polishing.
Original pull requests: #248, #242.
Fixes superfluous commata and unsupported data types.
Cleaning up database objects before (re)creating them.
2020-10-13 13:54:15 +02:00