摘要: 触发器 在当前的表上,设置一个对每行数据的一个监听器,监听相关事件,每当事件触发时,就会执行一段由sql完成的一段功能代码 触发事件: insert, delete, update new old : 针对的是触发的那张表 on 表名 insert : 没有 old 有new 【对于插入,插入之前什 阅读全文
posted @ 2018-12-13 10:12 toughzcf 阅读(6991) 评论(0) 推荐(0) 编辑
摘要: SpringBoot 2.0 开始推 HikariCP ,将默认的数据库连接池从 tomcat jdbc pool 改为了 hikari , HikariCP 在性能和并发方面确实表现不俗(号称最快的连接池)。 如果你使用 spring-boot-starter-jdbc 或 spring-boo 阅读全文
posted @ 2018-11-22 17:04 toughzcf 阅读(14677) 评论(2) 推荐(1) 编辑
摘要: JaxWsDynamicClientFactorydcf=JaxWsDynamicClientFactory.newInstance();StringwsUrl="http://www.xxx.com/order.service?wsdl";Clientclient=dcf.createClient 阅读全文
posted @ 2018-11-20 11:51 toughzcf 阅读(2796) 评论(0) 推荐(0) 编辑
摘要: 使用springboot 线程池连接MySQL时,mysql数据库wait_timeout 为8个小时,所以程序第二天发现报错,在url配置了 autoReconnect=true 也不行,查询配置以下 spring.datasource.primary.url=jdbc\:mysql\://loc 阅读全文
posted @ 2018-10-23 11:59 toughzcf 阅读(12151) 评论(0) 推荐(0) 编辑
摘要: 摘要:springboot1.x到springboot2.0配置变化有一点变化,网上关于springboot2.0配置多数据源的资料也比较少,为了让大家配置多数据源从springboot1.x升级到springboot2.0少踩写坑,博主在此介绍用springboot2.0来进行动态数据源切换。(在 阅读全文
posted @ 2018-10-16 17:25 toughzcf 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 步骤一:邮箱授权 要使用kettle发送邮件,必须配置你的发件邮箱,因此要得到授权,我用的是163邮箱,就拿163邮箱来举例 1.登录你的邮箱选择设置下的POP3/SMTP/IMAP 选择 POP3/SMTP/IMAP 2.设置授权密码:在邮箱的左侧找到“客户端授权密码”,点击“开启”设置授权密码( 阅读全文
posted @ 2018-09-27 17:55 toughzcf 阅读(9800) 评论(0) 推荐(0) 编辑
摘要: 推荐几个不错的VUE UI框架 1.vue vux:http://vuematerial.com/#/ 2.mint mint:http://mint-ui.github.io/#!/zh-cn 3.vue-carbon vue-carbon:https://myronliu347.github.i 阅读全文
posted @ 2018-09-13 15:58 toughzcf 阅读(2585) 评论(0) 推荐(0) 编辑
摘要: 一、绑定数据 阅读全文
posted @ 2018-09-13 15:06 toughzcf 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 首先需要准备jdk 、maven 、eclipse 、tomcat。具体安装步骤请参考其它。 说明:我们solrcenter-war 最后作为最终的部署项目,并且使他依赖于模块(solrcenter-common、solrcentr-core) 1、首先需要创建第一个maven项目(说明:可以随意在 阅读全文
posted @ 2018-09-13 08:56 toughzcf 阅读(1358) 评论(0) 推荐(0) 编辑
摘要: 选中pom.xml文件,run as -》maven build 在goals中输入:install:install-file -Dfile=D:\11jar\aspectjrt-1.7.4.jar -DgroupId=org.aspectj -DartifactId=aspectjrt -Dver 阅读全文
posted @ 2018-09-12 16:14 toughzcf 阅读(750) 评论(0) 推荐(0) 编辑