Stage 3 1.Mybatis_01.Mybatis course descriptions and environmental structures _05.mybatis environment to build - preparation



Check the right side of the video that are not



directly finish

with the following sql inside some table to achieve today's function


only need to use the inside of the user table.


This database has been built before



the tables are removed, use sql statement to create records in the table and the table, the final result:


Maven to create good works


are packaged, with the way that the jar package

add Mybits dependence, go to the official website of MyBatis

copied. Then you need to modify the version number inside

enter the number 3 will be prompt. Select the latest version 3.4.5


here will be more out Mybits tie packages

we are operating database also requires mysql package

must first log would also need to log package


Unit Testing: Junit






 

Guess you like

Origin www.cnblogs.com/wangjunwei/p/11297877.html