我有一个这样的测试:
@ContextConfiguration(locations = { "file:war/WEB-INF/application-context.xml" })
public class ServiceImplTest extends AbstractTestNGSpringContextTests
{
@Autowired
private Service service;
@Rollback(false)
@Test
public void testCreate()
{
.....
//save an entity to table_A
service.save(a);
}
}
table_A 将被清理;如何停止这种清洁动作?