In the folder of mybatis-generator, you can find generator.xml and mybatis-generator-core-1.3.2.jar.
Download these two files in the folder of C:\mybatis, and run the following command:
java -jar mybatis-generator-core-1.3.2.jar -configfile generator.xml -overwrite
Then Java POJOs that match the table structure will be generated.
请发表评论