johnraychina
johnraychina
We need a more flexible and readable sharding key, that support multiple sharding dimensions, like "nation : db : table: partition". And we need to register a user-defined handler that...
#缘起 使用JSON.parseObject后发现,字符串“9295260120”变为 705325528 ` com.alibaba fastjson 1.2.54 ` #结论 经过DEBUG后发现:关键在929526012*10后,溢出了,整数最大21亿多:2,147,483,647 按理fastjson应该抛出异常才对,对比Jackson发现没这个问题。暂时先修改model class,改为Long类型。 # 详细debug分析过程:  1、  2、  。。。。 3、   4、  #关键在9295260120*10后,溢出了,整数最大21亿多:2,147,483,647  #Jackson会报溢出错误: 
### Description Cannot run program 'git.exe' : create Process error=2, can not find file. ### Version **GitHub Desktop version:0.9.1 **OS version: Windows 10 home version 1073 ### Steps to Reproduce...
报错截图和日志如下:  ` 2016-11-03 10:31:47,382 [http-bio-8080-exec-8] DEBUG [com.mucfc.abs.modules.gen.dao.GenTableColumnDao.deleteByGenTableId] - ==> Preparing: UPDATE gen_table_column SET del_flag = ? WHERE gen_table_id = ? 2016-11-03 10:31:47,382 [http-bio-8080-exec-8] DEBUG [com.mucfc.abs.modules.gen.dao.GenTableColumnDao.deleteByGenTableId] - ==> Parameters: 40054eb3acbc412190de0501bbaa85f3(String),...
实体类里面多了一行代码: import org.hibernate.validator.constraints.Length(min=0, max=45, message="未偿期数; 可能是因为数据库字段定义了varchar(45)导致的: ` @Length(min=0, max=45, message="未偿期数(月)长度必须介于 0 和 45 之间") public String getUnpaidTerm() { return unpaidTerm; }` 数据库建表语句: ` CREATE TABLE `asset` ( `id` varchar(64) COLLATE...