报错原因:返回的类型不对 mybatis使用注解后nested exception is org.apache.ibatis.binding.BindingException: Mapper method ‘com.itheima.dao.ProductDao.save’ has an unsupported return type: class java.lang.String
使用@selectKey
**
@option注解解决mybatis连接 mysql生成UUID
**
转载请注明原文地址:https://tech.qufami.com/read-8258.html