@Test public void testClobToStringConversion() throws Exception { Clob clob = new SerialClob("foo".toCharArray()); String value = DataTypeTransformer.getString(clob); assertEquals("foo", value); }
static final String getString(Object value) throws SQLException { return transform(value, String.class); }
DataTypeTransformer { static final String getString(Object value) throws SQLException { return transform(value, String.class); } }
DataTypeTransformer { static final String getString(Object value) throws SQLException { return transform(value, String.class); } private  DataTypeTransformer(); }
DataTypeTransformer { static final String getString(Object value) throws SQLException { return transform(value, String.class); } private  DataTypeTransformer();  }
DataTypeTransformer { static final String getString(Object value) throws SQLException { return transform(value, String.class); } private  DataTypeTransformer();   }