莫大人

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 22 下一页

2017年7月14日

quartz自定义线程数

摘要: 1.加载包 2.添加quartz.propertes 3.编写自己的任务类 4.添加自动任务配置 5.通过 quartzProperties 配置连接池 1.加载包 2.添加quartz.propertes 从quartz.jar中copy一份quartz.properties 放在项目资源目录下 阅读全文

posted @ 2017-07-14 15:44 莫大人 阅读(7942) 评论(0) 推荐(0) 编辑

2017年7月6日

elk之elasticsearch安装

摘要: 环境: centos7 jdk8 参考: https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.htmlhttp://blog.csdn.net/wh211212/article/details/54015645 1. 阅读全文

posted @ 2017-07-06 17:58 莫大人 阅读(462) 评论(0) 推荐(0) 编辑

2017年7月2日

更改centos源为aliyun

摘要: 完全参考 http://mirrors.aliyun.com/help/centos?spm=5176.bbsr150321.0.0.d6ykiD 1、备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo. 阅读全文

posted @ 2017-07-02 16:47 莫大人 阅读(183) 评论(0) 推荐(0) 编辑

2017年6月21日

PropertiesUtil 读取properties

摘要: package com.midea.clean.util; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.URI; import java.util.Enumeration; import java.util.HashMap; import java.util.M... 阅读全文

posted @ 2017-06-21 21:19 莫大人 阅读(327) 评论(0) 推荐(0) 编辑

2017年6月19日

MERGE INTO 解决大数据量 10w 更新缓慢的问题

摘要: 有个同事处理更新数据缓慢的问题,数据量超10w的量,更新速度太慢耗时较长,然后改成了 MERGE INTO 效率显著提高。 使用方法如下 如: MERGE INTO TABLE_A USING (SELECT * FROM TABLE_C WHERE STUTAS=1 AND TYPE=11) TA 阅读全文

posted @ 2017-06-19 15:33 莫大人 阅读(5952) 评论(0) 推荐(0) 编辑

2017年6月5日

mybatis 异常 There is no getter for property named 'bizId' in 'class java.lang.Long'

摘要: mybatis 异常 There is no getter for property named 'bizId' in 'class java.lang.Long' 当使用mybatis进行传参的时候,参数只有一个时会出现这种类似的错误。 解决: 1.接口定义出,指定参数名 2.在xml 中指定类型 阅读全文

posted @ 2017-06-05 11:10 莫大人 阅读(404) 评论(0) 推荐(0) 编辑

2017年6月3日

powerdesigner导出sql时报错 Generation aborted due to errors detected during the verification of the model.

摘要: powerdesigner导出sql时报错 Generation aborted due to errors detected during the verification of the model. 解决方案 把检查模型的选项(Check Model)前的那个勾去掉即可,如图: 阅读全文

posted @ 2017-06-03 09:55 莫大人 阅读(683) 评论(0) 推荐(0) 编辑

powerdesigner远程连接数据库

摘要: 1. dabatase-->configure connections 2.新建连接 3.配置TNS连接测试 4.出现异常及处理 Could not Initialize JavaVM! 出现这个问题,powerdesigner需要配置32位jdk 处理: 系统变量:CLASSPATH = E:\W 阅读全文

posted @ 2017-06-03 09:52 莫大人 阅读(433) 评论(0) 推荐(0) 编辑

2017年5月30日

java 设计模式参考资料

摘要: 参考博客 http://www.cnblogs.com/lin3615/p/3783272.html https://github.com/me115/design_patterns https://design-patterns.readthedocs.io/zh_CN/latest/behavi 阅读全文

posted @ 2017-05-30 17:35 莫大人 阅读(111) 评论(0) 推荐(0) 编辑

2017年5月26日

spoon 更新数据

摘要: 一个小需求,被要求使用spoon 来同步数据 主要流程为: 1.查询A库未同步数据 id 2.根据步骤1查到的id,作为条件更新B库数据 3.更新B库数据成功则更改库A中的数据状态为已同步。 4.添加日志。 很简单,但是没有使用过spoon,还真不知道怎么弄。 1.获取安装包 https://pan 阅读全文

posted @ 2017-05-26 20:46 莫大人 阅读(1737) 评论(0) 推荐(0) 编辑

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 22 下一页

导航