Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

srikanth.hugar's picture
Asked 3 months 2 weeks ago
Latest activity 2 months 3 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 3 months 3 weeks ago
Latest activity 2 months 3 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 months 4 weeks ago
Latest activity 2 months 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 3 months 4 weeks ago
Latest activity 2 months 3 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 months 4 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 4 months 1 week ago
Latest activity 2 months 3 days ago

Log4j appender for couchbase

Hi,

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.

Thanks,
Lev.

pqr657017034's picture
Asked 4 months 2 weeks ago
Latest activity 4 months 2 weeks ago

How to use couchbase to do the fuzzy query?

Hello!

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?...

razs@redbend.com's picture
Asked 4 months 3 weeks ago

Using couchbase java client within Netty 4.X server

Hi,

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 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

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

Hi,

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...

ohassidi's picture
Asked 5 months 1 day ago

Connection management

Hi

Is there any best practice for connection management for couchbase connections? If one of the nodes in the cluster died, how the client get notified and start dipatching requests to other nodes? Also how does data that was in the died server start return from other nodes?

Should...

Pages