@Test public void testTranslate() throws Exception { JdbcResultRow row = new JdbcResultRow(); row.setFieldValue("testField", Integer.valueOf(1), Types.INTEGER); { String translated = translate(row, 0); assertEquals("1", translated); } }
public static String translate(JdbcResultRow rs, int column) throws Exception { ColumnTranslator ct = AUTOMATIC_COLUMN_TRANSLATORS.getOrDefault(rs.getFieldType(column), DEFAULT_TRANSLATOR); return ct.translate(rs, column); }
ColumnHelper { public static String translate(JdbcResultRow rs, int column) throws Exception { ColumnTranslator ct = AUTOMATIC_COLUMN_TRANSLATORS.getOrDefault(rs.getFieldType(column), DEFAULT_TRANSLATOR); return ct.translate(rs, column); } }
ColumnHelper { public static String translate(JdbcResultRow rs, int column) throws Exception { ColumnTranslator ct = AUTOMATIC_COLUMN_TRANSLATORS.getOrDefault(rs.getFieldType(column), DEFAULT_TRANSLATOR); return ct.translate(rs, column); }  }
ColumnHelper { public static String translate(JdbcResultRow rs, int column) throws Exception { ColumnTranslator ct = AUTOMATIC_COLUMN_TRANSLATORS.getOrDefault(rs.getFieldType(column), DEFAULT_TRANSLATOR); return ct.translate(rs, column); }  static String translate(JdbcResultRow rs, int column); static String toString(JdbcResultRow rs, int column); }
ColumnHelper { public static String translate(JdbcResultRow rs, int column) throws Exception { ColumnTranslator ct = AUTOMATIC_COLUMN_TRANSLATORS.getOrDefault(rs.getFieldType(column), DEFAULT_TRANSLATOR); return ct.translate(rs, column); }  static String translate(JdbcResultRow rs, int column); static String toString(JdbcResultRow rs, int column);  }