Hi Andrew,

Clute, Andrew wrote:

For collection descriptors, I thought that if you left the auto-update
field off, it was suppose to default to false -- and thus CASCADE_NONE.


This is not correct. For backward compatibility with older versions OJB use 'false' as default and in older versions the FK is always set, so the equivalent setting was 'LINK' (this was one reason to introduce the new settings (NONE,LINK,OBJECT), old versions always set the FK entries whatever you set false/true).


http://db.apache.org/ojb/docu/guides/basic-technique.html#1%3An+auto-xxx+setting

regards,
Armin

However, I am seeing where that is not the case, but instead the code
inside of ObjectReferenceDescriptor is defaulting 'false' to
CASCADE_LINK, with a note that CollectionDescriptor needs to override
and set 'false' equal to CASCADE_NONE.

However, that code is not written.

Am I missing something here?

-Andrew



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to