springboot+mybatis+mysql+thymeleaf 实现最基本数据库操作demo

上传者: 44833623 | 上传时间: 2019-12-21 21:52:05 | 文件大小: 17.25MB | 文件类型: zip
使用springboot框架引入mybatis连接mysql数据库(xml和注解两种方式实现sql语句),最后用thymeleaf展示数据。

文件下载

资源详情

[{"title":"( 66 个子文件 17.25MB ) springboot+mybatis+mysql+thymeleaf 实现最基本数据库操作demo","children":[{"title":"mybatis_demo","children":[{"title":"demo","children":[{"title":".gitignore <span style='color:#111;'> 285B </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 772B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"templates","children":null,"spread":false},{"title":"static","children":[{"title":"js","children":[{"title":"jquery.min.js <span style='color:#111;'> 82.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.html <span style='color:#111;'> 256B </span>","children":null,"spread":false}],"spread":true},{"title":"application.properties <span style='color:#111;'> 463B </span>","children":null,"spread":false},{"title":"mapper","children":[{"title":"PersonMapper.xml <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"demo","children":[{"title":"entity","children":[{"title":"Person.java <span style='color:#111;'> 346B </span>","children":null,"spread":false}],"spread":true},{"title":"dao","children":[{"title":"PersonDao.java <span style='color:#111;'> 137B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"MyController.java <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false}],"spread":false},{"title":"DemoApplication.java <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":"mapper","children":[{"title":"PersonMapper.java <span style='color:#111;'> 414B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"demo","children":[{"title":"DemoApplicationTests.java <span style='color:#111;'> 331B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"HELP.md <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":"build","children":[{"title":"classes","children":[{"title":"java","children":[{"title":"main","children":[{"title":"com","children":[{"title":"example","children":[{"title":"demo","children":[{"title":"controller","children":[{"title":"MyController.class <span style='color:#111;'> 819B </span>","children":null,"spread":false}],"spread":false},{"title":"DemoApplication.class <span style='color:#111;'> 704B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"com","children":[{"title":"example","children":[{"title":"demo","children":[{"title":"DemoApplicationTests.class <span style='color:#111;'> 622B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"reports","children":[{"title":"tests","children":[{"title":"test","children":[{"title":"classes","children":[{"title":"com.example.demo.DemoApplicationTests.html <span style='color:#111;'> 49.92KB </span>","children":null,"spread":false}],"spread":true},{"title":"js","children":[{"title":"report.js <span style='color:#111;'> 5.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"packages","children":[{"title":"com.example.demo.html <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false}],"spread":false},{"title":"css","children":[{"title":"base-style.css <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"style.css <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false}],"spread":false},{"title":"index.html <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"generated","children":[{"title":"sources","children":[{"title":"annotationProcessor","children":[{"title":"java","children":[{"title":"main","children":null,"spread":false},{"title":"test","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"resources","children":null,"spread":false},{"title":"test-results","children":[{"title":"test","children":[{"title":"TEST-com.example.demo.DemoApplicationTests.xml <span style='color:#111;'> 48.09KB </span>","children":null,"spread":false},{"title":"binary","children":[{"title":"results.bin <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"output.bin.idx <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"output.bin <span style='color:#111;'> 47.96KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"demo-0.0.1-SNAPSHOT.jar <span style='color:#111;'> 17.38MB </span>","children":null,"spread":false},{"title":"demo-0.0.1-SNAPSHOT.jar.original <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"tmp","children":[{"title":"compileTestJava","children":null,"spread":false},{"title":"compileJava","children":null,"spread":false},{"title":"jar","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 25B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"gradlew <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"out","children":[{"title":"production","children":[{"title":"classes","children":[{"title":"META-INF","children":[{"title":"com.example.demo.main.kotlin_module <span style='color:#111;'> 16B </span>","children":null,"spread":false}],"spread":true},{"title":"com","children":[{"title":"example","children":[{"title":"demo","children":[{"title":"entity","children":[{"title":"Person.class <span style='color:#111;'> 744B </span>","children":null,"spread":false}],"spread":false},{"title":"dao","children":[{"title":"PersonDao.class <span style='color:#111;'> 176B </span>","children":null,"spread":false}],"spread":false},{"title":"controller","children":[{"title":"MyController.class <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false}],"spread":false},{"title":"mapper","children":[{"title":"PersonMapper.class <span style='color:#111;'> 474B </span>","children":null,"spread":false}],"spread":false},{"title":"DemoApplication.class <span style='color:#111;'> 792B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"resources","children":[{"title":"static","children":[{"title":"index.html <span style='color:#111;'> 256B </span>","children":null,"spread":false}],"spread":true},{"title":"application.properties <span style='color:#111;'> 463B </span>","children":null,"spread":false},{"title":"mapper","children":[{"title":"PersonMapper.xml <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"gradlew.bat <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":".gradle","children":[{"title":"3.5.1","children":[{"title":"taskHistory","children":[{"title":"taskHistory.lock <span style='color:#111;'> 17B </span>","children":null,"spread":false}],"spread":true},{"title":"file-changes","children":[{"title":"last-build.bin <span style='color:#111;'> 1B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"5.2.1","children":[{"title":"javaCompile","children":[{"title":"taskHistory.bin <span style='color:#111;'> 38.39KB </span>","children":null,"spread":false},{"title":"classAnalysis.bin <span style='color:#111;'> 5.22MB </span>","children":null,"spread":false},{"title":"jarAnalysis.bin <span style='color:#111;'> 2.25MB </span>","children":null,"spread":false},{"title":"javaCompile.lock <span style='color:#111;'> 17B </span>","children":null,"spread":false}],"spread":false},{"title":"gc.properties <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"fileContent","children":[{"title":"fileContent.lock <span style='color:#111;'> 17B </span>","children":null,"spread":false}],"spread":false},{"title":"executionHistory","children":[{"title":"executionHistory.bin <span style='color:#111;'> 92.58KB </span>","children":null,"spread":false},{"title":"executionHistory.lock <span style='color:#111;'> 17B </span>","children":null,"spread":false}],"spread":false},{"title":"fileHashes","children":[{"title":"fileHashes.bin <span style='color:#111;'> 21.82KB </span>","children":null,"spread":false},{"title":"fileHashes.lock <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"resourceHashesCache.bin <span style='color:#111;'> 21.85KB </span>","children":null,"spread":false}],"spread":false},{"title":"vcsMetadata-1","children":null,"spread":false},{"title":"fileChanges","children":[{"title":"last-build.bin <span style='color:#111;'> 1B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"buildOutputCleanup","children":[{"title":"built.bin <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"cache.properties.lock <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"cache.properties <span style='color:#111;'> 53B </span>","children":null,"spread":false}],"spread":false},{"title":"vcs-1","children":[{"title":"gc.properties <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 338B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 17.37KB </span>","children":null,"spread":false},{"title":"gradle.xml <span style='color:#111;'> 669B </span>","children":null,"spread":false}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 53.43KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":false},{"title":"readme.txt <span style='color:#111;'> 99B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • wangxuezheng88 :
    死骗子,出门最好给车撞死[face]emoji:047.png[/face]
    2021-09-10

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明