Jens Schauder
7e0cafebf2
DATAJDBC-258 - Polishing.
...
Added mssql to the readme as available database for tests.
Original pull request: #98 .
2018-11-01 09:29:05 +01:00
Jens Schauder
1b5854e5ab
DATAJDBC-258 - Polishing.
...
Simplified id value retrieval.
Simplified ignoring tests for a specific database.
Fixed property name in pom.xml.
Original pull request: #98 .
2018-11-01 09:24:13 +01:00
tlang
4f6ecf5d48
DATAJDBC-258 - Integration test support for MS SQL Server added.
...
This adds MS-SQL-Server via Testcontainers to the set of databases available for integration testing.
For this purpose it accepts the EULA of MS SQL Server.
Failing tests are ignored to be fixed in separate issues.
Original pull request: #98 .
2018-11-01 09:24:13 +01:00
Jens Schauder
c47cd0878d
DATAJDBC-276 - Id are no longer required for elements of Lists.
2018-10-29 09:56:01 -05:00
Jens Schauder
9fb5aadd89
DATAJDBC-273 - Added support for collections and similar in constructors of entities.
...
Instance creation now uses the same code for materializing property values as the part setting properties.
2018-10-29 09:52:36 -05:00
Mark Paluch
73da720258
DATAJDBC-277 - Updated changelog.
2018-10-29 14:30:36 +01:00
Jens Schauder
6569e8fed3
DATAJDBC-280 - Configure JDK download to use OpenJDK.
...
We also no longer accept failures with JDK11.
2018-10-22 09:44:28 +02:00
Mark Paluch
7c56af6632
DATAJDBC-272 - Polishing.
...
Add missing relational.repository package that got lost during module split.
2018-10-17 14:43:05 +02:00
Jens Schauder
baa6e7e2e9
DATAJDBC-272 - Polishing.
...
Formatting in the readme.
Changed name and description of spring-data-relational-parent to match its artifact id.
2018-10-17 12:41:53 +02:00
Mark Paluch
c66623e09a
DATAJDBC-272 - Polishing.
...
Cleanup dependency version properties.
2018-10-17 12:41:47 +02:00
Mark Paluch
d23c43882b
DATAJDBC-272 - Update readme files according to module split.
2018-10-17 12:41:42 +02:00
Mark Paluch
dd7362516b
DATAJDBC-272 - Reformat code and optimize imports.
2018-10-17 12:41:31 +02:00
Mark Paluch
6a60c53602
DATAJDBC-272 - Split Spring Data JDBC project into modules.
2018-10-17 12:40:51 +02:00
Mark Paluch
44fbba42ee
DATAJDBC-268 - Updated changelog.
2018-10-15 11:37:26 +02:00
Jens Schauder
0373a58978
DATAJDBC-263 - Polishing.
...
Improved formatting, added author tags and issue comments.
Changed "entity" to "aggregate" in test names to make it more precise.
Original pull request: #94 .
2018-10-15 08:44:54 +02:00
Maciej Walkowiak
11d535e2c5
DATAJDBC-263 - Publish events for @Query annotated methods.
...
Original pull request: #94 .
2018-10-15 08:44:54 +02:00
Jens Schauder
89abfdc567
DATAJDBC-271 - Updated README.
...
Removed most of the content.
Replaced it with a real short overview and links to more useful information.
Added build status badges.
2018-10-11 15:36:01 +02:00
Jens Schauder
577d7643dd
DATAJDBC-221 - Added AggregateReference for references across aggregates.
...
AggregateReferences can be used to reference other aggregates via their aggregate root without making them part of the referencing aggregate.
I.e. the referenced entities will not be included in SQL statements for the referencing aggregates, apart from their id.
Conversion between AggregateReferences and their ids and vice versa is done by the RelationalConverter.
2018-10-10 10:15:13 -05:00
Jens Schauder
c616e006cf
DATAJDBC-125 - Added test to verify that with renamed columns references of identical type are possible.
2018-10-10 10:11:07 -05:00
Jens Schauder
a5e647cb17
DATAJDBC-125 - Polishing.
...
Added comments to denoting the relevant Jira issue on tests created for DATAJDBC-204.
2018-10-10 10:10:59 -05:00
Jens Schauder
58d93ba004
DATAJDBC-246 - Polishing.
...
Formating pom.xml
2018-10-10 10:07:52 -05:00
Jens Schauder
6233858f9e
DATAJDBC-246 - Configured Travis CI build for JDK 9-11.
...
Upgraded the dependency-plugin.
Configured matrix build for travis, allowing the JDK 11 build to fail.
The failure should go away once the Spring Framework version we use include the fix for SPR-17093.
Removed Jacoco from the build for JDK 10+.
2018-10-10 10:07:01 -05:00
Jens Schauder
3d67ad08ed
DATAJDBC-262 - Update statements no longer set the id column.
2018-10-10 10:04:20 -05:00
Jens Schauder
0816f4182e
DATAJDBC-266 - Entities referenced by 1:1 don't need an Id.
...
The id-property was used to determine if there is an instance at all, or if it was null.
For entities that don't have an id that purpose is now fulfilled by selecting the backreference and checking it against null.
See also: DATAJDBC-223.
2018-10-10 09:58:07 -05:00
Mark Paluch
f46a01dbd8
DATAJDBC-250 - After release cleanups.
2018-09-21 07:45:29 -04:00
Mark Paluch
1fa7aabd5a
DATAJDBC-250 - Prepare next development iteration.
2018-09-21 07:45:27 -04:00
Mark Paluch
a857fbf4a9
DATAJDBC-250 - Release version 1.0 GA (Lovelace).
2018-09-21 07:08:39 -04:00
Mark Paluch
76be2791fc
DATAJDBC-250 - Prepare 1.0 GA (Lovelace).
2018-09-21 07:07:51 -04:00
Mark Paluch
70ba5850d8
DATAJDBC-250 - Updated changelog.
2018-09-21 07:07:50 -04:00
Mark Paluch
bf81c728b2
DATAJDBC-267 - Polishing.
...
Add author tags. Extend Javadoc.
Original pull request: #89 .
2018-09-21 06:44:00 -04:00
Christoph Strobl
234a17d4c2
DATAJDBC-267 - Favor JdbcCustomConversions over CustomConversions in return type.
...
Original pull request: #89 .
2018-09-21 06:37:43 -04:00
Michael J. Simons
be7c04cfed
DATAJDBC-267 - Explicitly use the own custom conversions bean.
...
Original pull request: #89 .
2018-09-21 06:37:38 -04:00
Jens Schauder
84de41a87d
DATAJDBC-264 - Polishing.
...
Added a test.
Added an author tag.
Minor formatting.
Original pull request: #88 .
2018-09-18 15:35:52 +02:00
Yoichi Imai
8434f6e3dd
DATAJDBC-264 - Fix insert statement for empty parameter list.
...
When an entity consists only of it's id column, the value list contained a single `:`.
This commit fixes this.
Original pull request: #88 .
2018-09-18 15:35:32 +02:00
Jens Schauder
08ee846e71
DATAJDBC-218 - The Column annotation affects the back reference too.
...
Also:
Added documentation for the new behavior.
Made the value of the column annotation optional by providing a default.
Original pull request: #83 .
2018-09-18 15:25:55 +02:00
Jens Schauder
335a7cbe65
DATAJDBC-218 - Polishing.
...
Added line breaks for better readability.
Added braces to if/else statements.
Used StringUtils instead of .equals("").
Original pull request: #83 .
2018-09-18 15:05:36 +02:00
Florian Lüdiger
0a86f3a43b
DATAJDBC-218 - Add support for key column in @Column annotation.
...
Original pull request: #83 .
2018-09-18 15:05:36 +02:00
Mark Paluch
1c15215735
DATAJDBC-265 - Include documentation about Object Mapping Fundamentals.
...
Related ticket: DATACMNS-1374.
2018-09-18 13:30:42 +02:00
Jens Schauder
863bf225f6
DATAJDBC-261 - Added link to license.txt in README.
2018-09-12 08:11:44 +02:00
Florian Lüdiger
ba5ce90374
DATAJDBC-260 - Fix links in the reference documentation.
...
Original pull request: #87 .
2018-09-12 07:41:24 +02:00
Oliver Gierke
3cbe2935ba
DATAJDBC-252 - Make sure SimpleJdbcRepository.save(…) returns saved instance.
...
Previously, SimpleJdbcRepository.save(…) returned the original instance as result of the operation. That assumed that the JdbcAggregateOperations would only manipulate that instance, not return a new one. We now properly return the result of the delegating method call.
2018-08-21 12:03:38 +02:00
Oliver Gierke
84379b28e9
DATAJDBC-252 - Polishing.
...
Original pull request: #86 .
2018-08-21 11:04:26 +02:00
Jens Schauder
2a55aeb2b8
DATAJDBC-252 - Optimize population of (immutable) entities to be created.
...
The entity creation not skips the property population entirely if the metamodel indicates that the instantiation already creates a complete entity. If there's need to actively populate properties, we now correctly skip the ones already consumed by the constructor.
Original pull request: #86 .
2018-08-21 11:04:23 +02:00
Jens Schauder
63b9754180
DATAJDBC-251 - Polishing.
...
Removed superfluous whitespace.
Original pull request: #85 .
2018-08-20 22:30:08 +02:00
Jens Schauder
55c901b43b
DATAJDBC-251 - Back-reference for dependent entity gets properly set.
...
If a parent DbAction does not offer a generated id, the id of the entity is used instead. This behavior was broken by DATAJDBC-241.
Related tickets: DATAJDBC-241.
Original pull request: #85 .
2018-08-20 22:26:49 +02:00
Oliver Gierke
d158cd062d
DATAJDBC-245 - After release cleanups.
2018-08-20 10:56:53 +02:00
Oliver Gierke
c755fea13d
DATAJDBC-245 - Prepare next development iteration.
2018-08-20 10:56:52 +02:00
Oliver Gierke
11db6e78f6
DATAJDBC-245 - Release version 1.0 RC2 (Lovelace).
2018-08-20 10:40:11 +02:00
Oliver Gierke
e680a2764e
DATAJDBC-245 - Prepare 1.0 RC2 (Lovelace).
2018-08-20 10:39:44 +02:00
Oliver Gierke
6c6d37af2d
DATAJDBC-245 - Updated changelog.
2018-08-20 10:39:43 +02:00