该文被密码保护。 阅读全文
posted @ 2018-09-03 18:43 渔阳nice 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 二、下载软件 JDK,Scala,SBT,Maven 版本信息如下: JDK jdk-7u79-linux-x64.gz Scala scala-2.10.5.tgz 三、解压上述文件并进行环境变量配置 # cd /usr/local/ # tar xvf /root/jdk-7u79-linux- 阅读全文
posted @ 2018-08-29 18:23 渔阳nice 阅读(995) 评论(0) 推荐(0) 编辑
摘要: 转自https://blog.csdn.net/q6834850/article/details/73726707?tdsourcetag=s_pctim_aiomsg 采用JDBC批处理(开启事务、无事务) 采用JDBC批处理时需要注意一下几点: 1、在URL连接时需要开启批处理、以及预编译 St 阅读全文
posted @ 2018-08-17 09:55 渔阳nice 阅读(2558) 评论(1) 推荐(0) 编辑
摘要: Application配置spring.datasource.url=jdbc:postgresql://***:5432/postgresspring.datasource.username=postgresspring.datasource.password=123456spring.datas 阅读全文
posted @ 2018-08-14 17:34 渔阳nice 阅读(5529) 评论(1) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/zhu_xun/article/details/21234663 参考:https://www.cnblogs.com/jimcsharp/p/8576766.html 阅读全文
posted @ 2018-08-08 14:33 渔阳nice 阅读(139) 评论(1) 推荐(0) 编辑
摘要: package com.weiresearch.properties;import com.fasterxml.jackson.annotation.JsonInclude;import com.fasterxml.jackson.core.JsonGenerator;import com.fast 阅读全文
posted @ 2018-08-07 18:56 渔阳nice 阅读(6584) 评论(0) 推荐(1) 编辑
摘要: 转自 https://blog.csdn.net/sweettool/article/details/72677784 一、首先下载SublimePrettyJson插件包 https://github.com/dzhibas/SublimePrettyJson 二、将下载的文件解压放到在windo 阅读全文
posted @ 2018-08-01 10:46 渔阳nice 阅读(7668) 评论(0) 推荐(2) 编辑
摘要: select a.lng,a.lat from (select row_number() over ( partition by uid,grid_id) as rnum,weighted_centroid_lon as lng,weighted_centroid_lat lat from resu 阅读全文
posted @ 2018-07-26 16:29 渔阳nice 阅读(878) 评论(0) 推荐(0) 编辑
摘要: 1、初始化为有序json对象 JSONObject jsonOrdered= new JSONObject(true); 2、将String对象转换过程中,不要调整顺序 JSONObject jsonOrdered = JSONObject.parseObject(jsonString, Featu 阅读全文
posted @ 2018-07-25 10:49 渔阳nice 阅读(795) 评论(0) 推荐(0) 编辑
摘要: 转自 https://blog.csdn.net/qq_36523667/article/details/78779272 这里需要一个很好的例子,这里先拿网上流传的例子作为反例。 问题1:不符合勾股定理 AC=3,CB=2,AB=6 难道这样真的无伤大雅吗?假设你的起点是A,终点是B,难道不应该是 阅读全文
posted @ 2018-06-27 19:37 渔阳nice 阅读(352) 评论(0) 推荐(0) 编辑