[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Merging Ozone databases



On Wed, 25 Jul 2001, you wrote:
> Writing a quick hack on top of your existing Java code that talks to the
> database would sound like the best bet. Have it load in from the two to be
> merged and write to a third instance (that way you can experiment on how to
> prevent collisions in your particular case).

Yes, 'collisions' are the problem. If your objects do not form two fully
separated graphs, then merging 'by hand' is the only way doing it. Only the
the application logic (inside the objects and/or inside the client code) knows
what are valid object struktures and how to build them.

Roy, why do you want to merge the databases? How does the object structure
look like? Do the two databases have different db IDs? (otherwise object IDs
may collide)


Falko

> 
> Reason
> http://www.exratio.com/
> 
> > -----Original Message-----
> > From: owner-ozone-users@ozone-db.org
> > [mailto:owner-ozone-users@ozone-db.org]On Behalf Of Roy Ladner
> > Sent: Wednesday, July 25, 2001 12:55 PM
> > To: ozone-users@ozone-db.org
> > Subject: Merging Ozone databases
> >
> >
> > I have 2 Ozone databases and I want  to merge them into one database
> > without re-importing the raw data from data files.
> >
> > Can anyone give their experience with this or some insight into doing
> > this efficiently?
> >
> > Roy Ladner
> > Naval Research Laboratory
> >
> > ----------------------------------------------------------------------
> > Post a message:         mailto:ozone-users@ozone-db.org
> > Unsubscribe:
> > mailto:ozone-users-request@ozone-db.org?body=unsubscribe
> > Contact adminstrator:   mailto:ozone-users-owner@ozone-db.org
> > Read archived messages: http://www.ozone-db.org/
> > ----------------------------------------------------------------------
> 
> ----------------------------------------------------------------------
> Post a message:         mailto:ozone-users@ozone-db.org
> Unsubscribe:            mailto:ozone-users-request@ozone-db.org?body=unsubscribe
> Contact adminstrator:   mailto:ozone-users-owner@ozone-db.org
> Read archived messages: http://www.ozone-db.org/
> ----------------------------------------------------------------------
-- 
______________________________________________________________________
Falko Braeutigam                              mailto:falko@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com

----------------------------------------------------------------------
Post a message:         mailto:ozone-users@ozone-db.org
Unsubscribe:            mailto:ozone-users-request@ozone-db.org?body=unsubscribe
Contact adminstrator:   mailto:ozone-users-owner@ozone-db.org
Read archived messages: http://www.ozone-db.org/
----------------------------------------------------------------------