最后一个例子有问题,当user != null && name 不为张三时会报错
我在jdbcTemplate执行建表的存储过程,也是不报错、不生效。后面在存储过程中commit了,还是不生效。求原因。