当前位置:网站首页>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
边栏推荐
- 韦东山 数码相框 项目学习(六)tslib的移植
- ffmpeg drawtext add text watermark
- What is the function of the regular expression replaceAll() method?
- Weekly Report 2022-8-4
- matcher中find,matches,lookingAt匹配字符串的不同之处说明
- EU | Horizon 2020 ENSEMBLE: D2.13 SOTIF Safety Concept (Part 2)
- express hot-reload
- seata源码解析:TM RM 客户端的初始化过程
- 无题十二
- 什么是CRM决策分析管理?
猜你喜欢
dotnet OpenXML 解析 PPT 图表 面积图入门
上海控安技术成果入选市经信委《2021年上海市网络安全产业创新攻关成果目录》
sql server中 两表查询 平均数 分组
Science bosses say | Hong Kong rhubarb KaiBin teacher take you unlock the relationship between the matrix and 6 g
汇编语言(8)x86内联汇编
基于 Kubernetes 的微服务项目整体设计与实现
2.4G无线收发模块的应用
Marketing Suggestions | You have an August marketing calendar to check! Suggest a collection!
【ASM】字节码操作 方法的初始化 Frame
营销建议 | 您有一份八月营销月历待查收! 建议收藏 !
随机推荐
无题一
Overall design and implementation of Kubernetes-based microservice project
基于 Kubernetes 的微服务项目整体设计与实现
15.1.1、md—md的基础语法,快速的写文本备忘录
Oracle临时表空间作用
深度学习21天——卷积神经网络(CNN):服装图像分类(第3天)
深度学习21天——卷积神经网络(CNN):天气识别(第5天)
【ASM】字节码操作 方法的初始化 Frame
PAT Grade B-B1020 Mooncake(25)
dotnet OpenXML parsing PPT charts Getting started with area charts
shell脚本实例
hcip BGP 增强实验
Happens-before rules for threads
手写柯里化 - toString 理解
阿里云存储的数据库是怎么自动加快加载速度的呢www.cxsdkt.cn怎么设置案例?
PAT Level B - B1021 Single Digit Statistics (15)
leetcode refers to Offer 10- II. Frog jumping steps
IO stream articles -- based on io stream to realize folder copy (copy subfolders and files in subfolders) full of dry goods
Xcode 12 ld: symbol(s) not found for architecture armv64
无题十三