public String convertToString(Object obj, int sqlTypeCode) throws Exception
public String convertToString(Object obj, int sqlTypeCode) throws ConversionException
    public String convertToString(Object obj, int sqlTypeCode) throws Exception    {        if (obj == null)        {            return null;        }        else if (sqlTypeCode == Types.BIT)        {            return ((Boolean)obj).booleanValue() ? "1" : "0";        }        else        {            return obj.toString();        }    }