You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Maybe the method Types.isCountable is wrong?
The code is :
public boolean isCountable() {
return this == IntegerType || this == integerType || this == LongType || this == longType || this == byteType || this == ByteType
|| this == ShortType || this == shortType || this == DoubleType || this == doubleType || this == BigDecimalType;
}
DoubleType, doubleType and BigDecimalType seem to be included by mistake , and BigInteger seems to be missing.
Of course, maybe you have your reasons, but in that case please write them.
Thanks for this project! Great idea and compact implementation!
The text was updated successfully, but these errors were encountered:
Thanks! Yeah, this method is too vague. It's only used to test if you map an autoinc to something sensible. Now I realize that it's kind of silly anyway. Autoinc to Byte? I'll fix this - it should really only test for long or integer. Those are the only sensible mappings.
Thanks for this project! Great idea and compact implementation!
Thanks. Please star it. Maybe it can trend eventually. :)
Describe the bug
Maybe the method Types.isCountable is wrong?
The code is :
DoubleType, doubleType and BigDecimalType seem to be included by mistake , and BigInteger seems to be missing.
Of course, maybe you have your reasons, but in that case please write them.
Thanks for this project! Great idea and compact implementation!
The text was updated successfully, but these errors were encountered: