Fork me on GitHub
摘要: sb_mybatis /* Navicat MySQL Data Transfer Source Server : 阿里云 Source Server Version : 50724 Source Host : youxiu326.xin:3306 Source Database : mybatis 阅读全文
posted @ 2019-03-01 13:54 youxiu326 阅读(425) 评论(1) 推荐(0) 编辑
摘要: sb_mybatis <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta 阅读全文
posted @ 2019-03-01 13:39 youxiu326 阅读(291) 评论(0) 推荐(0) 编辑
摘要: mybatis执行流程 1. 加载配置文件并初始化(SqlSession) 配置文件来源于两个地方,一个是配置文件(主配置文件conf.xml,mapper文件*.xml), 一个是java代码中的注释,将sql的配置信息加载成为一个mappedstatement对象,存储在内存之中(包括传入参数的 阅读全文
posted @ 2019-03-01 13:24 youxiu326 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 博客: https://www.cnblogs.com/youxiu326/p/shiro-01.html github:https://github.com/youxiu326/sb_shiro_session.git 在原有基础上添加 SimpleFormAuthenticationFilter 阅读全文
posted @ 2019-02-28 17:57 youxiu326 阅读(4087) 评论(0) 推荐(1) 编辑
摘要: sb_shiro_session <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema 阅读全文
posted @ 2019-02-28 17:13 youxiu326 阅读(1430) 评论(0) 推荐(0) 编辑
摘要: sb_mybatis_puls2.3 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSche 阅读全文
posted @ 2019-02-28 13:48 youxiu326 阅读(446) 评论(0) 推荐(0) 编辑
摘要: sb-cloud-config 配置中心 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSc 阅读全文
posted @ 2019-02-28 10:51 youxiu326 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 后台运行jar包方法:1、nohup java -jar shareniu.jar &nohup意为后台不挂断运行,与是否账号退出无关2、nohup java -jar shareniu.jar >spring.log &后台运行,并将相关日志输出到spring.lo... 阅读全文
posted @ 2019-02-27 10:15 youxiu326 阅读(4798) 评论(0) 推荐(0) 编辑
摘要: 项目结构 sb_cloud_product <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLS 阅读全文
posted @ 2019-02-26 16:57 youxiu326 阅读(162) 评论(0) 推荐(0) 编辑
摘要: eureka是一个高可用的组件,它没有后端缓存,每一个实例注册之后需要向注册中心发送心跳,在默认情况下erureka server也是一个eureka client ,必须要指定一个 serve <dependency> <groupId>org.springframework.cloud</gro 阅读全文
posted @ 2019-02-26 16:43 youxiu326 阅读(207) 评论(0) 推荐(0) 编辑