Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

arindamroy123's picture
Asked 2 hours 27 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 19 hours 28 min 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 9 hours ago
Latest activity 2 days 4 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 5 hours ago
Latest activity 1 day 4 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 1 day ago
Latest activity 1 week 22 hours ago

Connection pool to connect to multiple buckets

Greetings

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 - org.springframework.data.mapping.model.MappingException

Hi,

I am trying to execute the spring data couchbase example provided at http://projects.spring.io/spring-data-couchbase/#quick-start . 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

user1
{
"name":"name1",
"age":23
}
user1
{
"name":"name2",
"age":22
}

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:

...

Pages