Commit Graph

762 Commits

Author SHA1 Message Date
Mark Paluch
f4fc818a98 DATACOUCH-607 - Upgrade to Couchbase SDK 3.0.8. 2020-09-14 15:15:05 +02:00
Mark Paluch
f789dc5422 DATACOUCH-593 - After release cleanups. 2020-08-12 13:19:59 +02:00
Mark Paluch
94cfe26ec3 DATACOUCH-593 - Prepare next development iteration. 2020-08-12 13:19:56 +02:00
Mark Paluch
bd9ec25ebf DATACOUCH-593 - Release version 4.0.3 (Neumann SR3). 2020-08-12 13:07:48 +02:00
Mark Paluch
f24536c0dd DATACOUCH-593 - Prepare 4.0.3 (Neumann SR3). 2020-08-12 13:07:22 +02:00
Mark Paluch
e6362aee3c DATACOUCH-593 - Updated changelog. 2020-08-12 13:07:19 +02:00
Mark Paluch
d5f0500a67 DATACOUCH-578 - Updated changelog. 2020-08-12 12:01:28 +02:00
Mark Paluch
d6f875e81b DATACOUCH-599 - Upgrade to Couchbase SDK 3.0.7. 2020-08-10 11:15:19 +02:00
Mark Paluch
0ff5926eb8 DATACOUCH-568 - After release cleanups. 2020-07-22 10:37:09 +02:00
Mark Paluch
d3b841391d DATACOUCH-568 - Prepare next development iteration. 2020-07-22 10:37:07 +02:00
Mark Paluch
3e0d53dc03 DATACOUCH-568 - Release version 4.0.2 (Neumann SR2). 2020-07-22 10:21:10 +02:00
Mark Paluch
2894593776 DATACOUCH-568 - Prepare 4.0.2 (Neumann SR2). 2020-07-22 10:20:45 +02:00
Mark Paluch
b62b512274 DATACOUCH-568 - Updated changelog. 2020-07-22 10:20:43 +02:00
Mark Paluch
f883c97ff9 DATACOUCH-567 - Updated changelog. 2020-07-22 10:08:50 +02:00
Mark Paluch
bd6ebcecfe DATACOUCH-566 - Updated changelog. 2020-07-22 09:44:37 +02:00
Mark Paluch
9e4b096f15 DATACOUCH-586 - Upgrade to Couchbase Driver 3.0.6. 2020-07-22 08:55:03 +02:00
mikereiche
3516b38d18 DATACOUCH-585 - Support ScanConsistency for count() queries. 2020-07-20 21:48:46 -07:00
mikereiche
5de6cacd8d DATACOUCH-580 - Do not automatically insert n1ql.filter predicate in string query.
Since it is difficult to determine where the n1ql.filter (which typically
filters on _class), and also because it is not mandator, including
the n1ql.filter in the @query is left up to the author of the query.
Example:
@query("#{#n1ql.selectEntity} where #{#n1ql.filter} and lastname = $1")
2020-07-20 21:48:25 -07:00
mikereiche
68811a4165 DATACOUCH-533 - Promote id field if no annotation id.
Promote id field if no annotation id.
Note that there is no longer any Couchbase @Id annotation - only
the Spring @id annotation.
2020-07-20 21:47:59 -07:00
mikereiche
5cd5487485 DATACOUCH-532 - Use parameters in queries instead of literals.
This will allow query plans to be reused for different parameters.
2020-07-20 21:47:42 -07:00
mikereiche
a08157cc5a DATACOUCH-577 - Fix tests that run only when using UNMANAGED couchbase server.
Some of the tests that run as UNMANAGED and pass when ran from intellij were
failing when ran from the command-line mvn, or when ran together will other tests.
2020-07-20 21:45:19 -07:00
mikereiche
2e2aecf5f1 DATACOUCH-574 - Support countBy...() query method calls in repository. 2020-07-20 21:22:55 -07:00
mikereiche
b7543dfaf4 DATACOUCH-573 - use same name for count in query 2020-07-20 21:22:13 -07:00
mikereiche
aa58e9c4ec DATACOUCH-572 - fix compile error from DATACOUCH-571 2020-07-20 21:21:56 -07:00
mikereiche
313bc1e868 DATACOUCH-569 - Add tests for DATACOUCH-560 - serialization of nested objects (CouchbaseDocument) and lists (CouchbaseList) 2020-07-20 21:21:39 -07:00
mikereiche
d89866110a DATACOUCH-571 fix delimiters in generated id
Also clean up test domain/Config.java
2020-07-20 21:21:24 -07:00
mikereiche
3d6117d060 DATACOUCH-546 - set generated id on entity returned to caller 2020-07-20 21:20:58 -07:00
mikereiche
9cb9bb9ede DATACOUCH-484 - thread safety parameters test 2020-07-20 21:20:22 -07:00
mikereiche
c3fbf38ba2 DATACOUCH-484 - test to demonstrate that parameters are thread-safe 2020-07-20 21:19:33 -07:00
Andrea Torlaschi
f4eee34faf DATACOUCH-560 - Serialization of CouchbaseDocument and CouchbaseList.
Add support for saving document with lists and composed objects.
Convert CouchbaseDocument/CouchbaseList to Map/List before saving.
2020-07-20 21:06:38 -07:00
Mark Paluch
ef006d2150 DATACOUCH-548 - Updated changelog. 2020-06-25 12:00:25 +02:00
Mark Paluch
f27671c98c DATACOUCH-547 - After release cleanups. 2020-06-10 14:29:30 +02:00
Mark Paluch
d755f020e9 DATACOUCH-547 - Prepare next development iteration. 2020-06-10 14:29:27 +02:00
Mark Paluch
e93b985217 DATACOUCH-547 - Release version 4.0.1 (Neumann SR1). 2020-06-10 14:02:28 +02:00
Mark Paluch
70b2cfb26e DATACOUCH-547 - Prepare 4.0.1 (Neumann SR1). 2020-06-10 14:02:00 +02:00
Mark Paluch
13af3e6a7f DATACOUCH-547 - Updated changelog. 2020-06-10 14:01:57 +02:00
Mark Paluch
2f4f41c6fa DATACOUCH-529 - Updated changelog. 2020-06-10 12:29:56 +02:00
Mark Paluch
9f131c13c7 DATACOUCH-528 - Updated changelog. 2020-06-10 11:47:21 +02:00
mikereiche
5993ff7389 DATACOUCH-545 - return null if not found instead of throwing an exception 2020-06-10 00:47:25 +02:00
mikereiche
201555d0df DATACOUCH-525 - support custom type field name and custome type field value
MOTIVATION
customers would like to specify a type field other than _class, and
would like to specify a type field value other than the class name
of the domain object

CHANGES
Follow the instructions at
https://stackoverflow.com/questions/38847605/how-to-use-spring-data-with-couchbase-without-class-attribute
in the test domain, supply a CustomMappingCouchbaseConvert class that leverates a
TypeBasedCouchbaseTypeMapper, which in turn uses a TypeAwareTypeInformationMapper.
The typeKey used is "t". The TypeAwareTypeInformationMapper uses the DocumentType annotation
as the value for the type map entry. The domain Person object has @DocumentType("p"), which
will result in type mapping of "t" : "p" for Person objects.

In addition, when a query is composed, the typeKey and typeValue are taken from the converter.
2020-06-09 22:00:08 +02:00
mikereiche
729c8607fb DATACOUCH-542 - support @Field to supply a different name for a field 2020-06-09 22:00:03 +02:00
mikereiche
0f78c5ae14 DATACOUCH-561 - Better Testing for String Query 2020-06-09 21:59:47 +02:00
mikereiche
5bd213c70e DATACOUCH - 534 Add support for Query annotation 2020-06-09 21:59:33 +02:00
Michael Nitschinger
a05c65dd37 DATACOUCH-562 - Upgrade Couchbase SDK to 3.0.5 2020-06-09 14:26:22 +02:00
Mark Paluch
d3b4dd751d DATACOUCH-530 - After release cleanups. 2020-05-12 12:49:39 +02:00
Mark Paluch
6897a7654a DATACOUCH-530 - Prepare next development iteration. 2020-05-12 12:40:55 +02:00
Mark Paluch
5cd52331a7 DATACOUCH-530 - Release version 4.0 GA (Neumann). 2020-05-12 12:28:24 +02:00
Mark Paluch
80afd8dd4f DATACOUCH-530 - Prepare 4.0 GA (Neumann). 2020-05-12 12:28:01 +02:00
Mark Paluch
369dfd3f9e DATACOUCH-530 - Updated changelog. 2020-05-12 12:27:59 +02:00
Mark Paluch
e1adafc851 DATACOUCH-544 - Upgrade to Couchbase SDK 3.0.3. 2020-05-12 09:22:15 +02:00