+ "cast(null as varchar(31)) as TYPE_NAME,"
<BUG>+ "cast(null as varchar(31)) as SELF_REFERENCING_COL_NAME,"
</BUG>
+ "cast(null as varchar(31)) as REF_GENERATION,"
<BUG>+ "cast(RDB$OWNER_NAME as varchar(31)) as OWNER_NAME "
</BUG>
+ "from RDB$RELATIONS ";
private ResultSet getTables_2_5(String tableNamePattern, String[] types) throws SQLException {
if (types == null) {
types = ALL_TYPES_2_5;

+ "cast(null as varchar(31)) as TYPE_NAME,"
+ "cast(null as varchar(" + OBJECT_NAME_LENGTH + ")) as SELF_REFERENCING_COL_NAME,"
+ "cast(null as varchar(31)) as REF_GENERATION,"
+ "cast(RDB$OWNER_NAME as varchar(" + OBJECT_NAME_LENGTH + ")) as OWNER_NAME "
+ "from RDB$RELATIONS ";
private ResultSet getTables_2_5(String tableNamePattern, String[] types) throws SQLException {
if (types == null) {
types = ALL_TYPES_2_5;
