NumberConverter numberConverter = new NumberConverter();  registerConverter(Types.DATE,      new DateConverter()); registerConverter(Types.TIME,      new TimeConverter()); registerConverter(Types.TIMESTAMP, new TimestampConverter()); registerConverter(Types.BIGINT,    numberConverter); registerConverter(Types.BIT,       numberConverter); registerConverter(Types.DECIMAL,   numberConverter); registerConverter(Types.DOUBLE,    numberConverter); registerConverter(Types.FLOAT,     numberConverter); registerConverter(Types.INTEGER,   numberConverter); registerConverter(Types.NUMERIC,   numberConverter); registerConverter(Types.REAL,      numberConverter); registerConverter(Types.SMALLINT,  numberConverter); registerConverter(Types.TINYINT,   numberConverter);
registerConverter(Types.DATE,          new DateConverter()); registerConverter(Types.TIME,          new TimeConverter()); registerConverter(Types.TIMESTAMP,     new TimestampConverter()); registerConverter(Types.BIGINT,        numberConverter); registerConverter(Types.BIT,           numberConverter); registerConverter(Types.DECIMAL,       numberConverter); registerConverter(Types.DOUBLE,        numberConverter); registerConverter(Types.FLOAT,         numberConverter); registerConverter(Types.INTEGER,       numberConverter); registerConverter(Types.NUMERIC,       numberConverter); registerConverter(Types.REAL,          numberConverter); registerConverter(Types.SMALLINT,      numberConverter); registerConverter(Types.TINYINT,       numberConverter); registerConverter(Types.BINARY,        binaryConverter); registerConverter(Types.VARBINARY,     binaryConverter); registerConverter(Types.LONGVARBINARY, binaryConverter); registerConverter(Types.BLOB,          binaryConverter);
    public ConverterConfiguration()    {        NumberConverter numberConverter = new NumberConverter();        registerConverter(Types.DATE,      new DateConverter());        registerConverter(Types.TIME,      new TimeConverter());        registerConverter(Types.TIMESTAMP, new TimestampConverter());        registerConverter(Types.BIGINT,    numberConverter);        registerConverter(Types.BIT,       numberConverter);        registerConverter(Types.DECIMAL,   numberConverter);        registerConverter(Types.DOUBLE,    numberConverter);        registerConverter(Types.FLOAT,     numberConverter);        registerConverter(Types.INTEGER,   numberConverter);        registerConverter(Types.NUMERIC,   numberConverter);        registerConverter(Types.REAL,      numberConverter);        registerConverter(Types.SMALLINT,  numberConverter);        registerConverter(Types.TINYINT,   numberConverter);    }