This one time, at band camp, Chinasoccer said:

C>1. Can castor have concurrent access for databases located on different machines for 
distributed transaction?
C>2. When a java obect is representing 2 or more tables in the relation database, and 
only need to update one table in the
C>process, do Castor persistence update all the tables in the java object, or only the 
table need to be updated?

Zhenwei,

Two-phase commit is supposed to be supported. However, neither have used
it nor have I looked into it. From what I can tell, I should be supported.

Castor only supports mapping a single object to a single table (unless
you follow http://www.castor.org/jdo-faq.html#Data-model-issues). Because
of this, only one table is updated at a time. However, if my memory
serves me, I believe that the update to a table is all inclusive rather
that exclusive. Meaning all rows are updated rather than only the ones
that have changed.

Bruce 
-- 
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to