Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

sgande's picture
Asked 3 days 12 hours ago
Latest activity 2 days 18 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 1 week 3 days ago
Latest activity 1 week 1 day 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 1 day 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 2 weeks 3 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 2 weeks 4 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 3 weeks 2 days 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:

Lev's picture
Asked 3 weeks 6 days ago
Latest activity 3 weeks 5 days ago

Log4j appender for couchbase


I"m looking for Couchbase implementation of log4j appender similar to the org.log4mongo.MongoDbAppender, so I will switch easily from The MongoDB to the Couchbase.


pqr657017034's picture
Asked 1 month 1 week ago
Latest activity 1 month 1 week ago

How to use couchbase to do the fuzzy query?


How to use couchbase to do the fuzzy query? Could friends teach me?

Just like this:

SELECT field FROM table WHERE value like "%searchterm%";

The “searchterm” is variable。 How to achieve the same effect with couchbase?...'s picture
Asked 1 month 2 weeks ago

Using couchbase java client within Netty 4.X server


We are using Netty server 4.0.5 and would like to use couchbase java client to connect to couchbase server. My problem is that the couchbase java client (1.3.2) is using netty 3.5.5. So in the same java project we will need to use netty 4.0.5 for the server and netty 3.5.5 for...

ravivedala's picture
Asked 1 month 2 weeks ago
Latest activity 1 month 1 week ago

Unable to retrieve the value put by one client from a different client connection/session


I am using the java client: couchbase-client-1.0.3.jar

Using com.couchbase.client.CouchbaseClient I am creating the connection to the Couchbase Server. When I put and get a value within the same connection, I am able to retrieve the value from the Couchbase Server, but from a...