isSizeCompatible() ideally does not check if the maxLength is crossed for data types like DOUBLE, FLOAT etc.
So from the expresion if we get a maxLength then for those elements alone we could check, for all others we could return null only? So i would do this for INTEGER, LONG, CHAR and DECIMAL alone?