-
> 1. 版本: v1.4.3
> 2. 简要代码:
```java
sysUserMapper.insertSelective(createUserDAO);
```
> 3. 异常信息
```
java.lang.reflect.UndeclaredThrowableException
at jdk.proxy2/jdk.proxy2.$Proxy119.insert…
-
能不能像mp一样,全局配置一个逻辑删除的字段名,只要实体类里有这个字段,就是逻辑删除?
-
1. Column 自定义 typeHandler 会出现 Cannot invoke "org.apache.ibatis.session.Configuration.getTypeHandlerRegistry()" because "configuration" is null 的问题
![image](https://github.com/mybatis-flex/mybatis-fle…
-
将codengen作为底包进行idea插件开发时候,多次点击多张表的生成
会出现:
```2023-08-03 17:50:28,437 [ 329285] INFO - STDERR - java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed o…
-
问题:
- 使用该分页查询功能必须提供``Page``或者其他参数,但如果不想要分页查询就会抛出异常。
原因:
- 由于提供给前端的接口属于比较大众化,可根据条件去进行分页查询或者查询所有数据,但是后端处理会比较麻烦和困难。
---
这以前的写法,不管是使用Mapper.xml还是类似于MyBatis的Example,都是使用PageHelper来帮忙分页查询的。
``…
-
例如将 `T selectOneById(@Param(FlexConsts.PRIMARY_VALUE) Serializable id);`
改为 ` Optional selectOneById(@Param(FlexConsts.PRIMARY_VALUE) Serializable id);`
-
test
-
learn and work
-
springboot3
gradle kotlin
![image](https://github.com/mybatis-flex/mybatis-flex/assets/56793420/37f8c3b0-357e-4c89-b7bc-f1b0c1678d70)
-
微博内容精选