title: Setting hibernate 'default-cascade' property globally
body: <p>I'm using Spring and Hibernate with annotations. I want to set the <a href="http://docs.jboss.org/hibernate/orm/3.5/reference/en/html/mapping.html#mapping-declaration-mapping" rel="nofollow"><code>default-cascade</code></a> property for all classes like this in my mapping file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  &lt;!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"&gt;
  
  &lt;hibernate-mapping default-cascade="all"/&gt;
  </code></pre>
  
  <p>After some debugging it seems this doesn't work unless I define the classes and properties explicitly in the mapping file, and since I'm working with annotations everywhere else I'd really like to avoid that. Is it possible to set <code>default-cascade</code> globally without explicitly specifying properties?</p>