Re: Copying objects from one database to another

From: jerome moliere (jerome.molier..mail.com)
Date: Thu Apr 19 2007 - 09:53:49 EDT

  • Next message: Ayhan Kondoz: "refreshing of cached objects"

    2007/4/18, jerome moliere <jerome.molier..mail.com>:
    >
    >
    >
    > 2007/4/17, Michael Gentry <blacknex..mail.com>:
    > >
    > > This isn't really an answer to your question, but could help you. If
    > > your
    > > schemas are the same in db1 and db2, I would set up a shared data map
    > > and
    > > then copy it into the db1 and db2 data domains:
    > >
    > > http://cwiki.apache.org/CAY/copying-datamaps.html
    > >
    > > Easier to maintain, don't need duplicate java classes, etc. Sorry I
    > > don't
    > > have time right now to provide more thoughts, but hopefully that'll give
    > > you
    > > something to ponder. :-)
    >
    >
    > after looking examples (different databases on wiki), activating logs on
    > my Postgres, it turns out that as I presumed you use one single transaction
    > (logic) with different database commits
    >

    It's logic but it does not provide the feature expected (by my customers)
    ..XA transactions or JDBC are the only ways to achieve their goals...

    regards
    jerome

    -- 
    Jerome Moliere - Mentor/J
    http://romjethoughts.blogspot.com/
    auteur Eyrolles
    



    This archive was generated by hypermail 2.0.0 : Thu Apr 19 2007 - 09:54:41 EDT