Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

MikeOliverAZ's picture
Asked 10 months 1 week ago
Latest activity 10 months 1 week ago

storing document with key string but not finding it

Ok I am using the couchbase client in a couchbase bucket.

I have a pojo that is serializable. Everything is working fine, the document is stored but not where I thought it would.

client is initialized to localhost default bucket.

...
Andreas Kündig's picture
Asked 10 months 1 week ago
Latest activity 10 months 1 week ago

Can a row returned by a view be null? Can its document?

I have a NullPointerException that happens sometimes on the first line of this loop,

    ViewResponse rows = this
...
couchbase-user's picture
Asked 10 months 2 weeks ago

Using Couchbaseclient.getstats(statsname) to get specific statistics only

Hi there,

I'm trying to collect specific statistics about the execution of couchbase operations and times but yet struggling to find the right function to do this.

The latest thing I tried was Couchbaseclient.getstats() that returns about two pages for every server in my cluster...

tamazero's picture
Asked 10 months 2 weeks ago
Latest activity 10 months 2 weeks ago

Storing pdf documents inside couchbase

Hi all, I'd like to integrate an open source ERP system (Adempiere ERP) with couchbase storing invoice informations inside the db and also the corrisponding pdf files.
The pdf files are quite small (about 100kb) and I 'd want to store also the document information (docno, date,...

MikeOliverAZ's picture
Asked 10 months 2 weeks ago
Latest activity 10 months 2 weeks ago

connection pool or singleton

I am using a java compute node in websphere message broker.

Each message flowing through the broker gets a new thread. The java compute node executes in its own thread and cannot share anything outside that thread. Even JDBC must go through a configurable service to get a connection to...

MikeOliverAZ's picture
Asked 10 months 2 weeks ago
Latest activity 4 months 2 weeks ago

too many files open exception

I was using spymemcached client, and since our application uses Websphere MessageBroker where we access the cache, each request is a new thread, so we ran into trouble. The spymemcached client does not do connection pooling so we ran out of connections. Upping the open file count for user and...

MikeOliverAZ's picture
Asked 10 months 2 weeks ago
Latest activity 10 months 1 week ago

I want to replace the javax.persistence.EntityManager implementation

I want to move my applications to couchbase.

Many of those applications use jpa/Hibernate and implement the javax.persistence.EntityManager Interface.

I have started work and the following class is my implementation so far.

My question is, do you have an example of another...

MikeOliverAZ's picture
Asked 10 months 2 weeks ago
Latest activity 10 months 2 weeks ago

Query Example fetching multiple documents matching a attribute value

I have a java application and want to store some pojos in Couchbase and retrieve all the pojos of a certain class by one of the fields in the pojo.

The java class is something like this:

public
...
MikeOliverAZ's picture
Asked 10 months 3 weeks ago
Latest activity 10 months 3 weeks ago

Getting Started not getting far

I downloaded and installed 2.2 Enterprise and the Admin console works great.

Imported the jars in the Java SDK and tried the hello world example.

Here is the console when I try to run it.

2013-10-24 10:30:57.391 INFO com.couchbase.client.CouchbaseMemcachedConnection: Added...

ielia's picture
Asked 10 months 4 weeks ago
Latest activity 10 months 1 day ago

CouchbaseConnectionFactory.updateStoredBaseList hard-coded administration port

Dear all,

I've noticed there is a "8091" hard-coded in CouchbaseConnectionFactory.updateStoredBaseList(Config). I have started a server on a remote host on port 10091 and I cannot make it work due to this piece of code:

...

Pages