Fabio - Does the problem only occur with long transactions? What do your mappings look like?
More information could be helpful - Margaret -----Original Message----- From: Fabio Andr�s Zorzan [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 11:45 AM To: [EMAIL PROTECTED] Subject: [castor-dev] Problem with relationship Hello, I am having problems when update a relationship beetwen two Objects in long transactions. The updates do not have effects. What can is happening? example: db = jdo.getDatabase(); db.begin() db.load(object1,1); db.commit(); db.close(); // lots of code and time.... // http request response sequence for selection of the contents of the relationship (object2) // lots of code and time.... object2=new Object2(); object1.setObject2(object2); db = jdo.getDatabase(); db.begin(); db.update(object1); db.commit(); // fails to update the collection without an error being thrown. I am autoStore=true Thanks for your help. Fabio _________________________________________________________ Do You Yahoo!? Informaci�n de Estados Unidos y Am�rica Latina, en Yahoo! Noticias. Vis�tanos en http://noticias.espanol.yahoo.com ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
