peter parker created NIFI-4312:
----------------------------------

             Summary: PutDataBaseRecord when column is default sysdate
                 Key: NIFI-4312
                 URL: https://issues.apache.org/jira/browse/NIFI-4312
             Project: Apache NiFi
          Issue Type: New Feature
          Components: Extensions
    Affects Versions: 1.3.0
         Environment: rhel 7.0 
nifi 1.3.0
Oracle Database 11.2.0.2
ojdbc7.jar for the driver

            Reporter: peter parker
             Fix For: 1.4.0
         Attachments: attachment.jpg

while trying to insert a record whether its a csv or an avro record i get a 
Stream has already been closed Exception. when i have a default sysdate column 
in the table

full stack trace:

PutDatabaseRecord[id=32a9f123-4cb5-3994-1669-d305c4dfd8db] Failed to
process 
StandardFlowFileRecord[uuid=650de48a-7f08=4655=9f07-b0f1d6086044,claim=StandardContentClaim
[resourceClaim-StandardResourceClaim[id=1503482458485-452,
container=default, section-452], offset=435424,
length=1535],offset=0,name=3083066194824986,size=1535] due to
java.sql.SQLException Stream has already been closed:

the stack traces are also in the picture attached to this issue
i have tried to do a validation query in the DBConnectionPool and it didn't work




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to