摘要: 在js中传值的时候。尤其是int类型容易溢出。要用‘’引起。当成字符串来传递。 用的JQuery的ajax传值。超链.action?a=b&c=d;也一样。dataMap.put("distributeId", list.get(6));否则mid=4456456456456456 传出后变成4456456456456000dataMap.put("distributeId", String.valueOf(list.get(6)));正常mid=4456456456456456 传出后变成4456456456456456所以int,long等类 阅读全文
posted @ 2013-11-27 17:30 keia 阅读(252) 评论(0) 推荐(0) 编辑
摘要: ERROR [org.hibernate.jdbc.AbstractBatcher] - Exception executing batch: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:85)Caused by: org 阅读全文
posted @ 2013-11-27 12:40 keia 阅读(266) 评论(0) 推荐(0) 编辑