<?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: java.sql.DataTruncation: Data truncation I have this error? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/java-sql-DataTruncation-Data-truncation-I-have-this-error/m-p/2224929#M17443</link>
    <description>The issue is on the following field: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/230532/blob_20160203-0931.png" /&gt; 
&lt;BR /&gt;so I have trie to add : 
&lt;BR /&gt;row1.ARCTLIB01.substring(0,30) 
&lt;BR /&gt;in the tmap: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/230532/blob_20160203-0933.png" /&gt; 
&lt;BR /&gt;And now I get: 
&lt;BR /&gt;Démarrage du job InsertArticles a 09:33 03/02/2016. 
&lt;BR /&gt; connecting to socket on port 3346 
&lt;BR /&gt; connected 
&lt;BR /&gt;Exception in component tMap_1 
&lt;BR /&gt;java.lang.StringIndexOutOfBoundsException: String index out of range: 30 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.String.substring(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.insertarticles_0_1.InsertArticles.tFirebirdInput_1Process(InsertArticles.java:8444) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.insertarticles_0_1.InsertArticles.runJobInTOS(InsertArticles.java:11299) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.insertarticles_0_1.InsertArticles.main(InsertArticles.java:11117) 
&lt;BR /&gt; disconnected 
&lt;BR /&gt; 
&lt;BR /&gt;an idea???</description>
    <pubDate>Wed, 03 Feb 2016 08:34:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-03T08:34:35Z</dc:date>
    <item>
      <title>java.sql.DataTruncation: Data truncation I have this error?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-DataTruncation-Data-truncation-I-have-this-error/m-p/2224928#M17442</link>
      <description>I have the following job: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/230532/blob_20160203-0831.png" /&gt; 
&lt;BR /&gt;I read a table from a firebird database and I insert the rows in the same table. 
&lt;BR /&gt;So the metadata of the input table and the output are the same because it is the same table. 
&lt;BR /&gt;and I have the following error: 
&lt;BR /&gt;Exception in component tFirebirdOutput_1 
&lt;BR /&gt;java.sql.DataTruncation: Data truncation 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.firebirdsql.jdbc.field.FBWorkaroundStringField.setString(FBWorkaroundStringField.java:97) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.firebirdsql.jdbc.AbstractPreparedStatement.setString(AbstractPreparedStatement.java:384) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.insertarticles_0_1.InsertArticles.tFirebirdInput_1Process(InsertArticles.java:8999) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.insertarticles_0_1.InsertArticles.runJobInTOS(InsertArticles.java:11574) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.insertarticles_0_1.InsertArticles.main(InsertArticles.java:11392) 
&lt;BR /&gt; 
&lt;BR /&gt;So why I have this error?? 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Didier</description>
      <pubDate>Wed, 03 Feb 2016 07:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-DataTruncation-Data-truncation-I-have-this-error/m-p/2224928#M17442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-03T07:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.DataTruncation: Data truncation I have this error?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-DataTruncation-Data-truncation-I-have-this-error/m-p/2224929#M17443</link>
      <description>The issue is on the following field: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/230532/blob_20160203-0931.png" /&gt; 
&lt;BR /&gt;so I have trie to add : 
&lt;BR /&gt;row1.ARCTLIB01.substring(0,30) 
&lt;BR /&gt;in the tmap: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/230532/blob_20160203-0933.png" /&gt; 
&lt;BR /&gt;And now I get: 
&lt;BR /&gt;Démarrage du job InsertArticles a 09:33 03/02/2016. 
&lt;BR /&gt; connecting to socket on port 3346 
&lt;BR /&gt; connected 
&lt;BR /&gt;Exception in component tMap_1 
&lt;BR /&gt;java.lang.StringIndexOutOfBoundsException: String index out of range: 30 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.String.substring(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.insertarticles_0_1.InsertArticles.tFirebirdInput_1Process(InsertArticles.java:8444) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.insertarticles_0_1.InsertArticles.runJobInTOS(InsertArticles.java:11299) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.insertarticles_0_1.InsertArticles.main(InsertArticles.java:11117) 
&lt;BR /&gt; disconnected 
&lt;BR /&gt; 
&lt;BR /&gt;an idea???</description>
      <pubDate>Wed, 03 Feb 2016 08:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-DataTruncation-Data-truncation-I-have-this-error/m-p/2224929#M17443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-03T08:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: java.sql.DataTruncation: Data truncation I have this error?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-DataTruncation-Data-truncation-I-have-this-error/m-p/2224930#M17444</link>
      <description>No way to insert data in the field 
&lt;BR /&gt;I have done the following test: 
&lt;BR /&gt;StringHandling.LEN(row1.ARCTLIB01)&amp;lt;29?row1.ARCTLIB01:row1.ARCTLIB01.substring(0,20) 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/230532/blob_20160203-1246.png" /&gt; 
&lt;BR /&gt;I have still: 
&lt;BR /&gt;Exception in component tFirebirdOutput_1 
&lt;BR /&gt;java.sql.DataTruncation: Data truncation 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.firebirdsql.jdbc.field.FBWorkaroundStringField.setString(FBWorkaroundStringField.java:97) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.firebirdsql.jdbc.AbstractPreparedStatement.setString(AbstractPreparedStatement.java:384) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.insertarticles_0_1.InsertArticles.tFirebirdInput_1Process(InsertArticles.java:8964) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.insertarticles_0_1.InsertArticles.runJobInTOS(InsertArticles.java:11658) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.insertarticles_0_1.InsertArticles.main(InsertArticles.java:11476) 
&lt;BR /&gt; 
&lt;BR /&gt;I have tried to increase the size of the target field. Same error! 
&lt;BR /&gt; 
&lt;BR /&gt;I don't know what to do !!</description>
      <pubDate>Wed, 03 Feb 2016 11:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-DataTruncation-Data-truncation-I-have-this-error/m-p/2224930#M17444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-03T11:49:20Z</dc:date>
    </item>
  </channel>
</rss>

