当前位置:网站首页>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
边栏推荐
- Egg framework usage (1)
- Hundred lines of code launch red hearts, why programmers lose their girlfriends!
- Pytorch Deep Learning Quick Start Tutorial -- Mound Tutorial Notes (3)
- 2022/8/4 考试总结
- seata源码解析:事务状态及全局锁的存储
- 汇编语言(8)x86内联汇编
- 欧盟 | 地平线 2020 ENSEMBLE:D2.13 SOTIF Safety Concept(上)
- mysql进阶(二十七)数据库索引原理
- 正则表达式replaceAll()方法具有什么功能呢?
- ffmpeg drawtext add text watermark
猜你喜欢
CCVR基于分类器校准缓解异构联邦学习
shell脚本实例
hcip BGP 增强实验
Oracle临时表空间作用
sql server中 两表查询 平均数 分组
Assembly language (8) x86 inline assembly
Qiu Jun, CEO of Eggplant Technology: Focus on users and make products that users really need
Marketing Suggestions | You have an August marketing calendar to check! Suggest a collection!
交换机端口的三种类型详解与hybrid端口实验
dotnet OpenXML 解析 PPT 图表 面积图入门
随机推荐
汇编语言(8)x86内联汇编
2022.8.3
IO stream articles -- based on io stream to realize folder copy (copy subfolders and files in subfolders) full of dry goods
2022.8.3
mysql进阶(二十七)数据库索引原理
干货!生成模型的评价与诊断
【ASM】字节码操作 方法的初始化 Frame
开源一夏|OpenHarmony如何查询设备类型(eTS)
MySQL advanced (twenty-seven) database index principle
tensorflow.keras cannot introduce layers
Creo 9.0 基准特征:基准点
express hot-reload
seata源码解析:TM RM 客户端的初始化过程
How ali cloud storage database automatically to speed up the loading speed of www.cxsdkt.cn how to set up the case?
ECCV 2022 Oral Video Instance Segmentation New SOTA: SeqFormer & IDOL and CVPR 2022 Video Instance Segmentation Competition Champion Scheme...
Excuse me, guys, is it impossible to synchronize two databases in real time using Flink SQL CDC?
Open Source Summer | How OpenHarmony Query Device Type (eTS)
IO流篇 -- 基于io流实现文件夹拷贝(拷贝子文件夹及子文件夹内文件)满满的干货
深度学习21天——卷积神经网络(CNN):天气识别(第5天)
Concurrent CAS