Generate entity/repositroy for JPA/Lombok/Spring Data JPA.
166
stars
57
forks
source link
Plugin description
- Generate entity/repository class for JPA/Lombok/Spring Data JPA.
- Generate entity/repository class for JPA/Lombok/Spring Data JPA.
- Support internationalization. Currently supported languages are English, 简体中文.
- Support all databases.
- Support generate source code from Database plugin
- Support custom generate code template
- Available template directory
- Module template directory:
{module}/.idea/JPA Support/template
- Project template directory:
{project}/.idea/JPA Support/template
- Home template directory:
{user.home}/.JPA Support/template
- Available templates
- Controller.vm
- DTO.vm
- JpaEntity.vm
- JpaRepository.vm
- MapperXml.vm
- MybatisGenerateConfig.vm
- QueryVO.vm
- SaveVO.vm
- Service.vm
- Service-MybatisPlus.vm
- Service-TkMybatis.vm
- UpdateVO.vm
- Support custom db type mapping
- Mac: Command + N or Windows: Alt + Insert and select Jpa Entities
Guide
Active Plugin
-
Way 1 Generate JPA Entities
-
Way 2 -> Edit area right click Generate JPA Entities
Database
right click
IDEA Ultimate only
Hot key
- Mac:
Command + N
- Windows:
Alt + Insert
Usage
- Step 1
- Step 2
- Step 3
Other settings
- Custom template
- Custom type mapping
Related articles
- Use Tutorial Video YouTube
Sponsor