- mybatis 映射写法: com.XXX.A$B , 注意A类和B类之间用 $ 表示内外关系,而不是常用的 .点号。
- 内部类需要用static修饰 要不然会报异常
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: No constructor found in com.cheng.test.Outer$Innermatching [java.lang.Integer, java.lang.Integer]
mybatis调用内部类的方法
最新推荐文章于 2022-11-29 17:07:36 发布