04 2018 档案

mybatis的dao的注解
摘要:import com.jianwu.domain.metting.model.CallPreMember;import com.jianwu.domain.metting.model.CallPreMemberStatus;import org.apache.ibatis.annotations.* 阅读全文

posted @ 2018-04-25 15:39 小甜瓜安东泥 编辑

Java散列和散列码的实现
摘要:转自:https://blog.csdn.net/al_assad/article/details/52989525 散列和散列码 ※正确的equals方法应该满足的的条件: ①自反性:x.equals(x) 一定返回true; ②对称性:y.euqlas(x)为true,那么x.equals(y) 阅读全文

posted @ 2018-04-19 14:12 小甜瓜安东泥 编辑

java怎么计算散列码hashcode?
摘要:转自:https://blog.csdn.net/qq_21430549/article/details/52225801 1.从HashMap说起 我们知道Map以键值对的形式来存储数据。有一点值得说明的是,如果要使用我们自己的类作为键,我们必须同时重写hashCode() 和 equals()两 阅读全文

posted @ 2018-04-19 10:34 小甜瓜安东泥 编辑

延迟任务和循环任务ScheduledExecutorService
摘要:public class ScheduledThreadPool { public static ScheduledExecutorService scheduledThreadPool = Executors.newScheduledThreadPool(10);}、、、、、、、、、 Schedu 阅读全文

posted @ 2018-04-17 17:18 小甜瓜安东泥 编辑

java如何计算两个经纬度之间的距离?
摘要:/*计算两个经纬度之间的距离 结果单位:米 */public static double getDistance(String lat1Str, String lng1Str, String lat2Str, String lng2Str) { Double lat1 = Double.parseD 阅读全文

posted @ 2018-04-17 14:34 小甜瓜安东泥 编辑

java的list转map
摘要:companyList = companyManager.listByCompanyId(companyIds);departList = departManager.findByTree(departIds); Map<Long, SysCompany> companyMap = Maps.uni 阅读全文

posted @ 2018-04-17 13:34 小甜瓜安东泥 编辑

mybatis的oracle的in超过1000的写法
摘要:<if test="preIds != null and preIds.size() > 0"> AND PRE_ID IN <trim suffixOverrides=" OR PRE_ID IN ()"> <foreach collection='preIds' open='(' close=' 阅读全文

posted @ 2018-04-16 09:56 小甜瓜安东泥 编辑

mysql数据库如何设置表名大小写不敏感?
摘要:转自:https://blog.csdn.net/iefreer/article/details/8313839 在跨平台的程序设计中要注意到mysql的一些系统变量在windows和linux上的缺省值是不同的, 比如mysql表名称的大小写变量. 在windows上lower_case_tabl 阅读全文

posted @ 2018-04-13 15:12 小甜瓜安东泥 编辑

Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp;
摘要:转自:https://blog.csdn.net/u010466329/article/details/72846512 代码中查询MySQL的结果集时报错,提示Value ‘0000-00-00 00:00:00’ can not be represented as java.sql.Timest 阅读全文

posted @ 2018-04-13 14:18 小甜瓜安东泥 编辑

resolution will not be reattempted until the update interval of vas has elap
摘要:转自:http://kia126.iteye.com/blog/1785120 maven在执行过程中抛错: 引用 ... was cached in the local repository, resolution will not be reattempted until the update 阅读全文

posted @ 2018-04-08 11:04 小甜瓜安东泥 编辑

java.lang.IllegalArgumentException: Failed to decrypt.
摘要:加密失败。 附加信息: org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java 阅读全文

posted @ 2018-04-03 10:48 小甜瓜安东泥 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

统计

点击右上角即可分享
微信分享提示