[Opensource] Fix for quoteIfNeeded method in DBObject
Michael Rimov
rimovm at centercomp.com
Tue Aug 20 14:03:39 PDT 2002
At 07:59 AM 8/20/2002 -0600, you wrote:
>I don't think is the fix. The core problem is around this piece of code
>in the same method
>
>if (oneField.isNumericType()) {
> if (fieldValue.equals("")) {
> return "0";
> }
Kris,
Take a look at the code above that however,
if (rangeString != null) {
fieldValue = fieldValue.substring(rangeString.length());
} else {
if (isFieldNull(fieldName)) {
return null;
}
}
That should take care of it shouldn't it??
-Mike
More information about the Opensource
mailing list