Commit Graph

786 Commits

Author SHA1 Message Date
Tigran Babloyan
f1df93f31f Fixed issue with querying documents annotated with @Collection with QuerydslPredicateExecutor. (#1867)
Closes #1866
2024-01-17 17:11:35 -08:00
Mark Paluch
d73eecd024 Extend license header copyright years to 2024.
See #1887
2024-01-02 09:24:34 +01:00
Mark Paluch
6c0f8ddb38 Prepare 5.0.12 (2022.0.12).
See #1847
2023-11-17 10:57:00 +01:00
Michael Reiche
0af7ae90a6 Provide Default CouchbaseCustomConversions with Enum Converters. (#1856)
Closes #1837.
2023-10-25 11:28:34 -07:00
Mark Paluch
97917ba468 Prepare 5.0.11 (2022.0.11).
See #1829
2023-10-13 11:41:28 +02:00
Michael Reiche
fca506f8f7 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:50:35 -07:00
Michael Reiche
7283a5c0d9 Remove unused test file. (#1845)
Closes #1766.
2023-10-11 15:49:57 -07:00
Michael Reiche
5dfb2dcef8 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:49:06 -07:00
Mark Paluch
670fc76b08 Prepare 5.0.10 (2022.0.10).
See #1811
2023-09-15 10:17:32 +02:00
Michael Reiche
0a6d38db3a 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:29:09 -07:00
Michael Reiche
0dcec59532 Add doc for multiple buckets and heading for overriding SDK. (#1791)
Closes #878, #1788.
2023-08-28 09:26:28 -07:00
Mark Paluch
cfe0a52df3 Prepare 5.0.9 (2022.0.9).
See #1785
2023-08-18 10:42:57 +02:00
Tigran Babloyan
870441e668 Fixed issue with #n1ql.bucket evaluated as collection name in string based queries. (#1804)
Closes #1799
2023-08-10 10:29:26 -07:00
Mico Piira
fafbffa1ee Automatically set readonly query option for read only queries (#1730)
Closes #1724
2023-08-09 13:13:17 -07:00
Mark Paluch
a539920900 Prepare 5.0.8 (2022.0.8).
See #1762
2023-07-14 11:22:25 +02:00
Michael Reiche
9bcc65b3c5 Add Doc to Change Couchbase SDK Version. (#1782)
Closes #1781.
2023-07-13 16:52:47 -07:00
Michael Reiche
d2c50837da Bump Couchbase SDK to 3_4_7. (#1780)
Closes #1754.
2023-07-11 11:28:08 -07:00
Michael Reiche
25f86b46b4 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:54:31 -07:00
Michael Reiche
c9a53a6d1c Restore StringQuery constructor that takes only string. (#1770)
Closes #1769.
2023-06-29 15:11:55 -07:00
mikereiche
1d2b488e5f Non-reactive template.save() use non-reactive auditor and close clusters in tests.
Already cherry-picked from main. This change to fix compilation error after cherry-pick.

Closes #1756, #1764.
2023-06-29 15:05:08 -07:00
Michael Reiche
c97084be12 Non-reactive template.save() use non-reactive auditor and close clusters in tests. (#1765)
Closed #1756, #1764.
2023-06-29 14:58:52 -07:00
Mark Paluch
c9b5fdf2c9 Prepare 5.0.7 (2022.0.7).
See #1740
2023-06-16 15:39:32 +02:00
Michael Reiche
3520eb5e12 Fix compile error from #1757. (#1760)
Closes #1759.
2023-06-15 18:38:49 -07:00
Michael Reiche
3e7a8253e6 Allow template.save() to find if it is in a transaction. (#1758)
Closes #1757.
2023-06-15 18:38:44 -07:00
Tigran Babloyan
53060b029e Added support of the expression based durability levels. (#1721)
Closes #1063.
2023-06-14 15:05:37 -07:00
Michael Reiche
372314aa23 Check for nulls. (#1723)
Closes #1720.
2023-06-14 15:04:06 -07:00
Michael Reiche
9999557024 Add YearMonth converter. (#1722)
Closes #1720.
2023-06-14 15:03:18 -07:00
Tigran Babloyan
ed7d6b268c Register CouchbaseDocument and CouchbaseList as simple types (datastore supported) to get rid of conversation warning messages. (#1711)
Closes #1700.
2023-06-14 15:02:21 -07:00
Shubham Mishra
7a402abe07 Move duplicate code in QueryCriteria to new method. (#1706)
Co-authored-by: Shubham Mishra <sh277446@dal.ca>
2023-06-14 15:01:19 -07:00
Michael Reiche
a8992f1e22 Fix compile error introduced by #1745. (#1747)
* Fix compile error in #1745.

Closes #1745.
2023-06-14 12:07:17 -07:00
Michael Reiche
5ea899e62b Was not using QueryContext in tx when scope=_default, but collection!=_default. (#1746)
Closes #1745.
2023-06-14 12:06:38 -07:00
Michael Reiche
5fca2619fa Use only converter for elements of parameter array. (#1744)
Closes #1743.
2023-06-14 12:05:24 -07:00
Michael Reiche
ea91a1bda4 Datacouch 1599 add rangescan support (#1738)
* Add RangeScan to Template.

Closes #1599.

* Add RangeScan support.

Closes #1599.
2023-06-14 12:01:40 -07:00
Mark Paluch
52b217c37a Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
Closes #1748
2023-06-06 11:02:41 +02:00
Christoph Strobl
478d9a9e08 Prepare 5.0.6 (2022.0.6).
See #1713
2023-05-12 11:07:49 +02:00
Michael Reiche
8ea76196ea Try Object.class if cannot get persistent entity for class. (#1737)
Closes #1726.
2023-05-11 11:13:26 -07:00
Michael Reiche
e4e2f466c0 ClassTypeInformation is now deprecated. (#1735)
Closes #1456.
2023-05-10 11:35:48 -07:00
Michael Reiche
140c169799 Fix Typo in Cache Documentation. (#1734)
Closes #1525.
2023-05-10 10:38:11 -07:00
Michael Reiche
76b9c26d92 Fix code example for field level encryption. (#1733)
Closes #1613.
2023-05-10 10:37:50 -07:00
Michael Reiche
3130f0664d Fix repository links in documentation. (#1732)
Closes #1647.
2023-05-10 10:37:29 -07:00
Michael Reiche
82d9a47975 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:42:50 -07:00
Michael Reiche
60a9a00bc5 Pass entity in repository delete(entity) and deleteAll(entities). (#1726)
Closes #1725.
2023-05-03 15:30:07 -07:00
Greg L. Turnquist
f8c6972a4d Prepare 5.0.5 (2022.0.5).
See #1698
2023-04-14 10:18:36 -05:00
Michael Reiche
0ff4f0d7d7 Use the ApplicationContext class loader for MappingCouchbaseConverter. (#1705)
Closes #1691.
2023-03-30 12:48:52 -07:00
Christoph Strobl
df1165c042 Prepare 5.0.4 (2022.0.4).
See #1687
2023-03-20 14:22:21 +01:00
Michael Reiche
e36834baa3 Pass cas from oneEntity call to one by id. (#1689)
Closes #1388.
2023-03-15 21:09:30 -07:00
Andy Toone
89e9b90dda ReactiveCouchbaseTemplate can overwrite PseudoArgs. (#1685)
* ReactiveCouchbaseTemplate can overwrite PseudoArgs under heavy concurrency.

Raised as issue #1684

* Added author
2023-03-06 17:31:48 -08:00
Mark Paluch
0d1cb31d7e Prepare 5.0.3 (2022.0.3).
See #1668
2023-03-03 10:59:18 +01:00
Michael Reiche
2c9407872b Fix typo and remove allow-bean-definition-overriding from transaction documentation. (#1683)
Closes #1612.
2023-02-28 10:31:00 -08:00
Michael Reiche
5cd9af8542 Add Converters for JsonNode, JsonObject and JsonArray. (#1682)
Closes #1650.
2023-02-28 10:30:19 -08:00