Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

keab.kcats's picture
Asked 1 hour 15 min ago

Large documents are missing

I have bunch of documents sized from 2K to 10KB.
When I use

CouchbaseClient#set(id, doc)
srimadava's picture
Asked 2 hours 23 min ago

views returning stale data

Concept -

1) Generate and store thousands of codes in a data bucket overnight (Ex: CodeBucket)
2) Give out these codes when requested (one code per request).
3) To ensure a code is given out only once, using a view as follows to retrieve a code


Covering's picture
Asked 1 day 15 hours ago
Latest activity 1 day 10 hours ago

Problem about memcached bucket

Java client and C client cann't share data with memcached bucket.

Java client is version 1.1.5, C client version is 2.0.6.

In our test, the java client and c client are accessing different server node for the same key.

Problem only appears with memcached bucket.

Richa_jain's picture
Asked 2 days 11 hours ago
Latest activity 10 hours 32 min ago

Auto-increment ID

In my project, I have added an initial value to ID through java application.
Now, i want to auto-increment this ID value every time the program runs.

sgande's picture
Asked 1 week 22 hours ago
Latest activity 1 week 4 hours ago

Connection pool to connect to multiple buckets


I am new to couchbase and We are in process of evaluating couchbase.

I have few questions. Appreciate response.
1) How can I maintain multiple connections at a time?
My use case is , I have multiple virtual buckets and I need to connect to corresponding...

srikanth.hugar's picture
Asked 2 weeks 14 hours ago
Latest activity 1 week 5 days ago

OSGI bundle for couchbase client

Do we have OSGI bundle for couchbase-client. Checked in repository and found the jar.
If available where can i find the bundle?

srikanth.hugar's picture
Asked 2 weeks 5 days ago

spring-data-couchbase -


I am trying to execute the spring data couchbase example provided at . But fails with below exception.

jrorke's picture
Asked 3 weeks 1 day ago

N1QL from Java? Best way to search from a Java client

1. Is the N1QL functionality exposed via any of the APIs (Java, in particular)? Or is it a command line tool only?

2. What is the best approach for building in ad hoc querying from a Java client? Is it building views and then executing queries against the views.

3. If the view...

xuxj's picture
Asked 3 weeks 1 day ago

Using Java to Perform a Multi-Key Get on a Couchbase View


how to query find by name and can pass parameter,
such as
public List findByName(String name){


my english is very pool,i...

vakoroteev's picture
Asked 4 weeks 8 hours ago

Strange behavior with paginated query.

I get a strange behavior with paginated query. While I paginate on the result set, I get duplicates of some documents. I'm doing the following in my code: