<?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>topic Re: why am I getting conn_tDBOutput is null error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/why-am-I-getting-conn-tDBOutput-is-null-error/m-p/2364980#M128648</link>
    <description>&lt;P&gt;Thank you @Shicong Hong​. It worked.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Dec 2023 05:36:04 GMT</pubDate>
    <dc:creator>Just_learner</dc:creator>
    <dc:date>2023-12-04T05:36:04Z</dc:date>
    <item>
      <title>why am I getting conn_tDBOutput is null error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/why-am-I-getting-conn-tDBOutput-is-null-error/m-p/2364978#M128646</link>
      <description>&lt;P&gt;I made a job where I took data from source and dumped into destination. To make my job dynamic I created two db connection metadata and added there connection in tdboutput.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000smTASAA2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133228iA36F151E7607BBE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000smTASAA2.png" alt="0695b00000smTASAA2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dev destination database is the db connection metadata where I've mentioned all the credentials of the db and xyz is the table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000smTA4AAM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136137i58F3DA79A09DF2B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000smTA4AAM.png" alt="0695b00000smTA4AAM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I created an another job where I dragged my job and tried to run it. While running it gave an error that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "conn_tDBOutput_2" is null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To solve this when I manually wrote all credential of my db in &lt;/P&gt;&lt;P&gt;tDBOutput_2 instead of using dev destination database db connection it worked fine without showing any error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this any bug where job is not able to use db connection or am I making some mistake?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/why-am-I-getting-conn-tDBOutput-is-null-error/m-p/2364978#M128646</guid>
      <dc:creator>Just_learner</dc:creator>
      <dc:date>2024-11-15T21:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: why am I getting conn_tDBOutput is null error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/why-am-I-getting-conn-tDBOutput-is-null-error/m-p/2364979#M128647</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt; Make sure the DB connection is created before it is used, we usually use tPreJob to perform some initialization operations such as creating DB connection in the beginning of job. eg:&lt;/P&gt;&lt;P&gt;tPreJob--oncomponentok--tDBConnection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;....main--&amp;gt;tDBOutput&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2023 08:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/why-am-I-getting-conn-tDBOutput-is-null-error/m-p/2364979#M128647</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-25T08:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: why am I getting conn_tDBOutput is null error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/why-am-I-getting-conn-tDBOutput-is-null-error/m-p/2364980#M128648</link>
      <description>&lt;P&gt;Thank you @Shicong Hong​. It worked.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 05:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/why-am-I-getting-conn-tDBOutput-is-null-error/m-p/2364980#M128648</guid>
      <dc:creator>Just_learner</dc:creator>
      <dc:date>2023-12-04T05:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: why am I getting conn_tDBOutput is null error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/why-am-I-getting-conn-tDBOutput-is-null-error/m-p/2364981#M128649</link>
      <description>&lt;P&gt;Great, thanks for your feedback!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 07:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/why-am-I-getting-conn-tDBOutput-is-null-error/m-p/2364981#M128649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-04T07:41:07Z</dc:date>
    </item>
  </channel>
</rss>

