394 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
59
views
Spring Data Couchbase @JsonAnySetter / @JsonAnyGetter support
I am working on a service that uses Spring Data Couchbase and I have an entity that maps some of the fields of a document and I need all the other fields to be mapped to a Map<String, Object>.
I ...
1
vote
0
answers
70
views
Couchbase Java SDK - Warning During Initialisation
I am getting this one warning during the initialization of my Spring Boot application.
2025年06月19日 13:22:15:458 [main] DEBUG c.c.c.c.d.i.n.u.i.PlatformDependent0 - [MessageId: ] - [TraceId: ] - -Dio....
1
vote
1
answer
37
views
Couchbase TestContainer with Transactions
My issue is with the TestContainer behavior.
I am trying to test my code in couchbase testcontainer but facing certain anomaly.
My main part of code
public void execute() {
boolean success ...
2
votes
1
answer
84
views
How to prevent sql injection when using spring data couchbase with Query annotation?
I am having Controller, Service, Repository kind of Spring web project having enterprise couchbase server as DB, I am using spring-data-couchbase for querying data of couchbase, and I am using @Query ...
1
vote
2
answers
318
views
How to set Expiration/TTL(Time to Live) for couchbase documents using spring-boot-starter-data-couchbase and spring-boot-starter-cache?
I am working on an OTP (one-time password) provider microservice and I want to cache the OTPs in Couchbase and retrieve them for a given key. I am able to achieve this using the following pieces of ...
0
votes
1
answer
169
views
Spring Boot 3.2.2 with Couchbase Java Client 2.7 - Connection Established and then Disconnected
I am working on a Spring Boot application (version 3.2.2) and I am trying to connect to Couchbase using the Couchbase Java Client (version 2.7). However, I am encountering an issue where the ...
1
vote
2
answers
99
views
Spring in Kotlin: Getting data from couchbase server using special query brings back an empty object
I have a Spring micro-service that has been working for months now.
The owner wanted to add 2 additional function, one of them required a custom query:
SELECT Meta().id AS __id, *
FROM `bucket`
WHERE ...
1
vote
1
answer
98
views
[Spring data couchbase]: Interprete rebalance events
For couchbase 7, Is there a way to handle rebalance node events within a spring boot application (actuator) ?
If the database is in rebalance, I need to put the application health indicator to DOWN
-- ...
1
vote
2
answers
116
views
Couchbase Spring Data returns objects by ID without an index, but the Couchbase Query UI will not
I have a super simple Couchbase-Spring-Data project hooked up to a Couchbase 6.6 instance, based on the walkthrough from bealdung
The project works as expected and I'm able to create and read ...
1
vote
2
answers
36
views
how to fetch data when package structure deleted in source, but in couchbase document, _class with old package structure is present
Few of the mapper classed moved to different packages, so how I can I retrieve the old documents with _class in my couchbase document.
Hi, I tried to follow the steps related to couchbasetypemapper, ...
0
votes
2
answers
358
views
Spring Data Couchbase Repository not working with Spring Boot 3.x
I have a Spring Boot Service which is connecting to Couchbase Db to perform basic Crud operations using spring-boot-starter-data-couchbase.
Spring Boot Version = 3.0.5
spring-boot-starter-data-...
0
votes
0
answers
48
views
Bean of the repository defined in the dependency jar file is not creating when the main application starts
Hi I am new to Springboot,
I have 2 Springboot applications,
DSM
saveDataAPI
DSM is used to handle all the DB related interactions.
in DSM I have,
component class
Repository - uses ...
0
votes
1
answer
87
views
SpringBoot 3 CouchbaseTemplate Insertion failure: Nested attribute of generic 'T' type cannot be stored and must be converted
Got the following error while trying to use parameterized class/ Document for couchbase
Attribute of type com.testing.couchbase.model.Address cannot be stored
and must be converted.
I created 2 ...
0
votes
1
answer
107
views
Spring Batch with 2 Couchbase clusters
I'm trying to create a Spring Batch in order to copy Couchbase data from one cluster to another. I'm using Spring Data Couchbase.
But I can't figure out how to have 2 different repositories on 2 ...
0
votes
0
answers
258
views
spring-data-couchbase : Update query is not woring while spring boot migration
We are trying to migrate to spring boot 3.0,
Spring data couchbase has version : 5.1.4
We had previous update query which used work. now after migrating to springboot 3 we are getting below error for ...