SpringBoot @Transactional声明事务无效问题
查看系统支持的存储引擎:show engines;

查看表使用的引擎:show table status from db_name where name='table_name';
修改表引擎方法: alter table table_name engine=innodb;
mysql的引擎是InnoDB才支持事务回滚
查看系统支持的存储引擎:show engines;

查看表使用的引擎:show table status from db_name where name='table_name';
修改表引擎方法: alter table table_name engine=innodb;
mysql的引擎是InnoDB才支持事务回滚