You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Matthias Eck <ma...@gmail.com> on 2011/11/29 21:54:34 UTC

Using CouchDB 1.1.0 with Java

Hello,

I am trying to access a CouchDB 1.1.0 database using Java.

I have unsuccessfully tried jcouchdb and ektorp up to now.

Is there any recommendation for a library that can access CouchDB from
Java to download/upload documents with attachments?

Thanks,
Matthias

Re: Using CouchDB 1.1.0 with Java

Posted by Marty Schoch <ma...@gmail.com>.
Ektorp is actively maintained and coming from a Java background I've
found it pretty straightforward.  If you'd like help working though
specific issues you ran into with it I'd recommend posting here:
https://groups.google.com/forum/#!forum/ektorp-discuss

If theres something more fundamental about these libraries that
doesn't work for you perhaps you could elaborate on that.

marty

On Tue, Nov 29, 2011 at 3:54 PM, Matthias Eck <ma...@gmail.com> wrote:
> Hello,
>
> I am trying to access a CouchDB 1.1.0 database using Java.
>
> I have unsuccessfully tried jcouchdb and ektorp up to now.
>
> Is there any recommendation for a library that can access CouchDB from
> Java to download/upload documents with attachments?
>
> Thanks,
> Matthias

Re: Using CouchDB 1.1.0 with Java

Posted by Ahmed Yehia <ah...@gmail.com>.
FYI, LightCouch now supports attachments in the latest release.


Re: Using CouchDB 1.1.0 with Java

Posted by Matthias Eck <ma...@jibbigo.com>.
Thanks for the answers. I tried lightcouch and that does not yet
support attachments.

Anyways, I went back to ektorp after your recommendations and I think
it is working now.

Thanks,
Matthias

On Tue, Nov 29, 2011 at 2:07 PM, Henrik Lundgren
<ca...@gmail.com> wrote:
> I wonder why you have failed with Ektorp?
>
> Ektorp has very good support for attachments. I am currently developing an application that read and writes about 150 docs / sec containing 8Kb attachments.
>
> //Henrik
>
>
> 29 nov 2011 kl. 21:54 skrev Matthias Eck:
>
>> Hello,
>>
>> I am trying to access a CouchDB 1.1.0 database using Java.
>>
>> I have unsuccessfully tried jcouchdb and ektorp up to now.
>>
>> Is there any recommendation for a library that can access CouchDB from
>> Java to download/upload documents with attachments?
>>
>> Thanks,
>> Matthias
>
>

Re: Using CouchDB 1.1.0 with Java

Posted by Henrik Lundgren <ca...@gmail.com>.
I wonder why you have failed with Ektorp?

Ektorp has very good support for attachments. I am currently developing an application that read and writes about 150 docs / sec containing 8Kb attachments.

//Henrik


29 nov 2011 kl. 21:54 skrev Matthias Eck:

> Hello,
> 
> I am trying to access a CouchDB 1.1.0 database using Java.
> 
> I have unsuccessfully tried jcouchdb and ektorp up to now.
> 
> Is there any recommendation for a library that can access CouchDB from
> Java to download/upload documents with attachments?
> 
> Thanks,
> Matthias