spirng 事物只支持 dml语句 update,insert delete

mybatis中写 truncat table语句 不支持事务

在oracle环境

用 delete from tabelName 不用 truncate table tableName

 

2 .数据操纵语言DML
数据操纵语言DML主要有三种形式:
1) 插入:INSERT
2) 更新:UPDATE
3) 删除:DELETE

posted @ 2017-09-30 15:41  zfzf1  阅读(153)  评论(0编辑  收藏  举报