Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

Get and Remove operation not working

3 replies [Last post]
  • Login or register to post comments
Tue, 07/10/2012 - 04:14
bijesh
Offline
Joined: 07/10/2012
Groups: None

Hi All,

I am using couchbase server(memcached) 1.8 installed on windows 7 x64. Using the .NET client library v1.1 im tring to connect to Couchbase server and is successful. I am able to store objects to cache and from cocuchebase web interface we can see inserted item keys in the databucket. But Get and Remove operation is not working. Can you please pointout the possible causes of this issue?

Regards
Bijesh

Top
  • Login or register to post comments
Tue, 07/10/2012 - 18:20
mikew
Offline
Joined: 03/14/2011
Groups:

Can you post the code that you wrote that is having problems?

Top
  • Login or register to post comments
Wed, 07/11/2012 - 03:12
bijesh
Offline
Joined: 07/10/2012
Groups: None

Hi Mikew,

It's working fine with simple string item, but we found that when we add an item like complex object CouchBase not supporting the Get and Remove.

I am using like code below,

"2020a489-b5a9-4916-a37a-b00ce3dba302" is the key value of the item in the CouchBase.

Remove,
Var result = client.ExecuteRemove("2020a489-b5a9-4916-a37a-b00ce3dba302");
Get,
Beer objBeer = client.Get("2020a489-b5a9-4916-a37a-b00ce3dba302");

Top
  • Login or register to post comments
Thu, 07/12/2012 - 10:36
john
Offline
Joined: 01/05/2012
Groups: None

Are your complex types marked as Serializable?

[Serializable]
public class Beer
{
...
}

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker