[记录]java.math.biginteger cannot be cast to java.lang.long

可以直接使用BigInteger类型进行接收,

BigInteger id = (BigInteger)QueryRunner(conn,"SELECT LAST_INSERT_ID",new Scala)

 

 

java.math.BigInteger cannot be cast to java.lang.Integer

java.math.BigInteger cannot be cast to java.lang.Long

posted @ 2016-03-12 19:37  五毛钱的饼  阅读(645)  评论(0编辑  收藏  举报