title: Postgres Error method org.postgresql.jdbc.PgConnection.createClob() is not implemented
body: <p>When I invoke <code>createClob</code> method using connection object as shown below:</p>
  
  <pre><code>Clob clob = con.createClob();
  </code></pre>
  
  <p>Following exception is thrown:</p>
  
  <pre><code>Caused by: java.sql.SQLFeatureNotSupportedException: Method org.postgresql.jdbc.PgConnection.createClob() is not yet implemented.
          at org.postgresql.Driver.notImplemented(Driver.java:659)
          at org.postgresql.jdbc.PgConnection.createClob(PgConnection.java:1246)
          at org.apache.commons.dbcp2.DelegatingConnection.createClob(DelegatingConnection.java:868)
          at org.apache.commons.dbcp2.DelegatingConnection.createClob(DelegatingConnection.java:868)
  </code></pre>
  
  <p>I`m using database PostgreSQL 9.6.2 with JDK8 and using commons-dbcp2 connection pool, And added following Postgres dependency in pom.xml</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.postgresql&lt;/groupId&gt;
      &lt;artifactId&gt;postgresql&lt;/artifactId&gt;
      &lt;version&gt;42.1.1&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>In class <code>org.postgresql.jdbc.PgConnection</code>, createClob implementation is as shown below which is throwing the exception:</p>
  
  <pre><code>@Override
  public Clob createClob() throws SQLException {
      checkClosed();
      throw org.postgresql.Driver.notImplemented(this.getClass(), "createClob()");
  }
  </code></pre>
  
  <p>What is the solution or workaround to overcome this issue? Or How can we set CLOB data in <em>Postgres</em> queries?</p>