<?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: Prepared Statement issue with Character data type in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Prepared-Statement-issue-with-Character-data-type/m-p/2247447#M32634</link>
    <description>Hi,&lt;BR /&gt;Could you please show us your&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;prepared statement? Screenshot of tMysqlRow will be preferred.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Can you run it successfully in your mysql client?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Mon, 12 Sep 2016 10:41:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-12T10:41:48Z</dc:date>
    <item>
      <title>Prepared Statement issue with Character data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Prepared-Statement-issue-with-Character-data-type/m-p/2247446#M32633</link>
      <description>Hi all, 
&lt;BR /&gt;Not sure if I'm being silly, or if I've hit a brick wall on this. 
&lt;BR /&gt;I have a tMysqlRow component that I'm setting up as a prepared statement. &amp;nbsp;I've defined the parameters (more than a dozen), but it is failing due to the lack of option for a particular parameter type. 
&lt;BR /&gt;I have a 'Character' data field in my MySQL table, and Talend is happy to define and parse this throughout the job... until this point. 
&lt;BR /&gt; 
&lt;BR /&gt;As can be seen, there's no capacity to set the field type as 'Character' within the Advanced table of the tMySQL row component. &amp;nbsp;This, if set to string for example, causes the familiar error: 
&lt;BR /&gt;"The method setString(int, String) in the type PreparedStatement is not applicable for the arguments (int, Character)" 
&lt;BR /&gt;Is this something Talend has overlooked, or am I at fault?</description>
      <pubDate>Fri, 09 Sep 2016 10:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Prepared-Statement-issue-with-Character-data-type/m-p/2247446#M32633</guid>
      <dc:creator>cjj</dc:creator>
      <dc:date>2016-09-09T10:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Prepared Statement issue with Character data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Prepared-Statement-issue-with-Character-data-type/m-p/2247447#M32634</link>
      <description>Hi,&lt;BR /&gt;Could you please show us your&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;prepared statement? Screenshot of tMysqlRow will be preferred.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Can you run it successfully in your mysql client?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 12 Sep 2016 10:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Prepared-Statement-issue-with-Character-data-type/m-p/2247447#M32634</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-12T10:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Prepared Statement issue with Character data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Prepared-Statement-issue-with-Character-data-type/m-p/2247448#M32635</link>
      <description>setString expects a String as the second argument. &amp;nbsp;Try converting the character field in the parameter settings by using: String.valueOf(myChar)</description>
      <pubDate>Mon, 12 Sep 2016 16:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Prepared-Statement-issue-with-Character-data-type/m-p/2247448#M32635</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2016-09-12T16:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Prepared Statement issue with Character data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Prepared-Statement-issue-with-Character-data-type/m-p/2247449#M32636</link>
      <description>Thanks for the replies - not exactly on topic for what I was asking though. 
&lt;BR /&gt;My main issue was that Talend's prepared statement component does not include a relevant match for a "Character" DB type. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;If you have a single character field in a MySQL DB, there is no classification within the component that will match. 
&lt;BR /&gt;Forcing the data to comply with what talend wants will still end up in an issue, as the DB does not want a String - it wants a Character!</description>
      <pubDate>Wed, 14 Sep 2016 09:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Prepared-Statement-issue-with-Character-data-type/m-p/2247449#M32636</guid>
      <dc:creator>cjj</dc:creator>
      <dc:date>2016-09-14T09:42:22Z</dc:date>
    </item>
  </channel>
</rss>

