title: Spring + hibernate, nested NOT_SUPPORTED transaction attribute
body: <pre><code>public class BusinessService {  //spring bean
  
    public dumpAllData(List){
  
      /* Complicated DB operation here
       * We dont want to be in transaction now (because of performance issues)
       */ 
  
      for(...){           //iterating through whole list
        **updateItem(item);**
      }
  
    }
  
    public updateItem(Entity e){
      //saves entity into DB
      //we want to be in transaction now
    }
  
  }
  </code></pre>
  
  <p>Spring configuration :</p>
  
  <pre><code>&lt;tx:advice id="txAdvice" transaction-manager="wsTransactionManager"&gt;
      &lt;tx:attributes&gt;           
        &lt;tx:method name="dumpAllData" propagation="NOT_SUPPORTED" /&gt;
        &lt;tx:method name="updateItem" propagation="REQUIRES_NEW" /&gt;
      &lt;/tx:attributes&gt;
  &lt;/tx:advice&gt;
  </code></pre>
  
  <p>Is possible to have nested REQUIRED_NEW propagation which will be called from method with propagation NOT_SUPPORTED ? </p>
  
  <p>Thing is we run an extensive DB operation (~ 100Mb) in dumpAllData() so we dont want to be in transaction (oterwise it would be performance issue). But we want to be in transaction (rollback/commit) in updateItem method (where we do just simple update of entities).</p>