On Wed, Mar 4, 2009 at 2:17 PM, Emmanuel Bernard
<emmanuel@hibernate.org> wrote:
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.
It doesn'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.
NONE is a crappy default.
-Dan