Generate entity classes through idea without configuration files
Step 1:
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
Step 3: The database table will appear, and then right-click:
Step 4: Then fill in the path of the entity class that needs to be generated:
(o゜▽゜)o☆[BINGO!]