Michael Reiche
4e8626ce6c
Change AuditingEventListener Constructor Signature. ( #1908 )
...
Closes #1884 .
2024-03-13 15:01:32 -07:00
Vipul Gupta
38212b45c1
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 16:17:15 -08:00
Michael Reiche
1434f59a55
Fix regression - unable to store and read properties of type Object. ( #1883 )
...
Closes #1875 .
2024-01-17 16:14:23 -08:00
Tigran Babloyan
4ce7f1bf2a
Fixed issue with querying documents annotated with @Collection with QuerydslPredicateExecutor. ( #1867 )
...
Closes #1866
2024-01-17 16:08:26 -08:00
Mark Paluch
f6d1851a58
Extend license header copyright years to 2024.
...
See #1889
2024-01-02 13:55:06 +01: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
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
Greg L. Turnquist
258c0611c6
Properly test against JDK 21.
...
See #1813
2023-09-06 10:06:18 -05: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
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
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
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
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
37cc6efc8e
Add YearMonth converter. ( #1722 )
...
Closes #1720 .
2023-04-21 15:29:37 -07: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
1efcc1b0c3
Add Converters for JsonNode, JsonObject and JsonArray. ( #1682 )
...
Closes #1650 .
2023-02-27 18:12:53 -08:00
Michael Reiche
ba0a14676f
Add test file missed in #1661 . ( #1675 )
...
Closes #1674 .
2023-02-17 15:15:23 -08:00
Michael Reiche
02afaeef8d
Bump couchbase sdk to 3_4_3. ( #1663 )
...
Requires some refactoring around @Stability.Internal APIs.
Also fixed a test to get it to pass.
Closes #1661,#1662.
2023-02-17 14:03:44 -08:00
Tigran Babloyan
020693e995
Added Sub-Document mutations support ( #1660 )
...
Closes #1659
2023-02-03 11:26:59 -08:00
Tigran Babloyan
b83da70073
Added support of the read locks ( #1655 )
...
Closes #1059 .
2023-01-27 10:45:22 -08:00
Tigran Babloyan
ef9d3ff0fc
added QueryDSL sorting support ( #1653 )
...
closes #1363
2023-01-26 13:12:10 -08:00
Tigran Babloyan
6326317971
Added support of the PersistTo, ReplicateTo and DurabilityLevel via @Document annotation. ( #1649 )
...
Closes #1486
2023-01-24 13:05:52 -08:00
Michael Reiche
0e76118dbc
Refresh test entity class. ( #1645 )
...
Closes #1644 .
2023-01-11 13:49:51 -08:00
Michael Reiche
057fe64713
Add missing test entity class. ( #1643 )
...
Closed #1642 .
2023-01-11 13:09:00 -08:00
Michael Reiche
98bffc0150
Use getAndTouch only when annotation attribute touchOnRead=true. ( #1641 )
...
Closes #1634 .
2023-01-11 12:43:25 -08:00
Michael Reiche
897d3fc5c2
Take expiry from entity class annotation for getAndTouch. ( #1640 )
...
Closes #1634 .
2023-01-10 14:14:38 -08:00
Michael Reiche
d994eb7bb3
Use "= true" for TRUE() and "= false" for FALSE(). ( #1633 )
...
Closes #1627 .
2023-01-03 12:02:51 -08:00
Mark Paluch
49645997be
Extend license header copyright years to 2023.
...
See #1632
2023-01-02 09:53:41 +01:00
Michael Reiche
1fcafab4d1
Fix serialiation/deserialization for field level encryption. ( #1622 )
...
Closes #1621 .
2022-12-16 13:14:43 -08:00
Michael Reiche
799b7dbd30
Add suport for JsonValue annotation on Enums and JsonValue/JsonCreator otherwise. ( #1618 )
...
Closes #1617 .
2022-12-15 13:31:19 -08:00
Michael Reiche
2d862b4899
Handle arguments that are lists. ( #1606 )
...
Closes #1586 .
2022-11-02 13:38:18 -07:00
Michael Reiche
932901e709
Accept entity parameters to repository methods. ( #1595 )
...
Closed #1586 .
2022-10-31 09:34:02 -07:00
Michael Reiche
faf3dd9b40
Fix config bean dependencies. ( #1588 )
...
Closes #1557 .
2022-10-12 12:41:08 -07:00
Michael Reiche
b872714be1
Revert to single-module. ( #1583 )
...
Closed #1582 .
2022-10-10 00:08:11 -07:00
Michael Reiche
a998251585
Reorganize repository so additional modules can be added. ( #1514 )
...
Closes #1503 .
2022-07-28 15:26:53 -07:00
Michael Reiche
28d9f8f27b
Update transactions documentation for native transaction support.
...
Closes #1454,#1512.
2022-07-28 12:31:35 -07:00
Michael Reiche
fab3f55436
Add rejectNonTransactionalOperations to ReactiveFindByIdOperationSupport.
...
Closes #1494 .
2022-07-13 15:35:39 -07:00