Program: 85535
Project: 85535
Buggy source:
@Override public List<ColumnMetaData> getMetaData(){
  List<ColumnMetaData> map=new ArrayList();
  String schema=databaseProperties.getProperty("String_Node_Str");
  IDBConnection dbConnection;
  Connection connection=null;
  try {
    dbConnection=DBConnectionFactory.createDBConnection(databaseProperties);
    connection=dbConnection.connect(databaseProperties);
  }
 catch (  DatabaseAnonymizerException ex) {
    log.info(ex.toString());
  }
  ResultSet rs=null;
  try {
    DatabaseMetaData md=connection.getMetaData();
    log.info("String_Node_Str" + schema);
    rs=md.getTables(null,schema,null,new String[]{"String_Node_Str"});
    while (rs.next()) {
      String tableName=rs.getString(3);
      log.info("String_Node_Str" + tableName);
      ResultSet resultSet=null;
      resultSet=md.getColumns(null,schema,tableName,null);
      while (resultSet.next()) {
        String columnName=resultSet.getString("String_Node_Str");
        String columnType=resultSet.getString("String_Node_Str");
        if (this.columnType != null) {
          if (SQLToJavaMapping.isString(resultSet.getInt(5))) {
            columnType="String_Node_Str";
          }
        }
        map.add(new ColumnMetaData(tableName,columnName,columnType));
      }
    }
    rs.close();
    connection.close();
  }
 catch (  SQLException e) {
    if (connection != null) {
      try {
        connection.close();
      }
 catch (      SQLException sqle) {
        log.error(sqle.toString());
      }
    }
    if (rs != null) {
      try {
        rs.close();
      }
 catch (      SQLException sql) {
        log.error(sql.toString());
      }
    }
    log.error(e.toString());
  }
  return map;
}

Fixed version (ground truth):
@Override public List<ColumnMetaData> getMetaData(){
  List<ColumnMetaData> map=new ArrayList();
  String schema=databaseProperties.getProperty("String_Node_Str");
  IDBConnection dbConnection;
  Connection connection=null;
  try {
    dbConnection=DBConnectionFactory.createDBConnection(databaseProperties);
    connection=dbConnection.connect(databaseProperties);
  }
 catch (  DatabaseAnonymizerException ex) {
    log.info(ex.toString());
  }
  ResultSet rs=null;
  try {
    DatabaseMetaData md=connection.getMetaData();
    log.info("String_Node_Str" + schema);
    rs=md.getTables(null,schema,null,new String[]{"String_Node_Str"});
    while (rs.next()) {
      String tableName=rs.getString(3);
      log.info("String_Node_Str" + tableName);
      ResultSet resultSet=null;
      resultSet=md.getColumns(null,schema,tableName,null);
      while (resultSet.next()) {
        String columnName=resultSet.getString("String_Node_Str");
        String colType=resultSet.getString("String_Node_Str");
        if (this.columnType != null) {
          if (SQLToJavaMapping.isString(resultSet.getInt(5))) {
            colType="String_Node_Str";
          }
        }
        map.add(new ColumnMetaData(tableName,columnName,colType));
      }
    }
    rs.close();
    connection.close();
  }
 catch (  SQLException e) {
    if (connection != null) {
      try {
        connection.close();
      }
 catch (      SQLException sqle) {
        log.error(sqle.toString());
      }
    }
    if (rs != null) {
      try {
        rs.close();
      }
 catch (      SQLException sql) {
        log.error(sql.toString());
      }
    }
    log.error(e.toString());
  }
  return map;
}