<div class="gmail_quote">On Wed, Mar 4, 2009 at 2:17 PM, Emmanuel Bernard <span dir="ltr">&lt;<a href="mailto:emmanuel@hibernate.org">emmanuel@hibernate.org</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 style="">Then add @*to*(cascade=CascadeType.PERSIST), it will take you 2 mins to do what you really like and you will know you do it.</div></blockquote><div><br>It doesn&#39;t take two minutes when you have 80 entities. Most apps have large databases. Rarely do you see simple schemas like we have in the examples. When you generate your entities again and have to start all over. I think this is a good default to have, as well as DELETE and maybe REFRESH. Daniel can speak better to what he is seeing out in the field.<br>
<br>NONE is a crappy default.<br><br>-Dan<br></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>