Commit Graph

402 Commits

Author SHA1 Message Date
mhyeon-lee
2a0729d7fe DATAJDBC-291 - Add failing test for setting ids in nested entities.
Original pull request: #158, #173.
2019-10-15 15:52:32 +02:00
Mark Paluch
4434a0f552 DATAJDBC-403 - After release cleanups. 2019-09-30 16:17:29 +02:00
Mark Paluch
9277797d37 DATAJDBC-403 - Prepare next development iteration. 2019-09-30 16:17:28 +02:00
Mark Paluch
2c356f6346 DATAJDBC-403 - Release version 1.1 GA (Moore). 2019-09-30 15:51:07 +02: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
3f7bdb77f7 DATAJDBC-419 - Polishing.
Inherit plugin versions for dependency and surefire plugins.
2019-09-25 11:23:49 +02:00
Mark Paluch
0069cc7f07 DATAJDBC-419 - Inherit Jacoco configuration from parent pom. 2019-09-25 11:23:49 +02:00
Jens Schauder
8feb7fbf71 DATAJDBC-413 - Polishing.
Removed excessive logging in tests.
Again.
2019-09-13 09:12:26 +02:00
Jens Schauder
1fe39cf1c9 DATAJDBC-413 - Use proper https URLs for MyBatis DTDs.
See also: https://github.com/mybatis/mybatis-3/issues/1559
2019-09-13 09:08:02 +02:00
Mark Paluch
4d1fff1c19 DATAJDBC-411 - Set project.root in module poms to correctly generate Javadoc.
By setting project.root, Javadoc is aggregated in the parent pom target so it can be collected during the distribution build.

Original pull request: #168.
2019-09-12 07:54:26 +02:00
Mark Paluch
fb0cd1fe70 DATAJDBC-410 - Polishing.
Tweak Javadoc.

Original pull request: #167.
2019-09-11 16:35:24 +02:00
Jens Schauder
85bf1e6dc7 DATAJDBC-410 - Properly render NOT IN clauses.
See also: https://github.com/spring-projects/spring-data-r2dbc/issues/177
Original pull request: #167.
2019-09-11 16:35:08 +02:00
Mark Paluch
045c894d2e DATAJDBC-404 - After release cleanups. 2019-09-06 10:21:56 +02:00
Mark Paluch
5380daac6f DATAJDBC-404 - Prepare next development iteration. 2019-09-06 10:21:54 +02:00
Mark Paluch
c2f11ed104 DATAJDBC-404 - Release version 1.1 RC3 (Moore). 2019-09-06 10:10:42 +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
Greg Turnquist
a234e51a2b DATAJDBC-376 - Force check for updates. 2019-08-05 10:55:37 -05:00
Mark Paluch
7ab3cd83c8 DATAJDBC-388 - After release cleanups. 2019-08-05 15:53:02 +02:00
Mark Paluch
2f28153471 DATAJDBC-388 - Prepare next development iteration. 2019-08-05 15:53:01 +02:00
Mark Paluch
10ae98a572 DATAJDBC-388 - Release version 1.1 RC2 (Moore). 2019-08-05 15:35:35 +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
Oliver Drotbohm
5a8abe73e6 DATAJDBC-399 - Performance improvements in metadata lookups.
Avoid Stream usage in favor of a simple for loop in event triggering in JdbcAggregateTemplate. Tweaked JdbcMappingContext to verify the presence of parameter names on metadata creation. Avoid the re-resolution of the column name for a property by caching the resolved column name. This significantly improves performance as it avoids repeated parsing and concatenation of strings. Added caching to PersistentPropertyPathExtension.
2019-07-30 17:15:53 +02:00
Mark Paluch
1fb404a84e DATAJDBC-400 - Polishing.
Add version since which deprecations are in place. Inline variables.

Original pull request: #164.
2019-07-29 14:15:12 +02:00
Jens Schauder
af3b9f8adb DATAJDBC-400 - Deprecated Identifier for those events that also have an entity.
Retrieval of the Identifier has been shown to cost significant performance.

Original pull request: #164.
2019-07-29 14:15:06 +02:00
Jens Schauder
2289195e8a DATAJDBC-400 - Remove Identifier from callbacks.
Retrieval of the Identifier has been shown to cost significant performance.

Original pull request: #164.
2019-07-29 14:14:37 +02:00
Mark Paluch
4ab69a10f7 DATAJDBC-398 - Polishing.
Convert space indent to tabs.

Original pull request: #163.
2019-07-26 12:35:07 +02:00
Jens Schauder
5e8161dbf3 DATAJDBC-398 - SimpleJdbcRepository methods are now transactional.
Original pull request: #163.
2019-07-26 12:34:56 +02:00
Greg Turnquist
d75058ab23 DATAJDBC-376 - Polishing. 2019-07-19 11:53:22 -05:00
Greg Turnquist
6ba1863846 DATAJDBC-376 - Publish documentation for main branch. 2019-07-19 11:53:02 -05:00
Jens Schauder
1d91d839b7 DATAJDBC-393 - Added missing create table script for integration tests. 2019-07-17 10:23:09 +02:00
Jens Schauder
14d79025b5 DATAJDBC-394 - Don't use AS for table aliases.
The AS keyword for table aliases is optional for all databases that support it.
It is not supported by Oracle.
Thus not using it makes the generated SQL compatible to more databases.

Original pull request: #162.
2019-07-17 08:47:00 +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
Mark Paluch
d143d8fe71 DATAJDBC-390 - Polishing.
Slightly tweak Javadoc.

Original pull request: #159.
2019-07-15 11:39:06 +02:00
Jens Schauder
7089e077d5 DATAJDBC-390 - Add ordering to RelationalAuditingEventListener to run before other listeners without explicitly specified order.
When an event listener is used to set an id before saving it, this ensures the auditing happens before setting the id.
If this is not ensured the auditing listener doesn't consider the entity as new and doesn't set created date and created by user.

Original pull request: #159.
2019-07-15 11:35:53 +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
Oliver Drotbohm
0d20e4b7b2 DATAJDBC-395 - Overhaul of AbstractJdbcConfiguration.
We now declare DataAccessStrategy as bean again as using a custom default caused the lazy resolution of a RelationResolver to break. Changed the signatures to avoid cross method invocations and allow us to declare the class to not need proxying.

Added integration tests to make sure the components that should be registered are actually registered and the configuration class is useable in the first place. With that in place, the broken cycle would've been caught immediately.
2019-07-12 16:30:24 +02:00
Jens Schauder
fb07912274 DATAJDBC-395 - Polishing.
Avoid line breaks in parameter lists.

Original pull request: #160.
2019-07-11 10:45:10 +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
Mark Paluch
275f1a13b9 DATAJDBC-391 - Fix typo. 2019-07-10 09:48:29 +02:00
Mark Paluch
51aa4c896e DATAJDBC-376 - Cleanup release profile.
Reuse inherited configuration from parent pom.
2019-07-09 11:19:19 +02:00
Mark Paluch
938a52cb33 DATAJDBC-391 - Revise readme for a consistent structure. 2019-07-09 11:19:19 +02:00
Greg Turnquist
de555a87eb DATAJDBC-376 - Use parent 'artifactory' profile for snapshot releases. 2019-07-03 16:47:35 -05:00
Greg Turnquist
ee24f92e1d DATAJDBC-376 - Only build main branch for an upstream trigger. 2019-06-28 18:59:39 -05:00