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

Data Serialisation

2 replies [Last post]
  • Login or register to post comments
Fri, 07/01/2011 - 06:16
johnnyboy
Offline
Joined: 06/30/2011
Groups: None

Hi. After a lot of hair pulling, I think I've come to the conclusion that any data stored in membase has to be serialisable?

Note, I am using C# and Enyim - perhaps it is Enyim that has the serialisation requirement? I'd rather not have to go through all my classes and mark them as serialisable.

Top
  • Login or register to post comments
Fri, 07/01/2011 - 15:13
steve
Offline
Joined: 03/15/2010
Groups: None

Hi,
Sorry for the pulled hair, but that is correct -- your objects need to be seralizable. Membase actually can store any binary bytes, and Enyim uses obj serialization to turn objects into binary bytes (and back again).

Cheers,
Steve

Top
  • Login or register to post comments
Fri, 07/01/2011 - 15:58
johnnyboy
Offline
Joined: 06/30/2011
Groups: None

Thanks, unfortunately this meant every object had to be explicitly marked as serialisable but it appears to be working now.

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