<br><br><div class="gmail_quote">On Wed, Mar 4, 2009 at 7:18 PM, Max Rydahl Andersen <span dir="ltr">&lt;<a href="mailto:max.andersen@redhat.com">max.andersen@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000"><div class="im">
On 05-03-2009 00:06, Dan Allen wrote:
<blockquote type="cite">
  <div class="gmail_quote">On Wed, Mar 4, 2009 at 5:05 PM, Max Rydahl
Andersen <span dir="ltr">&lt;<a href="mailto:max.andersen@redhat.com" target="_blank">max.andersen@redhat.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">Convenient does not mean it
should be default.<br>
    <br>
Anyway, for GA we will keep the &quot;old&quot; default since it was discovered
too late.<br>
    <br>
Then when we do have the ui for controlling the default I would just
have a few options but <br>
let none be the default since it is the less risky one and you can set
the default option in persistence.xml<br>
instead of going set it on every single entity.</div>
  </blockquote>
  <div><br>
It&#39;s clearly a programming/architecture style since we all are pushing
our own viewpoints. Thus, I think you should have an option in the UI
for the user to enter whatever default he/she wants. Perhaps check
boxes would be nice.<br>
  <br>
I don&#39;t really like the idea of setting the defaults in the XML as it
changes the behavior of the application and makes it non-portable (or
harder to connect the dots for someone looking at the annotations).<br>
  <br>
So can we agree to disagree and make it a choice for the developer?<br>
  </div>
  </div>
</blockquote></div>
I wrote that above didn&#39;t I ? :) ALL is kept for now, a choice will be
added going forward.<br>
<br>
btw. no single app in this world will use the same cascade on all
assocations hence setting i.e. ALL is <br>
encouraging a very bad practice ... but for now I can&#39;t change it since
the alternative is just as bad because<br>
of backwards compatability.</div></blockquote><div><br>Yep, I&#39;ll raise my glass to that.<br><br>-Dan </div></div><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br><br><a href="http://mojavelinux.com">http://mojavelinux.com</a><br>
<a href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br><br>NOTE: While I make a strong effort to keep up with my email on a daily<br>basis, personal or other work matters can sometimes keep me away<br>
from my email. If you contact me, but don&#39;t hear back for more than a week,<br>it is very likely that I am excessively backlogged or the message was<br>caught in the spam filters.  Please don&#39;t hesitate to resend a message if<br>
you feel that it did not reach my attention.<br>