When programming in java, the variables in the entity class need to be the same as the field names in the database

When programming in java, the variables in the entity class need to be the same as the field names in the database.
If they are different, the program will run out and the information in that field will not be found at all, because there is no correspondence, and the result will be null. If The name is the same, but if the data type is not corresponding, an error will be reported.

Guess you like

Origin blog.csdn.net/qq_49249150/article/details/123647994