Re: auto-delete does not work anymore: rc6???

2004-03-30 Thread Andreas Bohnert
hello armin, yes, I did replace the repository.dtd. I just simplified my application source. Here is the client/server code that produce the wrong deletes. I'm using jboss 3.2.3 and postgresql 7.4.1. the repository files and the database structure is attached. it's strange, because I think, the

Re: auto-delete does not work anymore: rc6???

2004-03-30 Thread Armin Waibel
Hi Andreas, your code seems ok. Do you manipulate metadata at runtime? Maybe the auto-delete flag change at runtime. Can you check this in your deleteValidate(...)-method Collection ords = broker.getClassDescriptor(Repository.class).getObjectReferenceDescriptors(); for(Iterator iterator =

Re: auto-delete does not work anymore: rc6???

2004-03-30 Thread Andreas Bohnert
hi armin, that was a good suggestion! I don't change the meta data at runtime, but it seems that my auto-delete='false' is replaced (because it's now deprecated) with an auto-delete='object', but it should be replaced with 'none'! well, that what I would excpect ;) thats what I got:

Re: auto-delete does not work anymore: rc6???

2004-03-30 Thread Armin Waibel
Hi Andreas, I think you are right, seems auto-delete false/true is not handled correct. I will fix this. regards, Armin Andreas Bohnert wrote: hi armin, that was a good suggestion! I don't change the meta data at runtime, but it seems that my auto-delete='false' is replaced (because it's now

Re: auto-delete does not work anymore: rc6???

2004-03-30 Thread Armin Waibel
Hi again, the fix is in CVS. Now should the new auto-xxx really backward compatible and should be handled in a way described in http://db.apache.org/ojb/tutorial3.html#1:1%20auto-xxx%20setting regards, Armin Andreas Bohnert wrote: hi armin, that was a good suggestion! I don't change the meta

Re: auto-delete does not work anymore: rc6???

2004-03-30 Thread abo
thank you armin, I will check it out regards andreas Armin Waibel wrote: Hi again, the fix is in CVS. Now should the new auto-xxx really backward compatible and should be handled in a way described in http://db.apache.org/ojb/tutorial3.html#1:1%20auto-xxx%20setting regards, Armin Andreas

auto-delete does not work anymore: rc6???

2004-03-29 Thread Andreas Bohnert
hello everbody, today I checked out the rc6 cvs version and did some validation tests on my application. I found out, that there is something going wrong, when I delete an object. I have an decomposed n-m relation: CONTACT INSTITUTION_CONTACT --- INSTITUTION when I delete an

Re: auto-delete does not work anymore: rc6???

2004-03-29 Thread Armin Waibel
Hi Andreas, I made a quick test. It works for me. Did you replace the repository.dtd? Can you post the source code snip? regards, Armin Andreas Bohnert wrote: hello everbody, today I checked out the rc6 cvs version and did some validation tests on my application. I found out, that there is