code: public Array createArrayOf(final String typeName, 
                                 final Object[] elements) throws SQLException {
  
          final String jdbcClassName = Defaults.jdbcTypeNameClasses.get(typeName);
  
          if (jdbcClassName == null) {
              throw new SQLException("Unsupported type: " + typeName);
          } // end of if
  
          // ---
  
          try {
              final Class jdbcClass = Class.forName(jdbcClassName);
  
              return ImmutableArray.getInstance(jdbcClass, elements);
          } catch (ClassNotFoundException ce) {
              throw new SQLException("Element type not found: " + jdbcClassName);
          } // end of catch
      }
docs: {@inheritDoc}