Spring@Transaction属性在私有方法上工作吗?
@Transactional
public class Bean { public void doStuff() { doPrivateStuff(); } @Transactional private void doPrivateStuff() { }}...Bean bean = (Bean)appContext.getBean("bean");bean.doStuff();
慕虎7371278
慕婉清6462132
炎炎设计
相关分类