[ https://issues.apache.org/jira/browse/NIFI-1841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15506909#comment-15506909 ]
ASF GitHub Bot commented on NIFI-1841: -------------------------------------- GitHub user mattyb149 opened a pull request: https://github.com/apache/nifi/pull/1035 NIFI-1841: Fixed support for CLOB/BLOB types You can merge this pull request into a Git repository by running: $ git pull https://github.com/mattyb149/nifi NIFI-1841 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/nifi/pull/1035.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1035 ---- commit 784ddca8e58e329264543d7c8e925f81d383fbdd Author: Matt Burgess <mattyb...@apache.org> Date: 2016-09-20T15:35:53Z NIFI-1841: Fixed support for CLOB/BLOB types ---- > SQLFeatureNotSupportedException with ExecuteSQL and Oracle Driver > ----------------------------------------------------------------- > > Key: NIFI-1841 > URL: https://issues.apache.org/jira/browse/NIFI-1841 > Project: Apache NiFi > Issue Type: Bug > Reporter: Bryan Bende > Assignee: Matt Burgess > Priority: Minor > > Using ExecuteSQL with the Oracle ojdbc7.jar, the following exception is > produced: > {code} > java.sql.SQLFeatureNotSupportedException: Unsupported feature > at oracle.jdbc.driver.ClobAccessor.getBytes(ClobAccessor.java:534) ~[na:na] > at > oracle.jdbc.driver.GeneratedStatement.getBytes(GeneratedStatement.java:151) > ~[na:na] > at > oracle.jdbc.driver.GeneratedScrollableResultSet.getBytes(GeneratedScrollableResultSet.java:326) > ~[na:na] > at > org.apache.commons.dbcp.DelegatingResultSet.getBytes(DelegatingResultSet.java:241) > ~[na:na] > at > org.apache.commons.dbcp.DelegatingResultSet.getBytes(DelegatingResultSet.java:241) > ~[na:na] > at > org.apache.nifi.processors.standard.util.JdbcCommon.convertToAvroStream(JdbcCommon.java:105) > ~[nifi-standard-processors-0.6.1.jar:0.6.1] > at > org.apache.nifi.processors.standard.util.JdbcCommon.convertToAvroStream(JdbcCommon.java:72) > ~[nifi-standard-processors-0.6.1.jar:0.6.1] > at > org.apache.nifi.processors.standard.ExecuteSQL$1.process(ExecuteSQL.java:158) > ~[nifi-standard-processors-0.6.1.jar:0.6.1] > {code} > The issue appears to be related to calling ResultSet getBytes(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)