Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6067651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:37:51+00:00 2026-05-23T09:37:51+00:00

I am looking for an OO sqlite C++ wrapper which allows quasi-transparent serialization and

  • 0

I am looking for an OO sqlite C++ wrapper which allows quasi-transparent serialization and de-serialization of classes.

The work-flow I have in mind is as follow:

  1. define a class record with the data members
  2. Supply this class to the wrapper which creates a suitable table

Simple serialization and de-serialization via << and >> for the entire class.

Is this realistic or do I necessarily have to write the operators myself? Ideally I would like to not worry about how the data gets into the database and how it is stored… Ease of use is my main concern rather than flexibility or performance.

I am looking for something along the lines of the GAE datastore python interface.

Many thanks,
Arik

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:37:52+00:00Added an answer on May 23, 2026 at 9:37 am

    There’s no easy C++ ORM (Object Relational Mapping) tools. The two libraries I know of that ease the process are :

    • SOCI
    • Debea (EDIT: obsolete)

    SOCI is simpler and is boost-like in philosophy, while debea is more ORM oriented.

    By the way, if SQLite / SQL / requests are not mandatory, you can use Boost serialization framework.

    Just my two cents

    EDIT:

    Well, given C++ reflection possibilities, my humble opinion is that the only way to do what you want to do is to use a code generator. Given that there was no decent, easy to use C++ parser/lexer/…, I know of none widespread tool doing that.

    Someone I know had the same problem for some years. He has finally found a solution : He tells me that clang is now usable (it compiles boost), and that he uses it to generate serialization code based upon markers in the code (he tells me that there is support for marker in TR1, but I’m no expert). That is valuable feedback, and my own tries in this field make me agree about the solution.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a SQLite query which will return values that are great or
I just started looking into SQLite for the iPhone SDK. I have been looking
I have been playing around with SQLite a little bit and I was looking
I've been looking into improving SQLite performance for my site, especially with regard to
Looking for C# class which wraps calls to do the following: read and write
Looking for suggestions on file system management tools. We have several terabytes of images,
Looking for some syntax help for SQLite, a very odd thing is happening. I
I am looking into using a lightweight serverless database engine like SQLite, Firebird, or
I'm looking to encode and store Unicode in a Sqlite database. Is there any
Python --> SQLite --> ASP.NET C# I am looking for an in memory database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.