code: public static String convertJavaClassToSqlType(String simpleClassName) throws SQLException {
          if ("String".equals(simpleClassName) == true) {
              return "VARCHAR";
          }
  
          throw new SQLException(String.format("Could not convert java class %s", simpleClassName));
      }
docs: Converts Java Class name into SQL Type name
  
  @param simpleClassName Java Class name
  @return SQL Type name
  @throws SQLException