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
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
Oliver Drotbohm
32d79cce59
Move to Spring Data Commons' association abstraction.
...
Deprecated Spring Data JDBC's custom PersistentProperty.isReference() in favor of the already existing ….isAssociation() with the same semantics to benefit from association definitions implemented in Spring Data Commons. Make use of the newly introduced PersistentEntity.doWithAll(…) to apply the previously existing property handling to both properties and now associations, too.
Original pull request #938
2021-03-12 11:22:28 +01:00
Oliver Drotbohm
faaaeab4b5
JdbcCustomConversion does not reject non-Date related default converters.
...
Previously, JdbcCustomConversion rejected any default converter that was not converting from and to java.util.Date. This probably stemmed from the fact that up until recently, Spring Data Commons' CustomConversions only registered date related default converters. As of spring-projects/spring-data-commons#2315 we also support jMolecules' Association and Identifier converters. We've relaxed the rejection to only explicitly reject all non Date/Time related converters if the conversion is from/to java.util.Date but allow everything else out of the box.
Original pull request #937
2021-03-12 08:58:40 +01:00
Christoph Strobl
c86998a92d
Prepare next development iteration.
...
See #926
2021-02-18 11:35:20 +01:00
Christoph Strobl
593fa884f3
Release version 2.2 M4 (2021.0.0).
...
See #926
2021-02-18 11:25:13 +01:00
Christoph Strobl
4885f192f8
Prepare next development iteration.
...
See #906
2021-02-17 14:17:47 +01:00
Christoph Strobl
11e975cb10
Release version 2.2 M3 (2021.0.0).
...
See #906
2021-02-17 14:00:09 +01:00
Jens Schauder
9a23493d72
Trigger BeforeConvertEvent when saving an aggregate.
...
Closes : #910
Original pull request: #913 .
2021-01-19 09:41:59 +01:00
Jens Schauder
429f1b06b9
DATAJDBC-620 - Polishing.
...
Remove public modifier from tests, which is superfluous with JUnit 5.
Original pull request: #256 .
2021-01-18 14:47:40 +01:00
Jens Schauder
3d4847a552
DATAJDBC-620 - The default RowMapper now gets passed to ResultSetConstructor.
...
Original pull request: #256 .
2021-01-18 14:47:34 +01:00
Christoph Strobl
261f851fee
Prepare next development iteration.
...
See #862
2021-01-13 15:46:58 +01:00
Christoph Strobl
6b064b544a
Release version 2.2 M2 (2021.0.0).
...
See #862
2021-01-13 15:34:04 +01:00
Mark Paluch
394b1cec31
Update copyright year to 2021.
...
Closes #904
2021-01-12 11:32:07 +01:00
Jens Schauder
ba653183d1
#257 - Remove references to Jira.
...
All references to the Spring Jira instance are replaced by GitHub references.
2021-01-05 10:55:31 +01:00
Jens Schauder
2188b5d6cf
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:16:55 +01:00
Greg L. Turnquist
306f1b39dd
DATAJDBC-637 - Fix typo in H2 testing.
...
Original pull request: #254 .
2020-12-11 08:16:43 +01:00
Mark Paluch
869e987e55
DATAJDBC-637 - Polishing.
...
Make Jsr310TimestampBasedConverters package-private. Introduce convenience constructors to improve external configuration of JdbcCustomConversions.
Original pull request: #254 .
2020-12-10 11:05:29 +01:00
Jens Schauder
2efcda2a91
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-10 11:05:29 +01:00
Mark Paluch
f0f0ef3e2a
DATAJDBC-627 - Prepare next development iteration.
2020-12-09 15:32:15 +01:00
Mark Paluch
3ea60d0b0c
DATAJDBC-627 - Release version 2.2 M1 (2021.0.0).
2020-12-09 15:21:55 +01:00
Jens Schauder
b1dd8042cd
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-07 15:38:19 +01:00
Mark Paluch
91ecc07b84
DATAJDBC-629 - Polishing.
...
Reorder methods.
Original pull request: #252 .
2020-11-25 14:32:02 +01:00
Jens Schauder
c0d337d715
DATAJDBC-629 - Implements CrudRepository.deleteAllById(Iterable<ID>).
...
Original pull request: #252 .
2020-11-25 14:31:49 +01:00
mhyeon-lee
33d040ac71
DATAJDBC-531 - Skip COUNT query when current page is the last page.
...
Original pull request: #211 .
2020-11-03 15:30:24 +01:00
Mark Paluch
40c971e836
DATAJDBC-615 - Prepare next development iteration.
2020-10-28 16:10:20 +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