Michael Reiche
19fddc939f
Provide Default CouchbaseCustomConversions with Enum Converters. ( #1856 )
...
Closes #1837 .
2023-10-24 17:32:41 -07:00
John Blum
ad496403e2
Prepare 5.2 RC1 (2023.1.0).
...
See #1831
2023-10-13 08:43:56 -07:00
Michael Reiche
afaf2ec97c
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:38:39 -07:00
Michael Reiche
247164c6c2
Remove unused test file. ( #1845 )
...
Closes #1766 .
2023-10-10 15:31:41 -07:00
Michael Reiche
0abf846755
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-09 18:19:50 -07:00
Mark Paluch
fa726c22b9
Prepare 5.2 M3 (2023.1.0).
...
See #1813
2023-09-15 11:29:22 +02:00
Michael Reiche
62bee5cfb4
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-11 19:13:55 -07:00
Mark Paluch
51324655fd
Polishing.
...
Use dynamic copyright year.
See #1815
2023-09-11 09:04:25 +02:00
Greg L. Turnquist
258c0611c6
Properly test against JDK 21.
...
See #1813
2023-09-06 10:06:18 -05:00
Mark Paluch
1b3d9f37e3
Migrate documentation to Antora.
...
Closes #1815
2023-08-31 14:37:02 +02:00
Julia Lee
90a88a873e
Prepare 5.2 M2 (2023.1.0).
...
See #1786
2023-08-18 08:49:41 -04:00
Tigran Babloyan
a258ad82da
Fixed issue with #n1ql.bucket evaluated as collection name in string based queries. ( #1804 )
...
Closes #1799
2023-08-10 10:24:05 -07:00
Michael Reiche
00eaa8f9a0
Add doc for multiple buckets and heading for overriding SDK. ( #1791 )
...
Closes #878 , #1788 .
2023-08-03 11:39:56 -07:00
Mark Paluch
6794ed2217
Prepare 5.2 M1 (2023.1.0).
...
See #1742
2023-07-14 14:52:14 +02:00
Michael Reiche
9156d463d6
Add Doc to Change Couchbase SDK Version. ( #1782 )
...
Closes #1781 .
2023-07-13 16:47:53 -07:00
Michael Reiche
47999dcd71
Remove lombok from test cases. ( #1778 )
...
Closes #1753 .
2023-07-07 08:23:46 -07:00
Michael Reiche
bbcabbc6d4
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:49:26 -07:00
Michael Reiche
0ba6423f2b
Restore StringQuery constructor that takes only string. ( #1770 )
...
Closes #1769 .
2023-06-29 11:55:48 -07:00
Michael Reiche
80eb56e206
Non-reactive template.save() use non-reactive auditor and close clusters in tests. ( #1765 )
...
Closed #1756 , #1764 .
2023-06-23 14:14:15 -07:00
Michael Reiche
6e1f43d142
Fix compile error from #1757 . ( #1760 )
...
Closes #1759 .
2023-06-15 18:33:16 -07:00
Michael Reiche
abca4e6d62
Allow template.save() to find if it is in a transaction. ( #1758 )
...
Closes #1757 .
2023-06-15 18:25:06 -07:00
Michael Reiche
240512d56c
Bump Couchbase Java SDK to 3.4.7. ( #1755 )
...
Closes #1754 .
2023-06-14 10:49:06 -07:00
Mark Paluch
c03ac0fe0a
Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
...
Closes #1748
2023-06-06 11:02:10 +02:00
Michael Reiche
336014c65e
Fix compile error introduced by #1745 . ( #1747 )
...
* Fix compile error in #1745 .
Closes #1745 .
2023-05-31 09:18:59 -07:00
Michael Reiche
1087b2d20d
Was not using QueryContext in tx when scope=_default, but collection!=_default. ( #1746 )
...
Closes #1745 .
2023-05-30 15:18:45 -07:00
Michael Reiche
591dc5a43b
Use only converter for elements of parameter array. ( #1744 )
...
Closes #1743 .
2023-05-23 16:41:46 -07:00
Michael Reiche
cf9bdde6ef
Datacouch 1599 add rangescan support ( #1738 )
...
* Add RangeScan to Template.
Closes #1599 .
* Add RangeScan support.
Closes #1599 .
2023-05-12 14:00:52 -07: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
Michael Reiche
37cc6efc8e
Add YearMonth converter. ( #1722 )
...
Closes #1720 .
2023-04-21 15:29:37 -07:00
Tigran Babloyan
ae9c9a8cab
Register CouchbaseDocument and CouchbaseList as simple types (datastore supported) to get rid of conversation warning messages. ( #1711 )
...
Closes #1700 .
2023-04-18 09:20:09 -07:00
Greg L. Turnquist
45917046a3
Prepare 5.1 RC1 (2023.0.0).
...
See #1699
2023-04-14 11:53:26 -05:00
Shubham Mishra
9c258146ff
Move duplicate code in QueryCriteria to new method. ( #1706 )
...
Co-authored-by: Shubham Mishra <sh277446@dal.ca >
2023-04-05 10:15:59 -07:00
Michael Reiche
6102661790
Use the ApplicationContext class loader for MappingCouchbaseConverter. ( #1705 )
...
Closes #1691 .
2023-03-30 12:05:14 -07:00
Christoph Strobl
84e519639a
Prepare 5.1 M3 (2023.0.0).
...
See #1670
2023-03-20 15:01:20 +01:00
Mark Paluch
2dababc43b
Polishing.
...
Make fields final where applicable, move off deprecated API.
See #1696
2023-03-20 08:17:58 +01:00
Mark Paluch
0c8e7d9edd
Adopt to newly introduced ParameterAccessor.getScrollPosition().
...
Closes #1696
2023-03-20 08:14:57 +01:00
Michael Reiche
9321e9187a
Pass cas from oneEntity call to one by id. ( #1689 )
...
Closes #1388 .
2023-03-09 09:42:26 -08:00
Andy Toone
9539013f6e
ReactiveCouchbaseTemplate can overwrite PseudoArgs. ( #1685 )
...
* ReactiveCouchbaseTemplate can overwrite PseudoArgs under heavy concurrency.
Raised as issue #1684
* Added author
2023-03-06 17:30:26 -08:00
Michael Reiche
49eb565623
Fix typo and remove allow-bean-definition-overriding from transaction documentation. ( #1683 )
...
Closes #1612 .
2023-02-27 18:20:01 -08:00
Michael Reiche
1efcc1b0c3
Add Converters for JsonNode, JsonObject and JsonArray. ( #1682 )
...
Closes #1650 .
2023-02-27 18:12:53 -08:00