Commit Graph

536 Commits

Author SHA1 Message Date
Subhashni Balakrishnan
2f0e255fbb DATACOUCH-415 - Improve performance by re-using the same set instance
Reuse the same instance of the set instead of recreating each time

Original PR: #176
2019-02-12 16:29:06 -08:00
Subhashni Balakrishnan
580a50b40f DATACOUCH-388 Add support for ANSI-JOIN across entities
Motivation
----------
To support ANSI JOIN across associated entities

Changes
-------
N1qlJoin annotation on an associated entity field is discovered by the
couchbaseTemplate, which uses N1qlJoinResolver to build and resolve the
query. The query can be resolved eagerly or lazily based on the fetch
type configuration. The retrieved results are then mapped to the
associated entity. In the lazy resolver, a proxy is set on the property
which resolves on the first access.

Results
-------
Verified by unit and integration tests. ANSI join is now possible across
entities.

Original PR: #174
2019-02-12 09:56:58 -08:00
Mark Paluch
79a3cccdcf DATACOUCH-419 - Updated changelog. 2019-01-10 14:15:44 +01:00
Mark Paluch
8399d94d5a DATACOUCH-418 - Updated changelog. 2019-01-10 12:26:37 +01:00
Mark Paluch
748e40e7c1 DATACOUCH-417 - Updated changelog. 2019-01-10 11:01:22 +01:00
Mark Paluch
f4116f6de6 DATACOUCH-425 - Update copyright years to 2019. 2019-01-02 12:31:10 +01:00
Christoph Strobl
5c50e8e687 DATACOUCH-420 - After release cleanups. 2018-12-11 11:07:53 +01:00
Christoph Strobl
84bdbc3ff8 DATACOUCH-420 - Prepare next development iteration. 2018-12-11 11:07:52 +01:00
Christoph Strobl
3767708226 DATACOUCH-420 - Release version 3.2 M1 (Moore). 2018-12-11 10:53:53 +01:00
Christoph Strobl
dcb0415cff DATACOUCH-420 - Prepare 3.2 M1 (Moore). 2018-12-11 10:53:11 +01:00
Christoph Strobl
a15c33d4cd DATACOUCH-420 - Updated changelog. 2018-12-11 10:53:10 +01:00
Mark Paluch
663e55cefd DATACOUCH-421 - Simplify reference documentation setup. 2018-12-10 10:05:08 +01:00
Mark Paluch
1650419cf2 DATACOUCH-414 - Updated changelog. 2018-11-27 14:54:09 +01:00
Mark Paluch
ebbef35e79 DATACOUCH-410 - Updated changelog. 2018-11-27 12:36:49 +01:00
Mark Paluch
affc998f50 DATACOUCH-411 - Updated changelog. 2018-11-27 11:27:25 +01:00
Subhashni Balakrishnan
c4491dc8b4 DATACOUCH-413 Use parameterized queries for Query derivation
Changes
-------
- N1ql query creators implement an interface which provides the place
holder values.
- The query creator uses a position index counter to inject place holders in
the statement created and caches the place holder values in an array.
- Repository query constructor passes the generated query statement
and place holder values to query through the SDK.
- Cleanup N1ql integration tests for count validation and also add
couple of more tests

Results
-------
The testing for changes are already covered under the modified existing tests
in N1qlQueryCreator and Repository.
2018-11-26 11:23:14 -08:00
Subhashni Balakrishnan
9840acd2c6 DATACOUCH-384 - Apply converters to string based query parameters
Apply the converters registered to serialize the positional and named
parameters to match the database representation

Original Pull Request: #172.
2018-11-07 14:39:11 -08:00
Mark Paluch
19bb4bb46c DATACOUCH-409 - Updated changelog. 2018-10-29 14:33:46 +01:00
Mark Paluch
d505a2e72e DATACOUCH-406 - Updated changelog. 2018-10-15 11:37:25 +02:00
Mark Paluch
4334ce86f8 DATACOUCH-400 - After release cleanups. 2018-09-21 07:45:29 -04:00
Mark Paluch
a8e6d90a14 DATACOUCH-400 - Prepare next development iteration. 2018-09-21 07:45:27 -04:00
Mark Paluch
b173be033f DATACOUCH-400 - Release version 3.1 GA (Lovelace). 2018-09-21 07:08:39 -04:00
Mark Paluch
03f310bab6 DATACOUCH-400 - Prepare 3.1 GA (Lovelace). 2018-09-21 07:07:51 -04:00
Mark Paluch
d3850c9a2b DATACOUCH-400 - Updated changelog. 2018-09-21 07:07:50 -04:00
Subhashni Balakrishnan
5af4dae334 DATACOUCH-401 Fix incorrect return type for reactive string based N1ql count query
Motivation
----------
Reactive string based N1QL count query incorrectly returns the map after
the single result projection.

Changes
-------
Map the observable returning from the N1ql query result deserialized to
a map by converting to the correct return type using the conversion
service. Verified by integration tests.
2018-09-20 23:06:36 -07:00
Subhashni Balakrishnan
5fbfd78220 DATACOUCH-386 Improve javadoc for setWriteResultChecking 2018-09-20 22:45:59 -07:00
Mark Paluch
1b989d6f30 DATACOUCH-405 - Include documentation about Object Mapping Fundamentals.
Related ticket: DATACMNS-1374.
2018-09-18 13:14:48 +02:00
Mark Paluch
8e86109bf2 DATACOUCH-397 - Updated changelog. 2018-09-10 14:15:51 +02:00
Mark Paluch
fcec1b4391 DATACOUCH-398 - Updated changelog. 2018-09-10 10:20:58 +02:00
Oliver Gierke
9d07389691 DATACOUCH-396 - After release cleanups. 2018-08-20 10:56:53 +02:00
Oliver Gierke
7dcb7ff2c8 DATACOUCH-396 - Prepare next development iteration. 2018-08-20 10:56:52 +02:00
Oliver Gierke
25cfb15d9c DATACOUCH-396 - Release version 3.1 RC2 (Lovelace). 2018-08-20 10:40:11 +02:00
Oliver Gierke
49ad7aae11 DATACOUCH-396 - Prepare 3.1 RC2 (Lovelace). 2018-08-20 10:39:44 +02:00
Oliver Gierke
840faba249 DATACOUCH-396 - Updated changelog. 2018-08-20 10:39:42 +02:00
Mark Paluch
9432cddf31 DATACOUCH-381 - Updated changelog. 2018-07-27 11:45:25 +02:00
Mark Paluch
b8f656aa42 DATACOUCH-382 - Updated changelog. 2018-07-26 16:23:57 +02:00
Mark Paluch
763649cca4 DATACOUCH-380 - After release cleanups. 2018-07-26 12:32:29 +02:00
Mark Paluch
a4bb08ea9d DATACOUCH-380 - Prepare next development iteration. 2018-07-26 12:32:25 +02:00
Mark Paluch
53805063cb DATACOUCH-380 - Release version 3.1 RC1 (Lovelace). 2018-07-26 12:06:35 +02:00
Mark Paluch
290f7176c0 DATACOUCH-380 - Prepare 3.1 RC1 (Lovelace). 2018-07-26 12:04:30 +02:00
Mark Paluch
1c7d86ddd2 DATACOUCH-380 - Updated changelog. 2018-07-26 12:04:28 +02:00
Subhashni Balakrishnan
292345cab1 DATACOUCH-395 Update to Couchbase Java SDK 2.6.1 2018-07-25 19:01:31 -07:00
Subhashni Balakrishnan
e360c23d92 DATACOUCH-376 - Apply custom conversions for collection elements
Original Pull Request: #164.
2018-07-16 11:10:43 -07:00
Subhashni Balakrishnan
f5652da623 DATACOUCH-392 - Add optional kotlin reflect dependency
The kotlin reflect dependency is required by Spring core for reflection
mapping parameters.
2018-07-16 11:03:24 -07:00
Subhashni Balakrishnan
076dcc0219 DATACOUCH-389 - Update to Couchbase-Java-Client 2.6.0
Added the new committed environment configurables to the xml based
configuration parser info. Also added couchbase FLE encryption library as bean
instantiation introspects class methods and fails with ClassNotFound
exception.

Original Pull Request: #165.
2018-07-16 10:25:56 -07:00
Subhashni Balakrishnan
e5af0254ef DATACOUCH-391 - Remove unused imports causing tests build failure.
The imported classes have been renamed in commons and they are not required for these test.
2018-07-12 23:06:02 +02:00
Oliver Gierke
ed6820e3a4 DATACOUCH-390 - Adapt API changes for immutable entity support.
Related tickets: DATACMNS-1322.
2018-07-12 16:26:03 +02:00
Mark Paluch
cb0f453ddf DATACOUCH-378 - Updated changelog. 2018-06-13 21:39:54 +02:00
Mark Paluch
0132aa54cd DATACOUCH-377 - Updated changelog. 2018-06-13 15:01:59 +02:00
Christoph Strobl
73eaa3c30b DATACOUCH-374 - After release cleanups. 2018-05-17 10:09:36 +02:00