lustdevil 2015-05-29
//AbstractTransactionalJUnit4SpringContextTest继承这个类实现失误回滚
import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.UUID; import javax.annotation.Resource; import junit.framework.Assert; import org.junit.Ignore; import org.junit.Test; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import com.github.pagehelper.PageHelper; import com.keweisoft.ecmp.model.payment.PaymentAttrExtend; import com.keweisoft.ecmp.model.payment.PaymentInterfaceAttrExtend; import com.keweisoft.ecmp.model.payment.PaymentInterfaceModel; import com.keweisoft.ecmp.model.payment.PaymentModel; import com.keweisoft.ecmp.model.payment.PaymentPaltAccInfoModel; @org.junit.runner.RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "classpath:ecmp-test-persist.xml" }) public class PaymentPersistTest extends //AbstractTransactionalJUnit4SpringContextTest继承这个类实现失误回滚 AbstractTransactionalJUnit4SpringContextTests{ }