Commit Graph

664 Commits

Author SHA1 Message Date
Mark Paluch
4e7ba052d8 DATAJDBC-615 - After release cleanups. 2020-10-28 16:10:23 +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
Mark Paluch
618b0b0cea DATAJDBC-615 - Prepare 2.1 GA (2020.0.0). 2020-10-28 15:46:31 +01:00
Mark Paluch
439fc98e1d DATAJDBC-615 - Updated changelog. 2020-10-28 15:46:09 +01:00
Mark Paluch
af3f600f21 DATAJDBC-601 - Updated changelog. 2020-10-28 15:03:01 +01:00
Mark Paluch
346d6bcb4d DATAJDBC-600 - Updated changelog. 2020-10-28 12:15:03 +01:00
Mark Paluch
391f7f6ec8 DATAJDBC-621 - Updated changelog. 2020-10-28 11:32:26 +01:00
Greg L. Turnquist
18a2443380 DATAJDBC-603 - Use JDK 15 for latest CI jobs. 2020-10-26 13:14:18 -05:00
Jens Schauder
d5fdbd1581 DATAJDBC-522 - Polishing.
Removed e-mail from author tag.
Removed spaces from references to methods in KDoc.
Removed superfluous comment.
Corrected copyright date.

Original pull request: #240.
2020-10-26 13:02:52 +01:00
Juan Medina
91d8693835 DATAJDBC-522 - Add Kotlin extensions for Criteria.
Adding Kotlin extensions for easier consumption of Criteria when using Kotlin.

Original pull request: #240.
2020-10-26 12:28:06 +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
8fef3d3d7c DATAJDBC-602 - After release cleanups. 2020-10-14 14:48:47 +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
Christoph Strobl
f6920f5999 DATAJDBC-602 - Prepare 2.1 RC2 (2020.0.0). 2020-10-14 14:27:37 +02:00
Christoph Strobl
bef7d14c02 DATAJDBC-602 - Updated changelog. 2020-10-14 14:27:29 +02:00
Jens Schauder
56b06ddb95 DATAJDBC-614 - Adding unit tests.
Original pull request: #227.
2020-10-13 15:18:44 +02:00
宋金龙
735b1bc540 DATAJDBC-614 - Correctly combines sorting from sort and page.
Original pull request: #227.
2020-10-13 15:18:44 +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
Myat Min
e26f6647da DATAJDBC-349 - Adds a unit test for the changes.
Original pull request: #242.
2020-10-13 13:53:54 +02:00
Yunyoung LEE
dc535e9791 DATAJDBC-349 - Apply JdbcConverter on reference ids.
Original pull request: #248.
2020-10-13 13:52:58 +02:00
Jens Schauder
1b1395ab73 DATAJDBC-430 - Polishing.
Renames *Bean annotation attributes to *Ref to match other similar attributes.
Removes additional arguments from constructors of public classes in order to avoid breaking the API.
Gathers application context configuration for StringBasedJdbcQueryMappingConfigurationIntegrationTests in a single java file.
Formatting.
Adds the author tag.
Changes default value of references to the empty String.

Original pull request: #249.
2020-10-12 17:16:37 +02:00
Hebert
c356a8ca41 DATAJDBC-430 Allow specification of rowMapperRef or resultSetExtractorRef as bean references.
This allows lookup of such beans by name, thereby allowing for full dependency injection support.

Original pull request: #249.
2020-10-12 15:05:24 +02:00
Raphi
68c8a8a2dd DATAJDBC-610 - Provide arguments for log message in example.
Original pull request: #244.
2020-10-05 17:41:59 +02:00
Mark Paluch
109adbcbf4 DATAJDBC-606 - Adopt to changes in Spring Data Commons.
Adopt to new mock requirements.
2020-09-22 16:24:56 +02:00
Mark Paluch
9cd8fc16b3 DATAJDBC-508 - Add support for @Value in persistence constructors.
We now evaluate @Value annotations in persistence constructors to compute values when creating object instances. AtValue can be used to materialize values for e.g. transient properties. Root properties map to the ResultSet from which an object gets materialized.

class WithAtValue {

	private final @Id Long id;
	private final @Transient String computed;

	public WithAtValue(Long id,
			@Value("#root.first_name") String computed) { // obtain value from first_name column
		this.id = id;
			this.computed = computed;
		}
	}
2020-09-22 11:48:56 +02:00
Mark Paluch
842a309f27 DATAJDBC-604 - Support empty IN lists.
We now support empty IN lists by rendering a condition that evaluates to FALSE using 1 = 0. For NOT IN, we render a condition that evaluates to TRUE using 1 = 1.
2020-09-22 09:58:10 +02:00
Mark Paluch
38139d7d83 DATAJDBC-596 - Fix less-than comparator from ligature to less-than symbol. 2020-09-22 09:57:03 +02:00
Greg L. Turnquist
c41a1bb9c4 DATAJDBC-603 - Only test other versions for local changes on main branch. 2020-09-18 11:00:48 -05:00
Mark Paluch
80c3502350 DATAJDBC-590 - After release cleanups. 2020-09-16 14:05:28 +02:00
Mark Paluch
0713e5a048 DATAJDBC-590 - Prepare next development iteration. 2020-09-16 14:05:24 +02:00
Mark Paluch
25b8b7c909 DATAJDBC-590 - Release version 2.1 RC1 (2020.0.0). 2020-09-16 13:57:41 +02:00
Mark Paluch
110fe70007 DATAJDBC-590 - Prepare 2.1 RC1 (2020.0.0). 2020-09-16 13:57:08 +02:00
Mark Paluch
ebbfbf3999 DATAJDBC-590 - Updated changelog. 2020-09-16 13:56:47 +02:00
Mark Paluch
00fc2377c4 DATAJDBC-591 - Updated changelog. 2020-09-16 12:16:32 +02:00
Mark Paluch
d8966b10ad DATAJDBC-581 - Updated changelog. 2020-09-16 11:20:08 +02:00
Mark Paluch
3e71eb27c7 DATAJDBC-580 - Updated changelog. 2020-09-16 10:38:56 +02:00
Mark Paluch
9c4753f3a5 DATAJDBC-598 - Adapt to changed Spring Framework CollectionUtils.
CollectionUtils.arrayToList(…) now returns List<?> which isn't compatible with Collection<Object>.
2020-09-09 13:58:01 +02:00
Mark Paluch
378736c92f DATAJDBC-582 - Updated changelog. 2020-08-12 13:25:49 +02:00
Mark Paluch
74954f6be2 DATAJDBC-571 - After release cleanups. 2020-08-12 12:00:22 +02:00
Mark Paluch
8271aff800 DATAJDBC-571 - Prepare next development iteration. 2020-08-12 12:00:19 +02:00
Mark Paluch
6dccea722f DATAJDBC-571 - Release version 2.1 M2 (2020.0.0). 2020-08-12 11:52:05 +02:00