A revolutionary ORM framework for both java and kotlin.
Apache License 2.0
876
stars
88
forks
source link
[BUG] When there is a nullable BigInteger type in the entity, an error occurs stating 'Cannot invoke "java.math.BigDecimal.toBigInteger()" because "decimal" is null' #658
From the code, it can be seen that after extracting a BigDecimal from the ResultSet, there is no null check before directly calling toBigInteger, which caused this problem.
Below is the definition of this entity:
Here is the code at the location of the error:
From the code, it can be seen that after extracting a BigDecimal from the ResultSet, there is no null check before directly calling
toBigInteger
, which caused this problem.