title: Spring Cloud Data Flow, failed to follow HTTP to MySQL Demo
body: <p>I am new to Spring Cloud Data Flow. Just trying to follow the official demo <a href="https://docs.spring.io/spring-cloud-dataflow-samples/docs/current/reference/htmlsingle/#_http_to_mysql_demo" rel="nofollow noreferrer">HTTP to MySQL</a> I created a MySQL database (ds_dev) and a table (names) with:</p>
  
  <pre><code>create table names
  (
    name  varchar(255) null
  );
  </code></pre>
  
  <p>I followed the instructions to create a stream with:</p>
  
  <pre><code>stream create --name mysqlstream --definition "http --server.port=9010 | jdbc --tableName=names --columns=name --spring.datasource.driver-class-name=org.mariadb.jdbc.Driver --spring.datasource.url='jdbc:mysql://host.docker.internal:3306/ds_dev' --spring.datasource.username=root --spring.datasource.password='rootpw'" --deploy
  </code></pre>
  
  <p>Then I tried to post some requests with :</p>
  
  <pre><code>http post --contentType 'application/json' --target http://172.18.0.5:9010 --data "{\"name\": \"Foo\"}"
  </code></pre>
  
  <p>However, instead of having a new entry "Foo" inserted into the table, I got a Null value inserted instead. The jdbc log is like this:</p>
  
  <pre><code>2019-08-06 19:10:10.838  INFO 598 --- [container-0-C-1] o.s.c.s.a.j.sink.JdbcSinkConfiguration   : Could not find value for column 'name': EL1008E: Property or field 'name' cannot be found on object of type 'byte[]' - maybe not public or not valid?
  </code></pre>
  
  <p>Any suggestions? Thanks in advance!</p>