Generate entity classes through idea

Generate entity classes through idea without configuration files

Step 1:
Insert picture description here
Step 2: Click to open this interface, fill in the database address, user name, and password, and then click test connection, the following icon appears to indicate completion. url: Need to splice after the database name:?Unicode=true&serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
Insert picture description here
Step 3: The database table will appear, and then right-click:
Insert picture description here
Step 4: Then fill in the path of the entity class that needs to be generated:
Insert picture description here
(o゜▽゜)o☆[BINGO!]

Guess you like

Origin blog.csdn.net/qq_32115447/article/details/114314530