<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 05-03-2009 00:06, Dan Allen wrote:
<blockquote
 cite="mid:19758da0903041506g192a1cb5rb9613be0cb4416f7@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">On Wed, Mar 4, 2009 at 5:05 PM, Max Rydahl
Andersen <span dir="ltr">&lt;<a moz-do-not-send="true"
 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">Convenient does not mean it
should be default.<br>
    <br>
Anyway, for GA we will keep the "old" 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'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'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>
I wrote that above didn'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't change it since
the alternative is just as bad because<br>
of backwards compatability.<br>
<br>
/max<br>
<blockquote
 cite="mid:19758da0903041506g192a1cb5rb9613be0cb4416f7@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">
  <div><br>
-Dan</div>
  </div>
  <br>
-- <br>
Dan Allen<br>
Senior Software Engineer, Red Hat | Author of Seam in Action<br>
  <br>
  <a moz-do-not-send="true" href="http://mojavelinux.com">http://mojavelinux.com</a><br>
  <a moz-do-not-send="true" 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'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't hesitate to resend a message
if<br>
you feel that it did not reach my attention.<br>
</blockquote>
<br>
</body>
</html>