当前位置:网站首页>Idea auto generate code
Idea auto generate code
2022-06-28 03:22:00 【Programming Xiaobai who loves Java】
idea It can automatically generate some basic code , Subsequently, you only need to write the business code according to the generated basic code , See how it is generated , The tutorial is comprehensive , Please read... Patiently , Thank you very much! !
1. First check your own idea Whether the plug-in for automatic code generation is installed , No, please install the plug-in step by step Easy Code.

2. Check idea Connect to database or not , No, please move idea Connect to the database


3. Right click the table name -> choice EasyCode->Generate Code-> Generate corresponding code according to your own requirements


Be careful : So far, the basic code generation has been completed , However, some codes may be red , You need to add corresponding dependencies , Here, I will share it according to my personal situation .

Add this dependency to resolve
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-elasticsearch</artifactId>
</dependency>
边栏推荐
- 论文阅读:Generative Adversarial Transformers
- Is it reliable to invest in the inter-bank certificate of deposit fund? Is the inter-bank certificate of deposit fund safe
- Brief history and future trend of codeless software
- 【iptables&icmp】iptables默认策略中关于icmp协议的说明
- How to write concise code? (upper)
- 2022 electrician (elementary) recurrent training question bank and online simulation examination
- 抓包整理外篇fiddler————了解工具栏[一]
- Severe Tire Damage:世界上第一个在互联网上直播的摇滚乐队
- 视频编解码性能优化与实现
- RichView TRVStyle TextStyles
猜你喜欢

访问网站提示:您未被授权查看该页恢复办法

如何编写简洁代码?(上)
![[today in history] June 19: iPhone 3GS launched; Pascal was born; Anti terrorist elite begins testing](/img/ec/90961351a0de1eac26dd003bf25d34.png)
[today in history] June 19: iPhone 3GS launched; Pascal was born; Anti terrorist elite begins testing

Opencv -- geometric space transformation (affine transformation and projection transformation)

数字化时代,企业须做好用户信息安全

Artifact for converting pcap to JSON file: joy (installation)

劲爆!YOLOv6又快又准的目标检测框架开源啦(附源代码下载)

Gateway微服務路由使微服務靜態資源加載失敗

腾讯游戏发布40多款产品与项目 其中12款为新游戏

元宇宙标准论坛成立
随机推荐
Tencent games released more than 40 products and projects, including 12 new games
Apache——阿帕奇簡介
Simple file transfer protocol TFTP
Notepad++--列编辑模式--用法/实例
Gateway microservice routing failed to load microservice static resources
How fiddle uses agents
s32ds跳转到DefaultISR
如何编写简洁代码?(上)
The first in the industry! MOS sub evaluation model for subjective video quality experience that can run on mobile devices!
What are the good practices of cloud cost optimization?
RichView TRVStyle TextStyles
测试要掌握的技术有哪些?软件测试必懂的数据库设计大全篇
云成本优化有哪些优秀实践?
目标检测|SSD原理与实现
Ten reasons for system performance failure
TensorRT 模型推理优化实现
Tips for visiting the website: you are not authorized to view the recovery method of this page
Review the submission of small papers for 2022 spring semester courses
In the digital era, enterprises must do well in user information security
[today in history] June 23: Turing's birthday; The birth of the founder of the Internet; Reddit goes online