Re: Saving OO objects in a relational database.
Date: 2000/06/09
Message-ID: <Pine.LNX.4.10.10006091005470.4616-100000_at_Gloria.CAM.ORG>#1/1
You might like to look into the Python pickle module which converts arbitrary Python objects to character-streams and this stream can then be written to any database. Although this is Python specific, you might be able to gain much insight from the source openly available at python.org.
On Fri, 9 Jun 2000, Gooli wrote:
> I am working on a project that requires the storage and loading of
> complex C++ objects in a relational (Oracle 8.0) database.
>
> The C++ structure has many level of inheritance, and what is more
> intimidating, is the fact that the objects to be saved contain multiple
> dimention arrays.
>
> I am looking for information on the Internet, that descrtibes solutions
> for problems of this kind (storing and loading complex OO structures
> in a relational database). Names of books, and references to companies
> that can offer consultation on the subject are welcome as well.
> The main issue here is speed in both fetching the information and storing
> it in the database.
> Until now, due to the complexity of the data we were saving the objects
> as LONG RAW (using MFC's Serialize) but this way has many limitations,
> and defies the purpose of a relational database.
>
> Any comments will be greatly appriciated, as well as requests to post
> the details of the design.
>
> P.S.
> We use ADO for the communication with the database, so nested tables
> and object relational design are not relevant (unless they added things to
> ADO that I don't know about)...
>
>
>
>
Received on Fri Jun 09 2000 - 00:00:00 CEST