当前位置:网站首页>IDEA performs the Test operation, resulting in duplicate data when data is inserted
IDEA performs the Test operation, resulting in duplicate data when data is inserted
2022-08-05 09:32:00 【Minaldo7】
The problems I encountered and the solutions:
Solution: Open the File->Settings in the upper right corner of IDEA, search for maven, open the Runner in the maven directory, and find the Delegate IDE build/run actionsto Maven option, uncheck the previous check!!!
Tick off!!!
Tick off!!!
Tick off!!!
Tick off!!!
Delegate IDE build/run actions to Maven: Hand over the build and run operations in the IDE to Maven. If the project is not checked, the build and run operations are handed over to the IDE, which may lead to the inability to find the relevant jar packages in the maven repository during build and run.After checking, the operations such as building and running the project are directly handed over to maven.However, this will lead to duplicate data when inserting database data. During the actual measurement, it is found that both maven and IDEA have run the project, resulting in duplicate data.
Note: The above explanation is only my own understanding
边栏推荐
- 正则表达式replaceFirst()方法具有什么功能呢?
- Neuron Newsletter 2022-07|新增非 A11 驱动、即将支持 OPC DA
- How to realize the short press and long press detection of the button?
- Seata source code analysis: initialization process of TM RM client
- openpyxl操作Excel文件
- 这样写有问题吗?怎么在sql-client 是可以做到数据的同步的
- seata源码解析:TM RM 客户端的初始化过程
- 无题十一
- Is there a problem with writing this?How to synchronize data in sql-client
- Voice conversion相关语音数据集综合汇总
猜你喜欢

轩辕实验室丨欧盟EVITA项目预研 第一章(四)

干货!生成模型的评价与诊断

【LeetCode】623. Add a row to the binary tree

The technological achievements of Shanghai Konan were selected into the "2021 Shanghai Network Security Industry Innovation Research Achievement Catalog" by the Municipal Commission of Economy and Inf

什么是CRM决策分析管理?

ECCV 2022 Oral Video Instance Segmentation New SOTA: SeqFormer & IDOL and CVPR 2022 Video Instance Segmentation Competition Champion Scheme...

为什么我推荐使用智能化async?

【ASM】字节码操作 方法的初始化 Frame

如何实现按键的短按、长按检测?

Microservice Technology Stack
随机推荐
Creo 9.0 基准特征:基准点
营销建议 | 您有一份八月营销月历待查收! 建议收藏 !
程序员的七种武器
Happens-before rules for threads
ffmpeg drawtext 添加文本水印
mysql进阶(二十七)数据库索引原理
egg框架使用(一)
交换机端口的三种类型详解与hybrid端口实验
19.服务器端会话技术Session
MQTT X Newsletter 2022-07 | 自动更新、MQTT X CLI 支持 MQTT 5.0、新增 conn 命令…
Why do I recommend using smart async?
openpyxl to manipulate Excel files
请问大佬们 ,使用 Flink SQL CDC 是不是做不到两个数据库的实时同步啊
Seata source code analysis: initialization process of TM RM client
正则表达式replaceAll()方法具有什么功能呢?
IO流篇 -- 基于io流实现文件夹拷贝(拷贝子文件夹及子文件夹内文件)满满的干货
阿里云存储的数据库是怎么自动加快加载速度的呢www.cxsdkt.cn怎么设置案例?
21 Days of Deep Learning - Convolutional Neural Networks (CNN): Weather Recognition (Day 5)
C语言的高级用法
IO stream articles -- based on io stream to realize folder copy (copy subfolders and files in subfolders) full of dry goods