<?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: tJava - No suitable driver found for jdbc:postgresql in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282746#M56852</link>
    <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Well I think not, because I need to be able to iterate over the result of the SQL query in tJava because the LDAP query is dependent on the SQL query. And as I found out, tJava has no input. Oh do you have an idea?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;You can use tPostgresqlInput for your database part to select record from postgresql database, and use tJavaFlex, instead of tJava, which allows you to access the input data flow and has output data flow. Take a look at this KB article 
&lt;A href="http://www.talendforge.org/forum/post.php?tid=33067&amp;amp;qid=122683" target="_blank" rel="nofollow noopener noreferrer"&gt;The difference between tJava, tJavaRow and tJavaFlex&lt;/A&gt;.
&lt;BR /&gt;Shong</description>
    <pubDate>Tue, 03 Dec 2013 04:22:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-03T04:22:31Z</dc:date>
    <item>
      <title>tJava - No suitable driver found for jdbc:postgresql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282739#M56845</link>
      <description>Hello, 
&lt;BR /&gt;I have a job containing of one component which is a tJava component. In this component I want to do a select on a database then connect to LDAP to get some data and write the gotten data back to the database. 
&lt;BR /&gt;I wrote my code in Eclipse where it is working. When now copying it into the tJava component and trying to run it there, I get the following error: 
&lt;BR /&gt;Exception in component tJava_1 
&lt;BR /&gt;java.sql.SQLException: No suitable driver found for jdbc 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;ostgresql://localhost/PortalDW 
&lt;BR /&gt;What am I doing wrong or what did I forget to do? 
&lt;BR /&gt;Kind regards 
&lt;BR /&gt;Nadja</description>
      <pubDate>Fri, 29 Nov 2013 09:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282739#M56845</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-29T09:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: tJava - No suitable driver found for jdbc:postgresql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282740#M56846</link>
      <description>Don't use tJava. Use tdatabasetypeInput and tLDAPInput.</description>
      <pubDate>Fri, 29 Nov 2013 11:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282740#M56846</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2013-11-29T11:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: tJava - No suitable driver found for jdbc:postgresql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282741#M56847</link>
      <description>I cannot do this, because for the LDAP part I need to use StartTLS and this option is not available in tLDAPInput. But thanks for the suggestion.&lt;BR /&gt;Any other ideas?</description>
      <pubDate>Fri, 29 Nov 2013 11:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282741#M56847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-29T11:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: tJava - No suitable driver found for jdbc:postgresql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282742#M56848</link>
      <description>But  could you still use the tPostgresInput ?</description>
      <pubDate>Fri, 29 Nov 2013 11:46:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282742#M56848</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2013-11-29T11:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: tJava - No suitable driver found for jdbc:postgresql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282743#M56849</link>
      <description>Well I think not, because I need to be able to iterate over the result of the SQL query in tJava because the LDAP query is dependent on the SQL query. And as I found out, tJava has no input. Oh do you have an idea?</description>
      <pubDate>Fri, 29 Nov 2013 11:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282743#M56849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-29T11:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: tJava - No suitable driver found for jdbc:postgresql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282744#M56850</link>
      <description>Hi Nadja, Why do you expect the PostgreSQL driver is loaded only by calling an JDBC call?
&lt;BR /&gt;The components for the databases organizes the driver load, your code does not do this.
&lt;BR /&gt;You have to load the JDBC driver with tLoadLibrary component (before your own code comes in action).</description>
      <pubDate>Fri, 29 Nov 2013 19:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282744#M56850</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-29T19:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: tJava - No suitable driver found for jdbc:postgresql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282745#M56851</link>
      <description>Hi jlolling,
&lt;BR /&gt;thanks for your reply. I was not aware of the fact that I need to load the library first. That was why I asked. I'm not that familiar with Talend yet and still need some practice. But thanks for the help, this solution works fine for me and solved my issue.
&lt;BR /&gt;Kind regards
&lt;BR /&gt;Nadja</description>
      <pubDate>Mon, 02 Dec 2013 07:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282745#M56851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-02T07:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: tJava - No suitable driver found for jdbc:postgresql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282746#M56852</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Well I think not, because I need to be able to iterate over the result of the SQL query in tJava because the LDAP query is dependent on the SQL query. And as I found out, tJava has no input. Oh do you have an idea?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;You can use tPostgresqlInput for your database part to select record from postgresql database, and use tJavaFlex, instead of tJava, which allows you to access the input data flow and has output data flow. Take a look at this KB article 
&lt;A href="http://www.talendforge.org/forum/post.php?tid=33067&amp;amp;qid=122683" target="_blank" rel="nofollow noopener noreferrer"&gt;The difference between tJava, tJavaRow and tJavaFlex&lt;/A&gt;.
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 03 Dec 2013 04:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-No-suitable-driver-found-for-jdbc-postgresql/m-p/2282746#M56852</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-03T04:22:31Z</dc:date>
    </item>
  </channel>
</rss>

