title: Spring @Transactional does not work in JUnit test?
body: <p>I am using Spring 3.2, Hibernate and JUnit 4.</p>
  
  <p>My Dao class is as follows:</p>
  
  <p><code>@Transactional public class SomeDaoImpl implements SomeDao {</code> </p>
  
  <p>The update operations on this work if executed directly from web application. However, I am seeing that junit integration tests that exercise the update methods do not actually persist the changes. Is something rolling the transactions back when junit methods are executed?</p>