On 02 Jan (10:20), Gavin King wrote:

> In the new DTD, I have also renamed the 'readonly' attribute 
> to 'inverse', since its name was causing all kinds of confusion 
> for new (and not-so-new) users.

+1 :)

> * Rename the 'role' attribute to 'name' in all collection
>   elements in the new DTD, for consistency with <many-to-one>, 
>   <id> and <property> elements. The role attribute no longer
>   has any extra semantics beyond being a simple property
>   name.

++

> * Change the default for unsaved-value to "null" in the new 
>   DTD. The current default is surprising to new users.

++

> * Change the default for default-cascade to "save-update"
>   in the new DTD.
> 
> I am undecided ... interested to hear the views of others.

This would be too much like "persistence by reachability" by 
default. This should be optional.

-- 
Christian Bauer
[EMAIL PROTECTED]


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to