-
Spring Boot 2.x で学習した環境をSpring Boot 3.x (Spring Batch 5.x/Spring Framework 6.x)にアップデートする
- Spring Boot 2.x -> [Spring Boot 3.1](https://spring.io/blog/2023/05/18/spring-boot-3-1-0-available-now) + …
-
### 报错信息
```
Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalArgumentException: Invalid value type for attribute 'factoryBeanObjectType': java.lan…
-
### 当前使用版本(必填,否则不予处理)
mybatis-plus-boot-starter
3.4.1
### 该问题是如何引起的?(确定最新版也有问题再提!!!)
自定义了一个Interceptor,用来为所有sql增加一个全局查询参数。当分页查询时会在执行Interceptor之前count查询,此时全局查询参数没有配置,导致count查询时没有条件而报错。
或者有没…
-
## Question
shardingsphere 5.3.0
mysql 8.0
SELECT IFNULL(sum(o.order_amount - o.refund_amount), 0.00) AS todayRealTimeTurnover, IFNULL(SUM(CASE WHEN ori.is_first_order = 1 THEN o.order_amount - o…
-
springboot工程分页正常,但是单元测试中测试同样的方法报错,错误为:
java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.github.pagehelper.Page
单元测试的注解如下:
@RunWith(SpringRunner.class)
@Import(XXXXServic…
-
### 当前使用版本(必填,否则不予处理)
3.5.2
### 该问题是如何引起的?(确定最新版也有问题再提!!!)
之前spring项目,mybatis-plus版本3.4.0,调用insert方法时,如果实体类设置了值也会根据数据库自增生成。项目升级springboot后使用mybatis-plus-boot-starter insert方法却不会重新生成,使用设置的值出现D…
-
使用配置中心,修改数据后不生效,控制台监听到了修改动作,[notify-listener] time cost=1ms in ClientWorker, dataId=
Using the configuration center, the data modification does not take effect. The console monitors the modificat…
-
使用的依赖是
tk.mybatis
mapper-spring-boot-starter
2.1.5
实体继承的基类
![image](https://user-images.githubusercontent.com/24501314/112628215-8b9f8980-8e6d-11eb-8932-6d956093dc08.png)
更新代…
-
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
### What happened
目前我的ds是3.1.7版本,当尝试更新到3.…
-
项目依赖:
Spring-Boot: 3.1.5
Spring-Cloud: 2022.0.4
Spring-Modulith: 1.0.2
Mybatis-Flex: 1.7.4
问题描述:
在使用`ApplicationEventPublisher.publishEvent`时事务报错;
错误代码位置:
```
static class TransactionO…