随笔分类 -  框架

摘要:配置文件 spring: datasource: driverClassName: com.mysql.cj.jdbc.Driver url: jdbc:mysql://${MYSQL_HOST:10.10.102.90}:${MYSQL_PORT:3306}/online_test_system? 阅读全文
posted @ 2022-08-15 15:05 isalo 阅读(346) 评论(0) 推荐(0) 编辑
摘要:use-default-filters = "true":表示默认扫描所有包,即controller,mapper,service等等,默认为true,一般在spring.xml里面与exclude-filter搭配使用,达到不注入controller的效果(一般在springMVC.xml里配置扫 阅读全文
posted @ 2020-07-15 18:51 isalo 阅读(184) 评论(0) 推荐(0) 编辑
摘要:大佬文章连接 阅读全文
posted @ 2020-05-19 12:33 isalo 阅读(829) 评论(0) 推荐(0) 编辑
摘要:1.引入 1.1 作用替我们生成常用增删改查操作的 SQL 语句。 1.2代码官方发布地址 https://gitee.com/free https://gitee.com/free/Mapper/wikis/1.1-java?parent=1.integration 1.3前置知识 MyBatis 阅读全文
posted @ 2019-10-28 21:19 isalo 阅读(305) 评论(0) 推荐(0) 编辑
摘要:1.创建一个maven工程,导入jar包,pom.xml的配置如下: <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope> 阅读全文
posted @ 2019-06-07 17:09 isalo 阅读(108) 评论(0) 推荐(0) 编辑
摘要:什么是Spring 据度娘所载:Spring是一个开源框架,Spring是于2003年兴起的一个轻量级的Java开发框架,由Rod Johnson创建。简单来说,Spring是一个分层的JavaSE/EEfull-stack(一站式)轻量级开源框架。 Spring的核心是控制反转(IoC)和面向切面 阅读全文
posted @ 2019-04-10 13:42 isalo 阅读(17) 评论(0) 推荐(0) 编辑