2016年8月30号
来源:互联网 发布:spss如何输入数据 编辑:程序博客网 时间:2024/05/22 15:52
1:上周末早上五点开始等待心仪的楼盘开盘,苦苦的等待了7个多小时。从五点半等到7:30才让进入了会展中心内部。然后等到8:45开始进行开场仪式。9:00开始选房。一直紧张了4个半小时到下午1:30,也没能被抽到,没有机会去选择房子。还冻感冒了。昨天没写。
2: 主要的内容如下:
mysql 表格的命名Geology.class是不行的,应该命名为Geology_class.
从mongoDB读取的数据类型是int64,用java读取的时候应该为long型,存储的时候应该为bigint型。
数据日期的转换
public static String changeDate(Long it){DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");Calendar calendar = Calendar.getInstance();calendar.setTimeInMillis(it);String str=formatter.format(calendar.getTime());return str;}
判断数据是否为空的方法
for (int i = 0; i < list.size(); i++) { Document dc = list.get(i); if ( dc.get("op_length") != null ) { pre.setInt(4, changeInt(dc.getInteger("op_length"))); } else { pre.setInt(4, 0); }
3:关于数据库读写分离的概念和实现方法,别人总结的很好,自己就引用吧,详细见下面的链接
点击打开链接 ,点击打开链接
见链接点击打开链接 ,点击打开链接
0 0
- 2016年8月30号
- 2016年8月
- 2016年7月30号
- 2016年8月8号
- 2010年8月30号
- 2016年8月1号
- 2016年8月2号
- 2016年8月3号
- 2016年8月5号
- 2016年8月9号
- 2016年8月10号
- 2016年8月11号
- 2016年8月12号
- 2016年8月15号
- 2016年8月16号
- 2016年8月17号
- 2016年8月19号
- 2016年8月22号
- 移动宽带之优化
- 错误 1 error MSB8008: 指定的平台工具集(v110)未安装或无效。请确保选择受支持的 PlatformToolset 值
- 从 __proto__ prototype 说起
- 适配器模式(Adapter Class/Object)
- 《JAVA与模式》之适配器模式
- 2016年8月30号
- js点击事件demo
- 从零基础接触java第七周第二节
- Intellij Idea @Autowired取消提示
- js闭包使用及建议
- WebStorm快捷键操作
- >LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏
- Codeforces Problem 711A Bus to Udayland(brute force+implementation)
- 软件工程师的好习惯