当前位置:网站首页>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>
边栏推荐
- Severe Tire Damage:世界上第一个在互联网上直播的摇滚乐队
- R language penalty logistic regression, linear discriminant analysis LDA, generalized additive model GAM, multiple adaptive regression splines Mars, KNN, quadratic discriminant analysis QDA, decision
- 基于流的深度生成模型
- Simple elk configuration to realize production level log collection and query practice
- ARM Development Studio build编译报错
- ADB double click the power key command
- Severe Tire Damage:世界上第一个在互联网上直播的摇滚乐队
- 无代码软件发展简史及未来趋势
- 建立自己的网站(17)
- Flask Foundation: template inheritance + static file configuration
猜你喜欢

R1 Quick Open Pressure Vessel Operation Special Operation Certificate Examination Library and Answers in 2022

Brief history and future trend of codeless software

Summary of software testing tools in 2021 - fuzzy testing tools

Basic operation of stack (implemented in C language)

剑指 Offer 47. 礼物的最大价值(DP)

Gateway微服务路由使微服务静态资源加载失败

多快好省,低门槛AI部署工具FastDeploy测试版来了!

空闲中断无法清除

Feign远程调用fallback回调失败,无效果

How to write concise code? (upper)
随机推荐
[today in history] June 23: Turing's birthday; The birth of the founder of the Internet; Reddit goes online
What are the good practices of cloud cost optimization?
导入Excel文件,解决跳过空白单元格不读取,并且下标前移的问题,以及RETURN_BLANK_AS_NULL报红
建立自己的网站(17)
service实现类里面为何一直报红
分布式事务—基于消息补偿的最终一致性方案(本地消息表、消息队列)
分布式事务TCC浅析
2022年R1快開門式壓力容器操作特種作業證考試題庫及答案
微信小程序中生成二维码
Thesis reading: General advantageous transformers
Severe Tire Damage:世界上第一个在互联网上直播的摇滚乐队
多快好省,低门槛AI部署工具FastDeploy测试版来了!
Is it safe to buy stocks and open an account through the account opening link of the broker manager? Want to open an account for stock trading
Severe Tire Damage:世界上第一个在互联网上直播的摇滚乐队
RichView TRVStyle TextStyles
分布式事务解决方案Seata-Golang浅析
What are the technologies to be mastered in the test? Database design for software testing
视频编解码性能优化与实现
栈的基本操作(C语言实现)
Question bank and answers of special operation certificate for R1 quick opening pressure vessel operation in 2022