Commit Graph

796 Commits

Author SHA1 Message Date
Mark Paluch
a900808226 Prepare 5.1.10 (2023.0.10).
See #1902
2024-03-15 09:25:49 +01:00
Michael Reiche
e492ce43b6 Make CrudMethodMetadataPostProcessor public and make factory getTargetRepository() not final. (#1913)
This is to ease extending spring-data-couchbase.

Closes #1877.
2024-03-13 15:27:50 -07:00
Michael Reiche
f5ab702585 Eliminate split packages. (#1912)
Closes #1906.
2024-03-13 15:26:44 -07:00
Michael Reiche
d309692588 Change AuditingEventListener Constructor Signature. (#1908)
Closes #1884.
2024-03-13 15:23:28 -07:00
Mark Paluch
22aa031a08 Prepare 5.1.9 (2023.0.9).
See #1894
2024-02-16 08:55:31 +01:00
Vipul Gupta
8fdb9a658f Added functionality to add customConverters. (#1886)
* Added functionality to add customConverters.

Added functionality to register custom converters in the list + cleaned up the code a little and.

* Review chages.

Function name changed and restored to old implementation

* Documentation Changes.
2024-01-17 17:01:14 -08:00
Vipul Gupta
5eea30e4da Propagated CouchbaseCustomConverters bean into MappingConverter (#1885)
* Propagated CouchbaseCustomConverters bean into MappingConverter.

Just a polishing fix to propagate CouchbaseCustomConversions directly to MappingCouchbaseConverter -> AbstractCouchbaseConverter , So that we won't have to set it explicitly.

* Removed unnecessary constructor.
2024-01-17 17:00:40 -08:00
Michael Reiche
424736fc19 Fix regression - unable to store and read properties of type Object. (#1883)
Closes #1875.
2024-01-17 17:00:04 -08:00
Michael Reiche
1db7fb95c0 Use scope and collection in transaction in findByQuery.count(). (#1868)
Closes #1862.
2024-01-17 16:34:12 -08:00
Tigran Babloyan
61e38f57d8 Fixed issue with querying documents annotated with @Collection with QuerydslPredicateExecutor. (#1867)
Closes #1866
2024-01-17 16:33:07 -08:00
Mark Paluch
b5579e6402 Prepare 5.1.8 (2023.0.8).
See #1881
2024-01-12 10:00:04 +01:00
Mark Paluch
80798b8688 Extend license header copyright years to 2024.
See #1888
2024-01-02 10:59:20 +01:00
Mark Paluch
149eb12df4 Prepare 5.1.7 (2023.0.7).
See #1863
2023-12-15 13:14:53 +01:00
Mark Paluch
710b91ab3c Prepare 5.1.6 (2023.0.6).
See #1848
2023-11-17 13:37:52 +01:00
Michael Reiche
2281ba234a Provide Default CouchbaseCustomConversions with Enum Converters. (#1856)
Closes #1837.
2023-10-25 12:07:16 -07:00
John Blum
abac986af2 Prepare 5.1.5 (2023.0.5).
See #1830
2023-10-13 08:00:48 -07:00
Michael Reiche
b3ced12c8c Don't use String version of enum parameters. (#1846)
Just use the converted value as-is (in case of boolean or Number) enum value.

Closes #1837.
2023-10-11 15:46:32 -07:00
Michael Reiche
3a7e9645f7 Remove unused test file. (#1845)
Closes #1766.
2023-10-11 15:45:44 -07:00
Michael Reiche
9f958a9247 Fix ThreadLocal Issue with Repository Save. (#1840)
The issue was introduced when the Mono.deferContextual() was added to
determine if the save() is in a transaction. It may be executing in a
different thread when the PseudoArgs (scope, collection, and options)
are retrieved ThreadLocal. This change ensures scope and collection
are retrieved, but options are ignored and discarded.

Closes #1838.
2023-10-11 15:44:24 -07:00
Mark Paluch
5e0fdb6ee3 Prepare 5.1.4 (2023.0.4).
See #1812
2023-09-15 10:52:12 +02:00
Michael Reiche
e6bf44b9c3 Allow non-exact argument type matching for DynamicProxyable. (#1819)
Allow non-exact (isAssignableFrom) argument matching for methods
called by DyanmicProxyable. If there are exactly two candidates,
and one returns an Iterable and the other returns a List, use
the method that returns the List.  This is due to
CouchbaseRepository defining findAll() methods as List<?>, while
PagingAndSortyRepository defines findAll() to return an Iterable.
This needs to be addressed separately.

Closes #1818.
2023-09-14 11:26:22 -07:00
Michael Reiche
2d4ff0dfc3 Add doc for multiple buckets and heading for overriding SDK. (#1791)
Closes #878, #1788.
2023-08-28 09:25:16 -07:00
Mark Paluch
64e7f9999d Prepare 5.1.3 (2023.0.3).
See #1787
2023-08-18 14:03:49 +02:00
Tigran Babloyan
9b1cd645ac Fixed issue with #n1ql.bucket evaluated as collection name in string based queries. (#1804)
Closes #1799
2023-08-10 10:27:54 -07:00
Mark Paluch
2067591654 Prepare 5.1.2 (2023.0.2).
See #1763
2023-07-14 13:52:55 +02:00
Michael Reiche
2e16b98d0f Add Doc to Change Couchbase SDK Version. (#1782)
Closes #1781.
2023-07-13 16:53:34 -07:00
Michael Reiche
da0381f3c8 Remove lombok from test cases. (#1778)
Closes #1753.
2023-07-07 08:34:48 -07:00
Michael Reiche
dff149afa7 Option to not use typeKey=typeAlias property and predicate. (#1777)
If the configuration getType() or the @TypeAlias is an empty string,
then do not add the typeKey:typeAlias property when storing documents,
and do not add the typeKey=typeAlias property on queries - including
removeByQuery.
2023-07-06 16:53:01 -07:00
Michael Reiche
9d461cbcb6 Restore StringQuery constructor that takes only string. (#1770)
Closes #1769.
2023-06-29 14:53:09 -07:00
Michael Reiche
b13ddb7a53 Non-reactive template.save() use non-reactive auditor and close clusters in tests. (#1765)
Closed #1756, #1764.
2023-06-29 14:42:00 -07:00
John Blum
ef935419ff Prepare 5.1.1 (2023.0.1).
See #1741
2023-06-16 08:05:07 -07:00
Michael Reiche
1acf6442b3 Fix compile error from #1757. (#1760)
Closes #1759.
2023-06-15 18:37:24 -07:00
Michael Reiche
012ec83a61 Allow template.save() to find if it is in a transaction. (#1758)
Closes #1757.
2023-06-15 18:37:12 -07:00
Michael Reiche
261bab3e41 Bump Couchbase Java SDK to 3.4.7. (#1755)
Closes #1754.
2023-06-14 12:00:06 -07:00
Michael Reiche
e94f88ac5c Fix compile error introduced by #1745. (#1747)
* Fix compile error in #1745.

Closes #1745.
2023-06-14 11:55:20 -07:00
Michael Reiche
3973b619c9 Was not using QueryContext in tx when scope=_default, but collection!=_default. (#1746)
Closes #1745.
2023-06-14 11:54:32 -07:00
Michael Reiche
b0ea2d4f20 Use only converter for elements of parameter array. (#1744)
Closes #1743.
2023-06-14 11:52:39 -07:00
Michael Reiche
88bf5fa63d Datacouch 1599 add rangescan support (#1738)
* Add RangeScan to Template.

Closes #1599.

* Add RangeScan support.

Closes #1599.
2023-06-14 11:50:30 -07:00
Mark Paluch
6f164eb7f2 Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
Closes #1748
2023-06-06 11:02:32 +02:00
Christoph Strobl
85ab3f4f4f Prepare 5.1 GA (2023.0.0).
See #1714
2023-05-12 14:14:08 +02:00
Michael Reiche
502c5322bf Try Object.class if cannot get persistent entity for class. (#1737)
Closes #1726.
2023-05-11 11:12:12 -07:00
Michael Reiche
354ddd43fa ClassTypeInformation is now deprecated. (#1735)
Closes #1456.
2023-05-10 10:59:44 -07:00
Michael Reiche
e126bff1b0 Fix Typo in Cache Documentation. (#1734)
Closes #1525.
2023-05-09 14:14:29 -07:00
Michael Reiche
6194b070cb Fix code example for field level encryption. (#1733)
Closes #1613.
2023-05-09 14:10:46 -07:00
Michael Reiche
bd7f8a1a17 Fix repository links in documentation. (#1732)
Closes #1647.
2023-05-09 14:05:31 -07:00
Mico Piira
9b8d855ecd Automatically set readonly query option for read only queries (#1730)
Closes #1724
2023-05-09 09:58:32 -07:00
Michael Reiche
9e932e5ea5 Bump Couchbase Java SDK to 3.4.6. (#1728)
Also add more time for findByIdWithLock case - it must be more than the
default timeout of 2.5 seconds.

Closes #1727.
2023-05-05 09:39:45 -07:00
Michael Reiche
ffe7c52f28 Pass entity in repository delete(entity) and deleteAll(entities). (#1726)
Closes #1725.
2023-05-03 15:28:50 -07:00
Tigran Babloyan
7edc00e10c Added support of the expression based durability levels. (#1721)
Closes #1063.
2023-04-24 09:17:19 -07:00
Michael Reiche
e91322bd13 Check for nulls. (#1723)
Closes #1720.
2023-04-21 16:53:20 -07:00