org.springframework.context.ApplicationContext ctx = new org.springframework.context.support.FileSystemXmlApplicationContext("D:\\Workspaces\\guoyan\\SRIT_DataSyn\\WebContent\\WEB-INF\\application-jotm.xml");
然后开启事务
AccessWS accessws =(AccessWS)ctx.getBean("accessServiceImpl");
java application 手动开启spring事务
最新推荐文章于 2024-02-28 13:24:32 发布