Commit Graph

222 Commits

Author SHA1 Message Date
Jens Schauder
7a039d7e34 DATAJDBC-486 - Updated changelog. 2020-03-11 09:59:31 +01:00
Mark Paluch
c5cda7b4be DATAJDBC-472 - Prepare 1.1.5 (Moore SR5). 2020-02-26 11:37:58 +01:00
Mark Paluch
caa7890329 DATAJDBC-472 - Updated changelog. 2020-02-26 11:37:50 +01:00
Mark Paluch
279261f412 DATAJDBC-471 - Updated changelog. 2020-02-26 11:31:48 +01:00
Mark Paluch
98c7813139 DATAJDBC-474 - Updated changelog. 2020-02-12 15:05:03 +01:00
taeyeonkim
d77d440a8c DATAJDBC-483 - Fixes small documentation issues.
Add anchor to section on JdbcValue in reference documentation.
Correct the type of `BeforeSaveEvent` in example code.

Original pull request: #189.
2020-02-07 11:36:30 +01:00
Mark Paluch
35b4ef61b8 DATAJDBC-473 - Updated changelog. 2020-01-17 09:58:35 +01:00
Mark Paluch
618a6fd69b DATAJDBC-424 - Updated changelog. 2020-01-16 16:12:39 +01:00
Mark Paluch
82d4052433 DATAJDBC-458 - Prepare 1.1.4 (Moore SR4). 2020-01-15 12:37:18 +01:00
Mark Paluch
55b43d4576 DATAJDBC-458 - Updated changelog. 2020-01-15 12:37:07 +01:00
Mark Paluch
f9e01763d9 DATAJDBC-457 - Updated changelog. 2020-01-15 10:36:36 +01:00
Jens Schauder
f145897b3a DATAJDBC-446 - Prepare 1.1.3 (Moore SR3). 2019-12-04 14:11:43 +01:00
Jens Schauder
4ebb013e71 DATAJDBC-446 - Updated changelog. 2019-12-04 14:11:32 +01:00
Jens Schauder
9ca5b897a0 DATAJDBC-445 - Updated changelog. 2019-12-04 12:09:45 +01:00
Jens Schauder
f410249836 DATAJDBC-451 - Adds a what's new section for version 1.1. 2019-12-02 09:31:02 +01:00
Jens Schauder
02b9560c02 DATAJDBC-448 - Fixes documentation mistake. 2019-11-26 15:14:10 +01:00
Mark Paluch
ae731a1366 DATAJDBC-440 - Prepare 1.1.2 (Moore SR2). 2019-11-18 12:31:53 +01:00
Mark Paluch
b8682bbaf6 DATAJDBC-440 - Updated changelog. 2019-11-18 12:31:43 +01:00
Mark Paluch
1892e9bdc3 DATAJDBC-439 - Updated changelog. 2019-11-18 12:16:27 +01:00
Jens Schauder
157fed945f DATAJDBC-417 - Fixed numbering/indentation of MyBatis section. 2019-11-12 11:26:18 +01:00
Christoph Strobl
1c104a1c4b DATAJDBC-423 - Prepare 1.1.1 (Moore SR1). 2019-11-04 14:54:16 +01:00
Christoph Strobl
0d62f69b63 DATAJDBC-423 - Updated changelog. 2019-11-04 14:54:06 +01:00
Christoph Strobl
5f54a5aac5 DATAJDBC-422 - Updated changelog. 2019-11-04 10:34:50 +01:00
Mark Paluch
eb3c87f822 DATAJDBC-403 - Prepare 1.1 GA (Moore). 2019-09-30 15:50:43 +02:00
Mark Paluch
3b61b995e7 DATAJDBC-403 - Updated changelog. 2019-09-30 15:50:34 +02:00
Mark Paluch
eb4b2f0633 DATAJDBC-402 - Updated changelog. 2019-09-30 11:16:16 +02:00
Mark Paluch
cece3471d6 DATAJDBC-404 - Prepare 1.1 RC3 (Moore). 2019-09-06 10:10:12 +02:00
Mark Paluch
7e77866875 DATAJDBC-404 - Updated changelog. 2019-09-06 10:10:02 +02:00
Jens Schauder
47c8739d4c DATAJDBC-405 - Fixes asciidoctor includes.
Includes from Spring Data Commons failed because they where made relative from the asciidoc documents.
But the documents get moved before asciidoc is executed.

Corrected the environment variable used for building the reference to account for this.
Removed one manual fix which breaks with the proper fix.
2019-08-21 17:47:49 +02:00
Mark Paluch
09318cc0f1 DATAJDBC-388 - Prepare 1.1 RC2 (Moore). 2019-08-05 15:35:05 +02:00
Mark Paluch
096ebafcb1 DATAJDBC-388 - Updated changelog. 2019-08-05 15:34:54 +02:00
Mark Paluch
13cbc54c3b DATAJDBC-387 - Updated changelog. 2019-08-05 11:34:26 +02:00
Mark Paluch
257dd7d5d4 DATAJDBC-393 - Polishing.
Accept AggregateChange in BeforeSave and BeforeDelete callbacks. Add Javadoc. Fix generics usage in RelationalAuditingCallback. Align documentation for consistent entity callback documentation.

Add overloaded JdbcAggregateTemplate constructor to directly configure EntityCallbacks.

Original pull request: #161.
2019-07-16 13:09:08 +02:00
Jens Schauder
1a9612c64f DATAJDBC-393 - EntityCallback support.
An `EntityCallback` works very similar to an `ApplicationEvent` but returns a potentially changed instance.
The returned instance will be used in further processing which enables proper event handling for immutable classes.

Auditing was changed to use a callback making it work also with immutable objects.

Original pull request: #161.
2019-07-16 13:08:44 +02:00
Oliver Drotbohm
c1e460bd9f DATAJDBC-395 - Added dedicated configuration class for MyBatis integration.
We now ship MyBatisJdbcConfiguration as an alternative to (Abstract)JdbcConfiguration to tweak the DataAccessStrategy bean registered to create one that tries MyBatis mappings first but still delegates to the default one.
2019-07-12 16:47:30 +02:00
Jens Schauder
b7ee1bbbb0 DATAJDBC-395 - AbstractJdbcConfiguration no longer registers a bean of type DataAccessStrategy.
This avoids having multiple beans of that type in an ApplicationContext when a custom DataAccessStrategy needs to be provided.

Original pull request: #160.
2019-07-11 10:44:46 +02:00
Jens Schauder
49b71fe366 DATAJDBC-383 - Changing Mybatis documentation link to https. 2019-06-18 14:12:27 +02:00
Christoph Strobl
751cbb5102 DATAJDBC-360 - Prepare 1.1 RC1 (Moore). 2019-06-14 14:43:17 +02:00
Christoph Strobl
f51d4c2161 DATAJDBC-360 - Updated changelog. 2019-06-14 14:43:07 +02:00
Christoph Strobl
c7b85f8645 DATAJDBC-372 - Updated changelog. 2019-06-14 13:27:13 +02:00
Jens Schauder
bd03ef83d6 DATAJDBC-384 - Fixed MyBatisDataAccessStrategy.findAllByPath.
findAllByPath now falls back to the older findAllByProperty for better backward compatibility.
Also the path is included in the query name used for MyBatis.

Original Pull Request: #157
2019-06-13 13:42:58 +02:00
Jens Schauder
ebe76a0c7f DATAJDBC-374 - Polishing.
Clarified the effects of collections on nullable embedded entities.

Original pull request: #154.
2019-05-22 12:49:17 +02:00
Christoph Strobl
55a3f9c372 DATAJDBC-374 - Introduce shortcuts for Embedded#onEmpty(…)
@Embedded.Nullable & @Embedded.Empty offer shortcuts for @Embedded(onEmpty = USE_NULL) and @Embedded(onEmpty = USE_EMPTY) to reduce verbositility and simultaneously set JSR-305 @javax.annotation.Nonnull accordingly.

    @Embedded.Nullable
    EmbeddedEntity embeddedEntity;

Original pull request: #154.
2019-05-22 12:47:24 +02:00
Christoph Strobl
5830b83cf4 DATAJDBC-374 - Add onEmpty attribute to Embedded annotation.
The onEmpty attribute allows to define if an embedded entity should be set to null or a default instance if all properties backing the entity are actually null.

    @Embedded(onEmpty = USE_NULL)
    EmbeddedEntity embeddedEntity;

Original pull request: #154.
2019-05-22 12:46:46 +02:00
Mark Paluch
c87d8b8d31 DATAJDBC-371 - Updated changelog. 2019-05-13 14:59:24 +02:00
Mark Paluch
ca36007c24 DATAJDBC-363 - Prepare 1.1 M4 (Moore). 2019-05-13 11:59:04 +02:00
Mark Paluch
5aa12504c8 DATAJDBC-363 - Updated changelog. 2019-05-13 11:58:52 +02:00
Oliver Drotbohm
d0c432d029 DATAJDBC-351 - Updated changelog. 2019-05-10 12:57:19 +02:00
Christoph Strobl
98fb114750 DATAJDBC-337 - Prepare 1.1 M3 (Moore). 2019-04-11 11:23:56 +02:00
Christoph Strobl
e5d04bf6d8 DATAJDBC-337 - Updated changelog. 2019-04-11 11:23:49 +02:00