Commit Graph

239 Commits

Author SHA1 Message Date
Mark Paluch
eaf4fa189b DATAJDBC-474 - Updated changelog. 2020-02-12 14:46:48 +01:00
taeyeonkim
fe181b2bd9 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:31:07 +01:00
Milan Milanov
7f578ed2bb DATAJDBC-101 - Adds support for paging and sorting repositories.
Original pull request: #188.
2020-02-07 10:28:58 +01:00
Mark Paluch
75dad11b60 DATAJDBC-473 - Prepare 2.0 M2 (Neumann). 2020-01-17 09:38:43 +01:00
Mark Paluch
d5157382bf DATAJDBC-473 - Updated changelog. 2020-01-17 09:38:34 +01:00
Mark Paluch
48d8c2aa51 DATAJDBC-424 - Prepare 2.0 M1 (Neumann). 2020-01-16 16:05:03 +01:00
Mark Paluch
e566630379 DATAJDBC-424 - Updated changelog. 2020-01-16 16:04:59 +01:00
Mark Paluch
c2126d6831 DATAJDBC-458 - Updated changelog. 2020-01-15 12:51:14 +01:00
Mark Paluch
13ef9b417e DATAJDBC-457 - Updated changelog. 2020-01-15 10:36:35 +01:00
Jens Schauder
8420a564e7 DATAJDBC-234 - Adds documentation.
Original pull request: #180.
2020-01-08 15:40:20 +01:00
Jens Schauder
85bc2ee73a DATAJDBC-446 - Updated changelog. 2019-12-04 14:32:43 +01:00
Jens Schauder
5e01851126 DATAJDBC-445 - Updated changelog. 2019-12-04 12:09:44 +01:00
Jens Schauder
a894371903 DATAJDBC-451 - Adds a what's new section for version 1.1. 2019-12-02 09:29:11 +01:00
Jens Schauder
ca2d2182d2 DATAJDBC-219 - Polishing.
DeleteWithVersion doesn't require an entity anymore.
Added the `@author` and `@since` tags where they were missing.
Formatting.
Added documentation.

Original pull request: #166.
2019-12-02 08:56:33 +01:00
Jens Schauder
8d0441c2e0 DATAJDBC-448 - Fixes documentation mistake. 2019-11-26 15:11:32 +01:00
Mark Paluch
e024c983ad DATAJDBC-440 - Updated changelog. 2019-11-18 12:43:27 +01:00
Mark Paluch
cc92ce25b8 DATAJDBC-439 - Updated changelog. 2019-11-18 12:16:26 +01:00
Jens Schauder
93f0440f14 DATAJDBC-417 - Fixed numbering/indentation of MyBatis section. 2019-11-12 11:26:33 +01:00
Christoph Strobl
041cdc103e DATAJDBC-423 - Updated changelog. 2019-11-04 15:39:56 +01:00
Christoph Strobl
17970ded5d DATAJDBC-422 - Updated changelog. 2019-11-04 10:34:49 +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
Oliver Drotbohm
4923ba7076 DATAJDBC-333 - Updated changelog. 2019-04-01 20:56:25 +02:00
Spring Operator
913238a822 DATAJDBC-336 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 282 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

Original Pull Request: #140
2019-03-22 11:22:54 +01:00
Spring Operator
17128311f4 DATAJDBC-336 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* [ ] http://www.mybatis.org/mybatis-3/logging.html (200) with 1 occurrences could not be migrated:
   ([https](https://www.mybatis.org/mybatis-3/logging.html) result SSLHandshakeException).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://en.wikipedia.org/wiki/Dependency_Injection with 2 occurrences migrated to:
  https://en.wikipedia.org/wiki/Dependency_Injection ([https](https://en.wikipedia.org/wiki/Dependency_Injection) result 200).
* [ ] http://github.com/spring-projects/spring-data-jdbc with 1 occurrences migrated to:
  https://github.com/spring-projects/spring-data-jdbc ([https](https://github.com/spring-projects/spring-data-jdbc) result 200).
* [ ] http://spring.io/blog with 2 occurrences migrated to:
  https://spring.io/blog ([https](https://spring.io/blog) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-data-jdbc with 2 occurrences migrated to:
  https://stackoverflow.com/questions/tagged/spring-data-jdbc ([https](https://stackoverflow.com/questions/tagged/spring-data-jdbc) result 200).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* [ ] http://docs.spring.io/spring-data/data-commons/docs/current/api/index.html?org/springframework/data/domain/Persistable.html with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/data-commons/docs/current/api/index.html?org/springframework/data/domain/Persistable.html ([https](https://docs.spring.io/spring-data/data-commons/docs/current/api/index.html?org/springframework/data/domain/Persistable.html) result 301).
* [ ] http://docs.spring.io/spring-framework/docs/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-framework/docs/ ([https](https://docs.spring.io/spring-framework/docs/) result 301).
* [ ] http://help.github.com/forking/ with 2 occurrences migrated to:
  https://help.github.com/forking/ ([https](https://help.github.com/forking/) result 301).
* [ ] http://projects.spring.io/spring-data with 2 occurrences migrated to:
  https://projects.spring.io/spring-data ([https](https://projects.spring.io/spring-data) result 301).
* [ ] http://projects.spring.io/spring-framework with 2 occurrences migrated to:
  https://projects.spring.io/spring-framework ([https](https://projects.spring.io/spring-framework) result 301).
* [ ] http://www.springsource.org/download with 1 occurrences migrated to:
  https://www.springsource.org/download ([https](https://www.springsource.org/download) result 302).

Original Pull Request: #133
2019-03-21 10:07:21 +01:00