<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to persist a very big JSON to a CLOB in Oracle with Apahe Nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-persist-a-very-big-JSON-to-a-CLOB-in-Oracle-with/m-p/413287#M253981</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/140856"&gt;@Pashazadeh&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts&amp;nbsp; &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114383"&gt;@vafs&lt;/a&gt;,&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query. We hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jan 2026 11:02:46 GMT</pubDate>
    <dc:creator>VidyaSargur</dc:creator>
    <dc:date>2026-01-09T11:02:46Z</dc:date>
    <item>
      <title>How to persist a very big JSON to a CLOB in Oracle with Apahe Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-persist-a-very-big-JSON-to-a-CLOB-in-Oracle-with/m-p/413259#M253967</link>
      <description>&lt;P&gt;I have a process which creates a big JSON (the content is between 5k to 400k), (and has embedded objects, arrays, arrays of objects....) my flow-file has an attribute, named ETL_ID, I want to persist the JSON to a CLOB column of an Oracle table.&lt;BR /&gt;Well using standard PutSQL won't work as JSON content is more than 4000 chars.&lt;BR /&gt;&lt;BR /&gt;With some JOLT transformers I converted the content of flow file to something like:&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; "ID": 1234, // ETL_ID&lt;BR /&gt;&amp;nbsp; "REQUEST": { the very big json }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;then I used PutDatabaseRecord processor to write it down, but then instead of JSON something like&lt;BR /&gt;&lt;BR /&gt;MapRecord[{ContractId=null, PrintDocumentNo=1402/101/53034/53034/6, CompanyLifeProposalNo=qsn-190, InsurerId=116118216, FieldId=501, BranchId=null, AgencyId=130946, IntroducerBrokerId=null, IntroducerBranchId=null, IntroducerAgencyId=130946, BeginDate=2023-09-05, EndDate=2033-09-05, IssueDate=2023-09-05, PaymentType=233, Installment=10, InstallmentPeriod=242, Salary=null, SalaryPremiumPercentage=null, GuaranteedProfitCeiling=229, LicenceNo=null, LicenceRegisterDate=null, LicenceExpireDate=null, PostalCode=null, Insureds=[Ljava.lang.Object;@2ac5e7fb, Beneficiaries=[Ljava.lang.Object;@6cf36437, InsuredCoverages=[Ljava.lang.Object;@211a9f0a, AnnualCalculations=[Ljava.lang.Object;@49a84289}]&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;as you can see for nested Objects, and Arrays the toString() of them is written!&lt;BR /&gt;&lt;BR /&gt;is written to the CLOB field, the problem is everything was okay with Nifi 2.0.0, but it does not work with Apache Nifi 2.7.1.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 01:17:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-persist-a-very-big-JSON-to-a-CLOB-in-Oracle-with/m-p/413259#M253967</guid>
      <dc:creator>Pashazadeh</dc:creator>
      <dc:date>2026-01-08T01:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to persist a very big JSON to a CLOB in Oracle with Apahe Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-persist-a-very-big-JSON-to-a-CLOB-in-Oracle-with/m-p/413260#M253968</link>
      <description>&lt;P&gt;By changing `Suppress Null Values` to `Always Suppress` the problem get solved, now by removing nulls, Nifi writes correct JSON to database, but now the question is why?&lt;BR /&gt;&lt;BR /&gt;Why did solve the issue? was that intentional or a accidental side effect? Will it behave the same in future releases?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 03:32:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-persist-a-very-big-JSON-to-a-CLOB-in-Oracle-with/m-p/413260#M253968</guid>
      <dc:creator>Pashazadeh</dc:creator>
      <dc:date>2026-01-08T03:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to persist a very big JSON to a CLOB in Oracle with Apahe Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-persist-a-very-big-JSON-to-a-CLOB-in-Oracle-with/m-p/413287#M253981</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/140856"&gt;@Pashazadeh&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts&amp;nbsp; &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114383"&gt;@vafs&lt;/a&gt;,&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query. We hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 11:02:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-persist-a-very-big-JSON-to-a-CLOB-in-Oracle-with/m-p/413287#M253981</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2026-01-09T11:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to persist a very big JSON to a CLOB in Oracle with Apahe Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-persist-a-very-big-JSON-to-a-CLOB-in-Oracle-with/m-p/413289#M253983</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/140856"&gt;@Pashazadeh&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Apache NiFI 2.0.x was a technical milestone/preview releases that underwent many changes before the first GA release with NiFi 2.1.x.&amp;nbsp; I would not expect a change in behavior going forward, unless some bug is introduced or the community agrees on a change in functionality/behavior.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;While I don't have a specific answer to what bug resulted in the difference in behavior you encountered, here are some changes that affected the JsonRecordSetWriter.&lt;/P&gt;&lt;OL class="aui-nav aui-nav-breadcrumbs"&gt;&lt;LI&gt;&lt;A class="issue-link" href="https://issues.apache.org/jira/browse/NIFI-14331" target="_blank" rel="13610774 noopener"&gt;NIFI-14331&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="issue-link" href="https://issues.apache.org/jira/browse/NIFI-13963" target="_blank" rel="13597665 noopener"&gt;NIFI-13963&lt;/A&gt;&amp;nbsp;/&amp;nbsp;&lt;A class="issue-link" href="https://issues.apache.org/jira/browse/NIFI-13843" target="_blank" rel="13594327 noopener"&gt;NIFI-13843&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="issue-link" href="https://issues.apache.org/jira/browse/NIFI-12670" target="_blank" rel="13566118 noopener"&gt;NIFI-12670&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If you still have your NiFi 2.0.0 running, you could run your flow using a convertRecord with same record readers and writers and then compare the output content with what you see with 2.7.1 output.&amp;nbsp; Maybe that can help figure out what is happening and if either of those bugs affecting earlier NiFi 2.x versions is related.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 13:44:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-persist-a-very-big-JSON-to-a-CLOB-in-Oracle-with/m-p/413289#M253983</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2026-01-09T13:44:25Z</dc:date>
    </item>
  </channel>
</rss>

