当前位置:网站首页>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>
边栏推荐
- 音视频技术开发周刊 | 251
- 2022 safety officer-c certificate examination question bank simulated examination platform operation
- 腾讯游戏发布40多款产品与项目 其中12款为新游戏
- ETCD数据库源码分析——集群间网络层服务端RaftHandler
- __getitem__和__setitem__
- 暴雨去哪儿?天气预报不准谁的锅?
- 2022安全员-C证考试题库模拟考试平台操作
- Simple elk configuration to realize production level log collection and query practice
- Basic flask: template rendering + template filtering + control statement
- Mysql database operation - stored procedure, view, transaction, index, database backup
猜你喜欢
【PaddleDetection】ModuleNotFoundError: No module named ‘paddle‘
Artifact for converting pcap to JSON file: joy (installation)
Review the submission of small papers for 2022 spring semester courses
Severe Tire Damage:世界上第一个在互联网上直播的摇滚乐队
Le routage des microservices de la passerelle a échoué au chargement des ressources statiques des microservices
2022安全员-C证考试题库模拟考试平台操作
Arduino esp8266 web LED control
Redis搭建集群【简单】
Summary of software testing tools in 2021 - fuzzy testing tools
栈的基本操作(C语言实现)
随机推荐
嵌入式DSP音频开发
【活动早知道】LiveVideoStack近期活动一览
Yes, it's about water
PPT制作小技巧
新手开哪家的证券账户是比较好?炒股开户安全吗
Gateway微服务路由使微服务静态资源加载失败
apache、iis6、ii7独立ip主机屏蔽限制ip访问
测试要掌握的技术有哪些?软件测试必懂的数据库设计大全篇
在牛客中使用JS编程题【split】
Dataloader参数collate_fn的使用
be fond of the new and tired of the old? Why do it companies prefer to spend 20K on recruiting rather than raise salaries to retain old employees
Opencv -- geometric space transformation (affine transformation and projection transformation)
RichView TRVStyle
CI & CD 不可不知!
Basic operation of stack (implemented in C language)
[today in history] June 24: Netease was established; The first consumer electronics exhibition was held; The first webcast in the world
读书,使人内心宁静
文件的相对路径写法
[plug in -statistical] statistics the number of code lines and related data
Question bank and answers of special operation certificate for R1 quick opening pressure vessel operation in 2022