既然是spring 在管理事务,spring怎么知道sql操作失败, 你不把异常抛给spring,spring就不会知道成功,失败,service里面不要自己捕获异常readOnly=true是可以写的,public int query(){ add();}这种能插入?