时间:2021-07-01 10:21:17 帮助过:4人阅读
增加jar
然后,做demo
1. sql
CREATE TABLE persons (
id int NOT NULL AUTO_INCREMENT ,
name varchar (50) ,
PRIMARY KEY (id))AUTO_INCREMENT=1;
2. java project
(1) Create new Java Project
(2) Add new folder “lib”
(3) Copy all jars to “lib” folder
(4) Add jar file to java build path
3. Modify config.xml
In the "dataSource", the user name and password, into your own.
参考文章:
1. Spring + myBatis (XML)
Spring + myBatis (XML) + mySQL
标签:images lib tab mod use http auto 技术 key