-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Folks-

  Included is a test case that shows how using lazy collections fails in a
multi-threaded environment.  Note that in conf is the databasemap.xml  As you
run the test case, change lazy from true to false and watch it work.  Put it
back to true, and it fails again.  Note, that I'm not sending the libs I used
with this.  They are: (And where I got them from)

castor.jar          from cvs, build as of today
jdbc2_0-stdext.jar  Sun
jta1.0.1.jar        Sun
junit36.jar         www.junit.org
PoolMan.jar         www.codestudio.com (version 2.0.4)
postgresql.jar      from jdbc.postgresql.org (version 7.2b2)
xerces.jar          xml.apache.org (version 1.4.3)

(Also, assuming you have ant (1.4.1) in your path, with the optional jar file
in the $ANT_HOME/lib directory, and also copy junit.jar into there too.)

To run my test as is, make a directory called lib under lazy (the directory
that is made when you untar this file) and make sure that you have a
postgresql instance you can talk to locally. Once that, you can type
 ant sql
to install the test database (lazy_test). Then type 
 ant
to build the java code and run the test case.

Let me know if a fix is found for this.  Thanks.



Virtually, 
Ned Wolpert <[EMAIL PROTECTED]>

D08C2F45:  28E7 56CB 58AC C622 5A51  3C42 8B2B 2739 D08C 2F45 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE78GOKiysnOdCML0URAtXdAJ9iFX9mv2S1MJwroOZpGKaNmPOJ2gCeL2uO
e/hrQHfDIByVCAiV/4KbPFY=
=t6lH
-----END PGP SIGNATURE-----

Attachment: lazyFetchTest.tgz
Description: lazyFetchTest.tgz

Reply via email to