title: What to use instead of SimpleJdbcTestUtils?
body: <p>I am trying to set up a database test using Spring and DBUnit. I have a script to run before each test. The code below works but <code>SimpleJdbcTemplate</code> <strong>is deprecated</strong>. The method <code>executeSqlScript</code> is being moved to JdbcTestUtil as part of the 3.2 release but we're on 3.1.x. What to use instead?</p>
  
  <pre><code>@RunWith(SpringJUnit4ClassRunner.class)
  @ContextConfiguration
  public class MyTestScript{
  
      @Autowired
      public DataSource dataSource;
      @Autowired
      public Resource script;
  
      @Before
      public void setup() {
          SimpleJdbcTestUtils.executeSqlScript(
              new SimpleJdbcTemplate(dataSource), script, true);
      }
  
      @Test
      public void testInsert() {
      }
  }
  </code></pre>