NIck, thanks for coming back to us with your findings. Now, based on what you said, I don't know whether I should be happy or not .. ;-).
Werner On Wed, 20 Oct 2004 09:52:25 -0400, Nick Stuart wrote: > >Hmph...well I suppose this is a good thing, but it appears the problem >has gone away. Go figure! :) > >Tried generating a test case of the circumstances, and nothing. So I >figured I'd give it a shot with my program and looky there....no >errors. Oh well....guess that'll learn me when reporting errors, dont >slack or the problem might just go away!! > > >On Tue, 19 Oct 2004 21:29:28 +0200, Werner Guttmann ><[EMAIL PROTECTED]> wrote: >> >> >> >> On Tue, 19 Oct 2004 15:01:35 -0400, Nick Stuart wrote: >> >> > >> >Here is the code where the Stack trace is from. As you can see, >> >nothing special going on: >> >/* >> > * ClientDataManager.java >> > * >> > * Created on September 10, 2004, 9:32 AM >> > */ >> > >> >package com.vort.utils; >> > >> >import com.vort.beans.Client; >> >import org.exolab.castor.jdo.Database; >> >import org.exolab.castor.jdo.JDO; >> >import org.exolab.castor.jdo.PersistenceException; >> > >> > >> >/** >> > * >> > * @author nstuart >> > */ >> >public class ClientDataManager extends DataManager { >> > .... >> > public void delete(Object object) throws PersistenceException { >> > Client client = (Client)object; >> > Database db = null; >> > client.getUser().removeClients(client); >> > try{ >> > db = jdo.getDatabase(); >> > db.begin(); >> > db.update(client.getUser()); >> > db.commit(); >> > }catch (PersistenceException pe){ >> > rollback(db); >> > throw new PersistenceException("Could not delete client.", pe); >> > }finally{ >> > closeDatabase(db); >> > } >> > } >> > .... >> >} >> > >> >The only thing thats 'kinda' tricky is that Client depends on UserInfo >> >and some relationships going down as well, but still it works with an >> >older checkout of Castor but not the newest. I'll try and see if I can >> >come up with a small case tonight thats repeatable. >> >> That would be absolutely great. >> >> Werner >> >> > >> > >> > >> >----------------------------------------------------------- >> >> >> >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 >> > > > >----------------------------------------------------------- >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