-
依赖如下
```xml
com.mybatis-flex
mybatis-flex-processor
```
报错如下
```
Caused by: java.lang.ClassCastException: class cn.toint.core.pojo.DO.WechatMpConfigDO cannot be cast to class cn…
-
pom中,引入了:mybatis-flex-spring-boot-starter、mybatis-flex-processor
spring boot 版本:3.1.2
-
参数和返回值泛型定义的都没问题,任然有警告
-
自动生成TableRef的同时,可否也自动生成一个基础的BaseMapper?
`
@Table("demo")
public class Demo {
@Id(keyType = KeyType.Auto)
int id;
String name;
String remark;
}
`
`
public interface DemoM…
-
![image](https://github.com/mybatis-flex/mybatis-flex/assets/21074939/dbc53be7-c685-4e07-b6df-d07df6cf45af)
-
```java
@GetMapping("/test")
public Object test(){
QueryWrapper where = QueryWrapper.create().select()
.from(TClassTableDef.T_CLASS)
.innerJoin(TUserTa…
-
mybatis默认会创建SqlSessionFactory吧,这个bean是不是没办法初始化
![图片](https://github.com/mybatis-flex/mybatis-flex/assets/6057326/da2169ce-4037-4e8a-b29e-baddd1e290a6)
带来的问题就是一些配置没办法生效,例如configurationCustomizers,数…
-
现在kotlin支持了吗
-
SELECT `id`, `project_id`, `item_id` FROM `TEST_ITEM`
生成的语句带·这个符号就报错 SELECT id, project_id, item_id FROM TEST_ITEM ,拷贝出sql去掉所有 `就能执行SQL。
-
https://mybatis-flex.com/zh/core/multi-datasource.html 中罗列了四个用法,并没有扫包方法