This one time, at band camp, St�phane Verlet said:
SV>This file includes a Test program and patches
SV>for the problem I described in the dev-list posting below
SV>
SV>In short when using 2 JDO object connecting to different databases
SV>but using the same mapping
SV>The High/Low key generator might get a Database connection to the wrong
SV>databse
SV>when acquiring a separate connection.
SV>
SV>I provided a test program, that demonstrates the problem and verify the
SV>patch
SV> src/tests/jdo/TestKeyGenMultipleDB.java
SV>
SV>there is also script to run the progran testMulti.sh
SV>
SV>Unfortunatly since requiring 2 JDO instances , I was not able to figure
SV>out a way
SV>to integrate that test program in the castor test suite (any suggestions
SV>?)
SV>
SV>The test program is set to use mysql , using mysql.xml and mysql2.xml from
SV>src/tests/jdo/ folder.
SV>FYI , this is not a mysql problem , I first discover the problem on db2.
SV>
SV>I ran the castor test suite with the patch , all run well.
St�phane,
Thank you very much for your contribution! I will address your
contribution as soon as I'm able. I'm sure I'll be back in contact
with you.
Bruce
--
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&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