}
public void testDriverMetadataEdition() throws Exception {
DataSource d = ds.getDataSource("hsqldbpersona");
d.beginTrans();
int fc = d.getDataSourceMetadata().getFieldCount();
d.addField("nuevo", "CHAR", new String[]{"LENGTH"}, new String[]{"5"});
assertTrue(d.getDataSourceMetadata().getFieldType(fc) == Value.STRING);
assertTrue(d.getDriverMetadata().getFieldType(fc).equals("CHAR"));
assertTrue(d.getDriverMetadata().getFieldParam(fc, "LENGTH").equals("5"));