可以直接使用BigInteger类型进行接收, BigInteger id = (BigInteger)QueryRunner(conn,"SELECT LAST_INSERT_ID",new Scala) java.math.BigInteger cannot be cast to java.lang.Long 相关文章: 2021-11-05 2022-12-23 2021-08-31 2021-09-08 2021-12-28 2022-12-23 2021-06-05 2021-08-05