Every time use mybatis generate, do not like his that abruptly naming way, later project development need to get a code generator, the fact that automation speed up their own project development, only used three months to carry the map of the network linut5.com, today collocation Jrdapei.com two projects can be developed as scheduled. Use Springmvc +mybatis. You can build your favorite DAO layer, service layer, and controller layer according to the template. DAO layer inside the method can be according to your preferences to name, the source code has been fully open.
The Codeutil.java in the test directory is the method entry that generates the code cengle_config.properties this is the file card structure that generates the code cengle_database.properties this is the database configuration file Sys_ Config.sql This is the SQL of a sysconfig class used in my code. Users can define their own sys_config according to their own needs.
In fact, it is quite simple, as long as a run to know. How can a person with such a need be afraid of this little trouble? Study is to learn the strengths of others, and then share their good side.
Collation of the relatively rough, the code to share to everyone, "Source Address acquisition"
SPRINGMVC +mybatis Code Generator