2019年8月15日
摘要: <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.0.2.RELEASE</version> </dependen 阅读全文
posted @ 2019-08-15 16:42 耿耿、余淮 阅读(427) 评论(0) 推荐(0)
摘要: <dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.6</version> </dependency> <dependency> 阅读全文
posted @ 2019-08-15 16:40 耿耿、余淮 阅读(3561) 评论(0) 推荐(0)
摘要: sqlMappConfig.xml 配置数据库,映射文件路径,开启注解 阅读全文
posted @ 2019-08-15 16:38 耿耿、余淮 阅读(222) 评论(0) 推荐(0)
摘要: sqlMappConfig.xml配置文件 配置数据库查询语句的创建 阅读全文
posted @ 2019-08-15 16:35 耿耿、余淮 阅读(175) 评论(0) 推荐(0)
摘要: 安全框架登录验证public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException { SysUser sysUser = sysUserDao.findUserByUsername(user 阅读全文
posted @ 2019-08-15 16:20 耿耿、余淮 阅读(394) 评论(0) 推荐(0)
摘要: 配置文件<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta 阅读全文
posted @ 2019-08-15 16:18 耿耿、余淮 阅读(618) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2019-08-15 16:14 耿耿、余淮 阅读(1149) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2019-08-15 16:13 耿耿、余淮 阅读(1382) 评论(0) 推荐(0)
摘要: <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.tar 阅读全文
posted @ 2019-08-15 15:51 耿耿、余淮 阅读(1281) 评论(0) 推荐(0)
摘要: 引用依赖<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.hibernate.version>5.0.7.Final</project.hibernate.version> 阅读全文
posted @ 2019-08-15 15:43 耿耿、余淮 阅读(432) 评论(0) 推荐(0)