Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

arindamroy123's picture
Asked 12 hours 52 min ago

How to resolve latency issue

Our requirement is to provide unique coupon to the user. We are generating unique coupons by our algorithm and storing in Couchbase DB.
We created one bucket where we are storing all the documents contain coupon codes. One column in the document is "IN USE". While supplying the coupons to...

keab.kcats's picture
Asked 1 day 5 hours ago

Large documents are missing

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

CouchbaseClient#set(id, doc)
Covering's picture
Asked 2 days 20 hours ago
Latest activity 2 days 15 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 3 days 16 hours ago
Latest activity 1 day 15 hours 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 2 days ago
Latest activity 1 week 1 day 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 1 day ago
Latest activity 1 week 6 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 6 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 2 days 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 2 days 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 1 day 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: