title: Write into cloud sql using dataflow JdbcIO api
body: <p>I have a requirement where i have to write a <a href="https://beam.apache.org/documentation/sdks/javadoc/2.5.0/" rel="nofollow noreferrer">PCollection</a> of String to a Cloud SQL using Cloud Dataflow API. </p>
  
  <pre><code>pipeline.apply(TextIO.read().from("gs://***/sampleBigtable.csv"))
      .apply(JdbcIO.write()
      .withDataSourceConfiguration(DataSourceConfiguration
      .create("org.postgresql.Driver", "jdbc:postgresql://***:5432/test")
      .withUsername("**").withPassword("password10"))
      .withStatement("insert into person values(?,?)")
      .withPreparedStatementSetter(
   new JdbcIO.PreparedStatementSetter &lt; Object &gt; () {
    /**
     * 
     */
    private static final long serialVersionUID = 1 L;
  
    @Override
    public void setParameters(Object arg0, PreparedStatement query)
    throws Exception {
     // TODO Auto-generated method stub
     query.setString(1, "Hello");
     query.setString(1, "Hi");
    }
   }));
  </code></pre>
  
  <p>This is the sample code I am trying. A very simple version of what I want to do.</p>
  
  <p>Also, is it feasible to write into Cloud SQL from Dataflow using a parDo and writing simple insert statements?</p>