Re: mapping one object in different RDBMS - source

2005-04-11 Thread Armin Waibel
Hi, Stas Ostapenko wrote: I have a problem with inserting all table data of one table to another table in other RDBMS. Following code works, but it stores not all the data, but only first object. Where I`m wrong ? First you have to take care that metadata changes are global operations, all

Re: mapping one object in different RDBMS - source

2005-04-11 Thread Stas Ostapenko
Armin, thanks for your reply. But one more thing. I use table with something like 100 000 records. Using of PB.getCollectionByQuery may couse problems with memory. Out Of Memory Exception for example. This is not a problem - I can increase heap size for JVM, etc.In this case using

mapping one object in different RDBMS

2005-04-07 Thread Stas Ostapenko
I`m trying to do mapping one object in two RDBMS and different tables. How can I create mapping and access SAME objects in different db`s on the fly ?.For example to store search results of databaseA in databaseB ? I use PB API.

mapping one object in different RDBMS - source

2005-04-07 Thread Stas Ostapenko
I have a problem with inserting all table data of one table to another table in other RDBMS. Following code works, but it stores not all the data, but only first object. Where I`m wrong ? Please help. import org.apache.ojb.broker.PersistenceBroker; import