2020
10-09
10-09
使用SpringBoot注解方式处理事务回滚实现
我们在SpringBoot和MyBatis整合的时候,需要在SpringBoot中通过注解方式配置事务回滚1Pojo类packagecom.zxf.domain;importjava.util.Date;publicclassUser{privateIntegerid;privateStringname;privateStringpwd;privateStringhead_img;privateStringphone;privateDatecreate_time;publicIntegergetId(){returnid;}publicvoidsetId(Integerid){this.id=id;}publicStri...
继续阅读 >