Skip to content

Generate java Entity from database tables(Idea 社区版插件,从数据库表生成Java实体)

Notifications You must be signed in to change notification settings

SShnoodles/db2j-ce-idea-plugin

Repository files navigation

Db2j-CE idea plugin

Features:Select database tables to generate java files.

Support:

  • entity class
  • repository interface

Idea Version:Community 2019.1+

Plugin Site

Plugin Installation:

  • Marketplace:
    • Preferences > Plugins > Marketplace > Search for "Db2j-CE" > Install Plugin
  • Manual:
    • Download the jar and install it manually using Preferences > Plugins > Install plugin from disk...

Update log

1.0.5 Community 2019.1+

  • Fixed Duplicate imports
  • Fixed Duplicate columns

1.0.3 Community 2019.1+

  • Added Schemas to Database Tree

1.0.2 Community 2019.1+

  • Fixed windows url error

1.0.1 Community 2019.1+

  • Support select columns

1.0.0 Community 2018.1+

  • Support entity class、repository interface

Quick Start

Open plugin from Tools > Db2j-CE

  1. Enter Database Info
  2. Load Database Tables
  3. Enter Out Path
  4. Select the tables
  5. Select the templates

image

Dependencies

Jdbc Driver version

implementation group: 'org.postgresql', name: 'postgresql', version: '42.2.19'
implementation group: 'mysql', name: 'mysql-connector-java', version: '8.0.24'
implementation group: 'com.oracle.database.jdbc', name: 'ojdbc8', version: '21.1.0.0'

Reference projects

About

Generate java Entity from database tables(Idea 社区版插件,从数据库表生成Java实体)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages