Commit Graph

769 Commits

Author SHA1 Message Date
Oliver Gierke
877fcdd41e DATACASS-477 - After release cleanups. 2017-07-27 00:21:38 +02:00
Oliver Gierke
461c55fdec DATACASS-477 - Prepare next development iteration. 2017-07-27 00:15:07 +02:00
Oliver Gierke
d620e83548 DATACASS-477 - Release version 1.5.6 (Ingalls SR6). 2017-07-26 23:47:19 +02:00
Oliver Gierke
c1f7107e23 DATACASS-477 - Prepare 1.5.6 (Ingalls SR6). 2017-07-26 23:45:51 +02:00
Oliver Gierke
35a55498a1 DATACASS-477 - Updated changelog. 2017-07-26 23:45:39 +02:00
Oliver Gierke
9a210e8c0b DATACASS-478 - Updated changelog. 2017-07-25 16:15:44 +02:00
Oliver Gierke
a6f9f929a9 DATACASS-464 - Updated changelog. 2017-07-25 10:03:58 +02:00
Oliver Gierke
d16168eb58 DATACASS-461 - After release cleanups. 2017-07-24 19:25:07 +02:00
Oliver Gierke
c04c787188 DATACASS-461 - Prepare next development iteration. 2017-07-24 19:25:05 +02:00
Oliver Gierke
1a1df39116 DATACASS-461 - Release version 1.5.5 (Ingalls SR5). 2017-07-24 18:44:17 +02:00
Oliver Gierke
98c5733c7a DATACASS-461 - Prepare 1.5.5 (Ingalls SR5). 2017-07-24 18:43:23 +02:00
Oliver Gierke
052a2af928 DATACASS-461 - Updated changelog. 2017-07-24 18:43:13 +02:00
Mark Paluch
835a4b2be3 DATACASS-471 - ConfigurationExtensionUnitTests now need to provide a BeanDefinitionRegistry. 2017-06-26 17:20:58 +02:00
Mark Paluch
39cf9e4706 DATACASS-442 - Updated changelog. 2017-06-14 17:34:58 +02:00
Mark Paluch
0dbd4703ca DATACASS-463 - Polishing.
Reorder getter/setter methods.
2017-06-12 13:47:51 +02:00
Mark Paluch
41b700f89f DATACASS-463 - Instantiate primary key class with converted arguments.
We now apply value conversion before instantiating primary key classes to create instances with the appropriate constructor values. This change allows to declare immutable primary key value objects instead of being forced to use mutable objects.

Previously, arguments were passed-thru without conversion causing IllegalArgumentException.
2017-06-12 13:42:55 +02:00
Mark Paluch
3b46093750 DATACASS-437 - After release cleanups. 2017-06-08 11:26:19 +02:00
Mark Paluch
822a8bf1a4 DATACASS-437 - Prepare next development iteration. 2017-06-08 11:26:18 +02:00
Mark Paluch
1c2e3c578a DATACASS-437 - Release version 1.5.4 (Ingalls SR4). 2017-06-08 10:56:51 +02:00
Mark Paluch
9503c8bd03 DATACASS-437 - Prepare 1.5.4 (Ingalls SR4). 2017-06-08 10:56:03 +02:00
Mark Paluch
08f028615f DATACASS-437 - Updated changelog. 2017-06-08 10:55:55 +02:00
Mark Paluch
df69f90bf5 DATACASS-457 - Remove relativePath from parent in top-level pom.
Remove relativePath to prevent accidental usage of a parent that is reachable because of the project directory layout.
2017-06-07 13:12:15 +02:00
Mark Paluch
49ed4897f9 DATACASS-436 - Updated changelog. 2017-06-07 12:23:35 +02:00
Mark Paluch
04730b5776 DATACASS-445 - Polishing.
Reorder fields. Reduce visibility.
2017-05-29 09:33:23 +02:00
Mark Paluch
8fe80248b1 DATACASS-445 - Insert entire object on CassandraRepository.save(…).
We now insert the entire object including null values again in Cassandra using the repository save method. Objects that are saved through the repository are expected to be returned the same when retrieved again.

Cassandra entities don't have any indicator whether these entities are new to optimize null value handling and prevent tombstones in Cassandra. CassandraRepository exposes insert(…) to insert objects without inserting null values.

Previously, we attempted to execute insert/update conditionally on the entity structure which ended up issuing update statements containing all null values. Entities were not created and save(…) failed silently.
2017-05-29 09:32:44 +02:00
Adam Holmberg
b6305dcc49 DATACASS-449 - Remove redundant paragraph in preface.
Original pull request: #104.
2017-05-24 10:29:35 +02:00
Mark Paluch
9098c80aec DATACASS-426 - Updated changelog. 2017-05-09 11:36:16 +02:00
Oliver Gierke
9899bb0e9e DATACASS-433 - Updated changelog. 2017-04-19 21:04:15 +02:00
Oliver Gierke
eb0711dac7 DATACASS-432 - After release cleanups. 2017-04-19 20:01:14 +02:00
Oliver Gierke
31fae6575f DATACASS-432 - Prepare next development iteration. 2017-04-19 20:01:12 +02:00
Oliver Gierke
1b66998bbb DATACASS-432 - Release version 1.5.3 (Ingalls SR3). 2017-04-19 19:32:38 +02:00
Oliver Gierke
de22447f88 DATACASS-432 - Prepare 1.5.3 (Ingalls SR3). 2017-04-19 19:32:01 +02:00
Oliver Gierke
0bcaefdf60 DATACASS-432 - Updated changelog. 2017-04-19 19:31:51 +02:00
Oliver Gierke
d1ec3d8ae2 DATACASS-411 - Updated changelog. 2017-04-19 13:04:04 +02:00
Oliver Gierke
e61925e5eb DATACASS-410 - After release cleanups. 2017-04-19 11:48:45 +02:00
Oliver Gierke
c69cac6799 DATACASS-410 - Prepare next development iteration. 2017-04-19 11:48:41 +02:00
Oliver Gierke
83bf2172d1 DATACASS-410 - Release version 1.5.2 (Ingalls SR2). 2017-04-19 10:11:28 +02:00
Oliver Gierke
254a25b72f DATACASS-410 - Prepare 1.5.2 (Ingalls SR2). 2017-04-19 10:10:47 +02:00
Oliver Gierke
5b3ce7cffa DATACASS-410 - Updated changelog. 2017-04-19 10:10:34 +02:00
Mark Paluch
76ab62e2d3 DATACASS-420 - Do not insert null values.
We now no longer insert null values via CassandraOperations.insert(…). Inserting null values creates tombstones in Cassandra which are likely unwanted and impact performance. Omitting null values simply does not create values in Cassandra. Setting properties to null with UPDATE remains unchanged and updating an object containing null values will propagate all null values to Cassandra as part of the UPDATE clause.

SimpleCassandraRepository.save(…) needs to consider whether the entity is new or whether it consists only of primary key properties to propagate the optimization. New entities and entities consisting only of primary key columns are saved via INSERT. All other entities are saved via UPDATE.

Related ticket: DATACASS-428.
2017-04-12 13:58:55 +02:00
Mark Paluch
d00ce554d0 DATACASS-428 - Polishing.
Add JavaDoc and missing assertions.
2017-04-12 11:55:15 +02:00
Mark Paluch
9fb63a350c DATACASS-428 - Provide insert methods on TypedIdCassandraRepository.
We now provide an insert(S) method on TypedIdCassandraRepository for fine-grained control over insert/update behavior.

Related ticket: DATACASS-415.
2017-04-12 11:49:58 +02:00
Oliver Gierke
0d38345609 DATACASS-358 - Updated changelog. 2017-04-10 14:23:55 +02:00
Mark Paluch
3f5c654e27 DATACASS-413 - Polishing.
Move test classes from o.s.d.c.t.integration to o.s.d.c.convert.
2017-03-14 18:12:48 +01:00
Mark Paluch
f6ae8f0d37 DATACASS-413 - Convert collection elements to property type when reading collections.
We now consider the element type and property component type when reading Cassandra collections (sets and lists). Inspecting every collection element regarding its source and target type allows a fine grained conversion of elements to the target type.

Previously, we just applied conversion if custom converters were registered. This change also considers the declared collection type of the property.
2017-03-14 18:12:48 +01:00
Oliver Gierke
c35616454d DATACASS-391 - Updated changelog. 2017-03-02 16:57:45 +01:00
Oliver Gierke
b36922d7db DATACASS-392 - After release cleanups. 2017-03-02 10:21:49 +01:00
Oliver Gierke
9c52b5938f DATACASS-392 - Prepare next development iteration. 2017-03-02 10:21:33 +01:00
Oliver Gierke
abe34fa104 DATACASS-392 - Release version 1.5.1 (Ingalls SR1). 2017-03-02 09:41:26 +01:00
Oliver Gierke
75ec5f9d0d DATACASS-392 - Prepare 1.5.1 (Ingalls SR1). 2017-03-02 09:33:25 +01:00