当前位置:网站首页>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
- Thesis reading: General advantageous transformers
- Domain Name System
- Mysql database operation - stored procedure, view, transaction, index, database backup
- 目标检测|SSD原理与实现
- apache、iis6、ii7独立ip主机屏蔽拦截蜘蛛抓取(适用vps云主机服务器)
- 十年职场软件工程师感悟
- service实现类里面为何一直报红
- Yes, it's about water
猜你喜欢

Tardigrade:Trino 解决 ETL 场景的方案
![[today in history] June 24: Netease was established; The first consumer electronics exhibition was held; The first webcast in the world](/img/f7/b3239802d19d00f760bb3174649a89.jpg)
[today in history] June 24: Netease was established; The first consumer electronics exhibition was held; The first webcast in the world

2022安全员-C证考试题库模拟考试平台操作

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

栈的基本操作(C语言实现)
![[today in history] June 25: the father of notebook was born; Windows 98 release; First commercial use of generic product code](/img/ef/a26127284fe57ac049a4313d89cf97.png)
[today in history] June 25: the father of notebook was born; Windows 98 release; First commercial use of generic product code

PSM summary

2022年R1快開門式壓力容器操作特種作業證考試題庫及答案

为什么OpenCV计算的帧率是错误的?

Le routage des microservices de la passerelle a échoué au chargement des ressources statiques des microservices
随机推荐
Inference optimization implementation of tensorrt model
Notepad++--常用的插件
国泰君安证券靠谱吗?开证券账户安全吗?
Tencent games released more than 40 products and projects, including 12 new games
Apache, IIS6 and ii7 independent IP hosts screen and intercept spider crawling (applicable to VPS virtual machine servers)
云成本优化有哪些优秀实践?
Notepad++--列编辑模式--用法/实例
RichView TRVStyle
More, faster, better and cheaper. Here comes the fastdeploy beta of the low threshold AI deployment tool!
[issue 21] face to face experience of golang engineer recruited by Zhihu Society
买股票应该下载什么软件最好最安全?
__getitem__和__setitem__
Ten reasons for system performance failure
"Everyday Mathematics" serial 53: February 21
2022 operation of simulated examination platform of special operation certificate examination question bank for safety management personnel of hazardous chemical business units
CI & CD 不可不知!
Severe Tire Damage:世界上第一个在互联网上直播的摇滚乐队
多快好省,低门槛AI部署工具FastDeploy测试版来了!
Redis cluster setup [simple]
R language penalty logistic regression, linear discriminant analysis LDA, generalized additive model GAM, multiple adaptive regression splines Mars, KNN, quadratic discriminant analysis QDA, decision