code: public static Object createArrayOf(Connection conn, String typeName, Object[] elements) throws MjdbcSQLException {
          Object result = null;
  
          try {
              result = MappingUtils.invokeFunction(conn, "createArrayOf", new Class[]{String.class, Object[].class}, new Object[]{typeName, elements});
          } catch (MjdbcException ex) {
              throw new MjdbcSQLException("createArrayOf is not supported by JDBC Driver", ex);
          }
  
          return result;
      }
docs: Creates new {@link java.sql.Array} instance.
  Can be invoked only for JDBC4 driver
  
  @param conn     SQL connection
  @param typeName array type name
  @param elements array of elements
  @return new {@link java.sql.Array} instance
  @throws org.midao.jdbc.core.exception.MjdbcSQLException