cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jerome moliere" <jerome.moli...@gmail.com>
Subject Re: Copying objects from one database to another
Date Thu, 19 Apr 2007 13:53:49 GMT
2007/4/18, jerome moliere <jerome.moliere@gmail.com>:
>
>
>
> 2007/4/17, Michael Gentry <blacknext@gmail.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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message