摘要: mapper.xml文件 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-map 阅读全文
posted @ 2020-07-24 11:37 岁月染过的梦 阅读(226) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dt 阅读全文
posted @ 2020-07-24 11:00 岁月染过的梦 阅读(205) 评论(0) 推荐(0)
摘要: # Global logging configuration log4j.rootLogger=DEBUG, stdout # Console output... log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appende 阅读全文
posted @ 2020-07-24 10:49 岁月染过的梦 阅读(89) 评论(0) 推荐(0)
摘要: #数据库驱动 db.driverClassName=com.mysql.cj.jdbc.Driver #数据库的url连接地址 db.url=jdbc:mysql://localhost:3306/RUNOOB?useSSL=false&allowPublicKeyRetrieval=true&se 阅读全文
posted @ 2020-07-24 10:47 岁月染过的梦 阅读(182) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:sc 阅读全文
posted @ 2020-07-24 10:43 岁月染过的梦 阅读(151) 评论(0) 推荐(0)
摘要: /** * 模拟spring容器如何创建实例 * (1) 提供一个config.properties配置文件,在这个文件中配置接口和实现类对应关系 * EmpService=com.tedu.EmpServiceImpl * (2) 在当前类中读取 config.properties文件中的配置信息 阅读全文
posted @ 2020-07-24 10:40 岁月染过的梦 阅读(171) 评论(0) 推荐(0)