https://github.com/carter-ya/idea-plugin-jpa-support
Generate entity/repositroy for JPA/Lombok/Spring Data JPA.
https://github.com/carter-ya/idea-plugin-jpa-support
generator idea-plugin jpa-entities
Last synced: about 2 months ago
JSON representation
Generate entity/repositroy for JPA/Lombok/Spring Data JPA.
- Host: GitHub
- URL: https://github.com/carter-ya/idea-plugin-jpa-support
- Owner: carter-ya
- License: apache-2.0
- Created: 2018-05-06T12:49:07.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-12-13T09:16:04.000Z (3 months ago)
- Last Synced: 2025-12-14T23:36:28.277Z (3 months ago)
- Topics: generator, idea-plugin, jpa-entities
- Language: Java
- Size: 9.7 MB
- Stars: 171
- Watchers: 6
- Forks: 59
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
- [English](README.md)
- [中文文档](README_zh.md)
# 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
1. Way 1 `Generate JPA Entities`

2. Way 2 -> Edit area right click `Generate JPA Entities`

3. `Database` right click

> IDEA Ultimate only
4. `Hot key`
- Mac: `Command + N`
- Windows: `Alt + Insert`
## Usage
1. Step 1

2. Step 2

3. Step 3

## Other settings
1. Custom template

2. Custom type mapping

## Related articles
1. [Use Tutorial Video YouTube](https://www.youtube.com/watch?v=CynidTePOys)
## Sponsor
