[记录]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