title: JUnit tests always rollback the transactions
body: <p>I'm running a simple JUnit test agains an application DAO. The problem is that I always get:</p>
  
  <pre><code>javax.persistence.RollbackException: Transaction marked as rollbackOnly
  </code></pre>
  
  <p>The JUnit test is:</p>
  
  <pre><code>@RunWith(SpringJUnit4ClassRunner.class)
  @ContextConfiguration(locations = {"classpath:com/my/app/context.xml"}
  @TransactionConfiguration(transactionManager = "transactionManager", defaultRollback = false)
  @Transactional
  public class PerformanceTest {
  
      @Test
      @Transactional(propagation= Propagation.REQUIRES_NEW)
      @Rollback(false)
      public void testMsisdnCreationPerformance() {
          // Create a JPA entity
  
          // Persist JPA entity
      }
  }
  </code></pre>
  
  <p>As you can see I'm declaring clearly not to rollback this method.</p>
  
  <p>Does Spring JUnit support always sets rollback to true?</p>