We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.5.7
interface 继承于 BaseMapper并添加default 方法的时候,在ServiceImpl使用baseMapper调用该default方法报错,发现baseMapper可能是Proxy方式实现导致的问题.继承的代码如下: interface XMapper extends BaseMapper { default String getTableSchema() { return "test" } } 在ServiceImpl使用baseMapper调用该getTableSchema()报错: Caused by: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): XMapper.getTableSchema 希望作者能添加对BaseMapper接口继承default方法支持
Caused by: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): XMapper.getTableSchema
The text was updated successfully, but these errors were encountered:
git形式给出你的demo
Sorry, something went wrong.
No branches or pull requests
确认
当前程序版本
3.5.7
问题描述
interface 继承于 BaseMapper并添加default 方法的时候,在ServiceImpl使用baseMapper调用该default方法报错,发现baseMapper可能是Proxy方式实现导致的问题.继承的代码如下:
interface XMapper extends BaseMapper {
default String getTableSchema() {
return "test"
}
}
在ServiceImpl使用baseMapper调用该getTableSchema()报错:
Caused by: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): XMapper.getTableSchema
希望作者能添加对BaseMapper接口继承default方法支持
详细堆栈日志
The text was updated successfully, but these errors were encountered: