assertTrue("RDB$SECURITY_CLASS must have display size 31 ",metaData.getColumnDisplaySize(3)==10); assertTrue("RDB$CHARACTER_SET_NAME must have display size 31 ",metaData.getColumnDisplaySize(4)==10);
int columnDisplaySize = metaData.getColumnDisplaySize(3);  if (firebirdVersion == 1) assertTrue("RDB$SECURITY_CLASS must have display size 31 ", columnDisplaySize == 10); else if (firebirdVersion == 2) assertTrue("RDB$SECURITY_CLASS must have display size 31 ", columnDisplaySize == 31); else fail("Unknown Firebird version, not clear what to compare.");  int columnDisplaySize2 = metaData.getColumnDisplaySize(4);  if (firebirdVersion == 1) assertTrue("RDB$CHARACTER_SET_NAME must have display size 31 ",columnDisplaySize2 == 10); else if (firebirdVersion == 2) assertTrue("RDB$CHARACTER_SET_NAME must have display size 31 ",columnDisplaySize2 == 31); else fail("Unknown Firebird version, not clear what to compare.");
    public void testResultSetMetaData2() throws Exception {        Properties props = new Properties();        props.putAll(this.getDefaultPropertiesForConnection());        props.put("lc_ctype", "UNICODE_FSS");                Connection connection = DriverManager.getConnection(this.getUrl(), props);                Statement stmt = connection.createStatement();                ResultSet rs = stmt.executeQuery(TEST_QUERY2);                ResultSetMetaData metaData = rs.getMetaData();        		          assertTrue("RDB$SECURITY_CLASS must have display size 31 ",metaData.getColumnDisplaySize(3)==10);        assertTrue("RDB$CHARACTER_SET_NAME must have display size 31 ",metaData.getColumnDisplaySize(4)==10);                stmt.close();        connection.close();    }