Commit Graph

1411 Commits

Author SHA1 Message Date
Mark Paluch
2ecc51c2c4 DATACASS-828 - Resolve selection projection and ordering of composite key properties into multiple columns.
We now resolve property names pointing to a composite key property into its individual column names to be applies in a SELECT projection or for ordering.
2020-11-18 09:48:11 +01:00
Mark Paluch
5d0295c7a3 DATACASS-819 - Updated changelog. 2020-11-11 12:34:36 +01:00
Mark Paluch
4444cb5ffe DATACASS-821 - Enable Maven caching for Jenkins jobs. 2020-11-04 11:13:01 +01:00
Mark Paluch
7a7132a84a DATACASS-813 - After release cleanups. 2020-10-28 16:10:23 +01:00
Mark Paluch
31d8e825e1 DATACASS-813 - Prepare next development iteration. 2020-10-28 16:10:20 +01:00
Mark Paluch
a0b1e8e9d4 DATACASS-813 - Release version 3.1 GA (2020.0.0). 2020-10-28 15:46:54 +01:00
Mark Paluch
c50016a3cd DATACASS-813 - Prepare 3.1 GA (2020.0.0). 2020-10-28 15:46:31 +01:00
Mark Paluch
13eb27df1b DATACASS-813 - Updated changelog. 2020-10-28 15:46:12 +01:00
Mark Paluch
b05a42a34a DATACASS-802 - Updated changelog. 2020-10-28 15:03:01 +01:00
Mark Paluch
fad6782582 DATACASS-801 - Updated changelog. 2020-10-28 12:15:03 +01:00
Mark Paluch
4360da2f22 DATACASS-815 - Updated changelog. 2020-10-28 11:32:27 +01:00
Mark Paluch
73ffe7d911 DATACASS-816 - Polishing.
Original pull request: #176.
2020-10-23 15:28:54 +02:00
Jay Bryant
0b1fcb6495 DATACASS-816 - Wording changes.
Removed the language of oppression and violence
and replaced it with more neutral language.

Note that problematic words in the code have
to remain in the docs until the code changes.

Original pull request: #176.
2020-10-23 15:28:54 +02:00
Mark Paluch
857bde1311 DATACASS-814 - Polishing.
Fix typo in docs. Convert space indents to tabs.

Original pull request: #180.
2020-10-23 15:20:02 +02:00
Aldo Bongio
3b058156d4 DATACASS-814 - Use CQL in MapPreparedStatementCache.CacheKey instead representation of Object.toString().
We now correctly use the CQL text to cache prepared statements. Previously, we used toString() which was a leftover from the driver migration that now defaults to Object.toString() and so the cache key was not stable.

Original pull request: #180.
2020-10-23 15:20:02 +02:00
Christoph Strobl
fe2b56f9ec DATACASS-803 - After release cleanups. 2020-10-14 14:48:47 +02:00
Christoph Strobl
843b148b37 DATACASS-803 - Prepare next development iteration. 2020-10-14 14:48:45 +02:00
Christoph Strobl
ffd532670c DATACASS-803 - Release version 3.1 RC2 (2020.0.0). 2020-10-14 14:28:55 +02:00
Christoph Strobl
7a6aefd9ac DATACASS-803 - Prepare 3.1 RC2 (2020.0.0). 2020-10-14 14:27:38 +02:00
Christoph Strobl
c8c3bb64d0 DATACASS-803 - Updated changelog. 2020-10-14 14:27:33 +02:00
Mark Paluch
392cf775e3 DATACASS-810 - Add DataClassRowMapper.
DataClassRowMapper can map Cassandra results onto a class following the data class pattern (using constructor properties) or by setting bean properties.

data class Person(val firstname: String, val age: Int)

cqlTemplate.query("SELECT * FROM person", DataClassRowMapper<Person>())
2020-10-01 12:10:19 +02:00
Mark Paluch
9728df0c3c DATACASS-809 - Polishing.
Remove leading space in test strings to simplify assertions.
2020-10-01 10:50:07 +02:00
Mark Paluch
d6a32814ca DATACASS-809 - Add queryForStream methods to CqlOperations.
CqlOperations now exposes queryForStream methods to consume a query as java.util.stream.Stream accepting a RowMapper.
2020-10-01 10:48:06 +02:00
Mark Paluch
4f332dc5ac DATACASS-808 - Fix CQL statement logging.
We now attempt to extract the CQL query from various Statement and CqlProvider objects to log the CQL query.

Previously, the logger used the statement object with didn't render the query.
2020-09-30 15:57:38 +02:00
Mark Paluch
244f4f9a00 DATACASS-807 - Polishing.
Fix typo in test method name.
2020-09-25 16:25:24 +02:00
Mark Paluch
35e9d98ba1 DATACASS-807 - Adapt to changes in Spring Data Commons. 2020-09-25 14:59:55 +02:00
Mark Paluch
a4a67b6e63 DATACASS-806 - Add support for suspend repository query methods returning List<T>. 2020-09-22 14:51:00 +02:00
Greg L. Turnquist
f75eee31b5 DATACASS-804 - Only test other versions for local changes on main branch. 2020-09-18 11:04:45 -05:00
Mark Paluch
b135c8753d DATACASS-792 - After release cleanups. 2020-09-16 14:05:28 +02:00
Mark Paluch
cc33a9c4b7 DATACASS-792 - Prepare next development iteration. 2020-09-16 14:05:24 +02:00
Mark Paluch
5fc72f413c DATACASS-792 - Release version 3.1 RC1 (2020.0.0). 2020-09-16 13:57:41 +02:00
Mark Paluch
6e9474428f DATACASS-792 - Prepare 3.1 RC1 (2020.0.0). 2020-09-16 13:57:08 +02:00
Mark Paluch
2ba89b673d DATACASS-792 - Updated changelog. 2020-09-16 13:56:54 +02:00
Mark Paluch
b2520400c3 DATACASS-793 - Updated changelog. 2020-09-16 12:16:30 +02:00
Mark Paluch
e4ca909c1e DATACASS-786 - Updated changelog. 2020-09-16 11:20:07 +02:00
Mark Paluch
e433c64b0c DATACASS-785 - Updated changelog. 2020-09-16 10:38:56 +02:00
Mark Paluch
4354de756f DATACASS-800 - Polishing.
Use spread operator to pass array as vararg.
2020-09-09 13:50:10 +02:00
Mark Paluch
6a7e6378c3 DATACASS-800 - Upgrade to Cassandra driver 4.9.0. 2020-09-09 13:49:43 +02:00
Mark Paluch
48db9f9e38 DATACASS-800 - Upgrade to Cassandra driver 4.9.0. 2020-09-09 13:36:59 +02:00
Mark Paluch
b525081156 DATACASS-766 - Polishing.
Associate bean definition source from XML parsers.
2020-08-13 12:42:49 +02:00
Mark Paluch
72b78ec855 DATACASS-766 - Polishing.
Use InstanceSupplier to configure the contactPoints property. Using BeanDefinitionBuilder.addPropertyValue(…) uses reflection for setting the property value and for value type discovers. The discovered property descriptor depends on the actual method order in which setters are discovered hence the actual type may change from String to Collection<InetSocketAddress>. Therefore we avoid using reflection for contactPoints.

Original pull request: #178.
2020-08-13 12:42:49 +02:00
Mark Paluch
d573fb223c DATACASS-766 - Polishing.
Reflect changes in documentation. Accept IPv6 hosts with port.
Replace session builder supplier with template method and a specific implementation in the tests.

Make methods static where possible and reorder fields/classes according their visibility. Reduce test method visibility, add ticket references. Reformat code.

Original pull request: #178.
2020-08-13 09:55:58 +02:00
tomekl007
2591f3a197 DATACASS-766 - Add support for port per endpoint.
Original pull request: #178.
2020-08-13 09:53:53 +02:00
Mark Paluch
8fff511c0f DATACASS-795 - Polishing.
Fix bean names when reactive and imperative auditing are enabled.
2020-08-12 14:59:18 +02:00
Mark Paluch
bb6e77f04e DATACASS-795 - Reduce bean dependencies for PersistentEntitiesFactoryBean to CassandraConverter. 2020-08-12 14:59:17 +02:00
Mark Paluch
d2450d21c7 DATACASS-787 - Updated changelog. 2020-08-12 13:25:47 +02:00
Mark Paluch
bf4748d61e DATACASS-782 - After release cleanups. 2020-08-12 12:00:22 +02:00
Mark Paluch
6bb54a5353 DATACASS-782 - Prepare next development iteration. 2020-08-12 12:00:19 +02:00
Mark Paluch
da9af34727 DATACASS-782 - Release version 3.1 M2 (2020.0.0). 2020-08-12 11:52:05 +02:00
Mark Paluch
254111e11e DATACASS-782 - Prepare 3.1 M2 (2020.0.0). 2020-08-12 11:51:40 +02:00