spring-data-couchbase
spring-data-couchbase copied to clipboard
Provides support to increase developer productivity in Java when using Couchbase. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data acce...
**[Martin](https://jira.spring.io/secure/ViewProfile.jspa?name=JIRAUSER50103)** opened **[DATACOUCH-642](https://jira.spring.io/browse/DATACOUCH-642?redirect=false)** and commented This works in v3 ```java @Query("SELECT META(u).id as _ID, META(u).cas as _CAS, u.* " + "FROM #{#n1ql.bucket} u " + "WHERE u._class='#{@entityName.getUser()}' AND $1 IN...
ReactiveFindByQueryOperationSupport - the exists method checks for count > 0. To determine if (any such) documents exist, it is only necessary to find the first matching document - not all...
I noticed this while working with the integration tests. `@SpringBootTest` + `@Testcontainers`. Some builds on CI were failing with timeout exception when trying to do `repository.save()` and CB error was...
**[Marcelo Grossi](https://jira.spring.io/secure/ViewProfile.jspa?name=magrossi)** opened **[DATACOUCH-399](https://jira.spring.io/browse/DATACOUCH-399?redirect=false)** and commented IndexManager is not respecting the configured TypeMapper in MappingCouchbaseConverter when creating secondary indices and views. It simply uses the classes fully qualified name (as...
API Idea: ```java final MyEntity entity = template.findById(MyEntity.class) .lock(Duration.ofSeconds(5)) .one("abc123"); ``` `.lock()` should also exist that takes no arguments and uses the default lock duration.
Support selecting and counting in parallel in SimpleCouchbaseRepository#findAll(Pageable pageable)
We use something like this in our custom base repository: ```java final Mono totalCount = getReactiveCouchbaseOperations().findByQuery(getEntityInformation().getJavaType()) .withConsistency(buildQueryScanConsistency()) .matching(new Query().with(pageable)) .count(); final Mono pageContents = getReactiveCouchbaseOperations().findByQuery(getEntityInformation().getJavaType()) .withConsistency(buildQueryScanConsistency()) .matching(new Query().with(pageable)) .all() .collectList();...
feature request - throttling on saveAll() and other operations that currently use flatMap() CBSE-9843