code: public String getConnectionString(EntityMetadata m)
      {
          Properties properties = new Properties();
  
          String fileName = "teradata.properties";
          InputStream inputStream = getClass().getClassLoader().getResourceAsStream(fileName);
  
          if (inputStream != null)
          {
              try
              {
                  properties.load(inputStream);
              }
              catch (IOException e)
              {
                  throw new RuntimeException("Property file: " + fileName + "not found in the classpath", e);
              }
          }
          else
          {
              throw new RuntimeException("Property file: " + fileName + "not found in the classpath");
          }
  
          String connectionString = "jdbc:teradata://" + properties.getProperty("teradata.host") + "/database="
                  + m.getSchema() + ",tmode=ANSI,charset=UTF8,user=" + properties.getProperty("teradata.user")
                  + ",password=" + properties.getProperty("teradata.password") + "";
          return connectionString;
      }
docs: Gets the connection string.
  
  @param m
  the m
  @return the connection string