摘要: jar包 <!-- https://mvnrepository.com/artifact/cglib/cglib --><dependency> <groupId>cglib</groupId> <artifactId>cglib</artifactId> <version>3.1</version 阅读全文
posted @ 2020-02-11 23:38 Tsugar 阅读(142) 评论(0) 推荐(0) 编辑
摘要: jdbc.properties: mysql.driver=com.mysql.jdbc.Drivermysql.url=jdbc:mysql://localhost:3306/rbac2?serverTimezone=GMT&characterEncoding=UTF8mysql.username 阅读全文
posted @ 2020-02-11 23:13 Tsugar 阅读(1164) 评论(0) 推荐(0) 编辑
摘要: ehcache.xml: <?xml version="1.0" encoding="UTF-8"?><ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http: 阅读全文
posted @ 2020-02-11 18:23 Tsugar 阅读(525) 评论(0) 推荐(0) 编辑
摘要: mybatis-config.xml: <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd 阅读全文
posted @ 2020-02-11 18:21 Tsugar 阅读(168) 评论(0) 推荐(0) 编辑
摘要: generator.xml: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1. 阅读全文
posted @ 2020-02-11 18:19 Tsugar 阅读(228) 评论(0) 推荐(0) 编辑
摘要: log4j.properties: #配置根节点log4j.rootLogger=DEBUG,Log4jConsole#自定义#log4j.logger 自定义的日志级别#org.apache.ibatis 包名 我自定义日志的目的是为了打印xxx包下的日志#INFO 什么都看不到#WARN 可以看 阅读全文
posted @ 2020-02-11 18:18 Tsugar 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Ehcache Oscache Ehcache 先引入两个jar包 <!-- https://mvnrepository.com/artifact/org.ehcache/ehcache --><dependency> <groupId>org.ehcache</groupId> <artifact 阅读全文
posted @ 2020-02-11 18:15 Tsugar 阅读(207) 评论(0) 推荐(0) 编辑