<?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: String (UUID) from MSSQL to BINARY / Byte[] MySQL in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/String-UUID-from-MSSQL-to-BINARY-Byte-MySQL/m-p/2283962#M57761</link>
    <description>&lt;P&gt;IF:&lt;BR /&gt;output_row.Id = input_row.Id.getBytes();&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;result:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_2.png" style="width: 787px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/24795i7E3CC1D513470DD1/image-size/large?v=1.0&amp;amp;px=999" title="Screenshot_2.png" alt="Screenshot_2.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2020 14:36:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-02-04T14:36:16Z</dc:date>
    <item>
      <title>String (UUID) from MSSQL to BINARY / Byte[] MySQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-UUID-from-MSSQL-to-BINARY-Byte-MySQL/m-p/2283961#M57760</link>
      <description>&lt;P&gt;I have mysql and collum binary(16)&lt;BR /&gt;Input (Object/uniqueidentifier) - tMap - Output (BINARY/Byte[])&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt; 
&lt;PRE&gt;Tue Feb 04 16:38:36 EET 2020 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Exception in component tMap_1 (Transactions)
java.lang.NumberFormatException: For input string: "331FD492-50CA-4CA1-9706-827D660CDEB1"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:580)
	at java.lang.Byte.parseByte(Byte.java:149)
	at java.lang.Byte.parseByte(Byte.java:175)
	at routines.system.TypeConvert.String2byteArray(TypeConvert.java:4391)
	at routines.system.TypeConvert.Object2byteArray(TypeConvert.java:3495)
	at cns.transactions_0_1.Transactions.tDBInput_1Process(Transactions.java:1808)
	at cns.transactions_0_1.Transactions.runJobInTOS(Transactions.java:2542)
	at cns.transactions_0_1.Transactions.main(Transactions.java:2392)&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I add after tMap&amp;nbsp; block "tJavaRow":&lt;BR /&gt;&lt;STRONG&gt;output_row.Id = String.getBytes(input_row.Id);&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Run and have error:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 782px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/24793i1F8F9409F4284E80/image-size/large?v=1.0&amp;amp;px=999" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;My output_mysql&amp;nbsp; attachment&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt; 
&lt;DIV&gt; 
 &lt;DIV class="gtx-trans-icon"&gt;
   &amp;nbsp; 
 &lt;/DIV&gt; 
&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-UUID-from-MSSQL-to-BINARY-Byte-MySQL/m-p/2283961#M57760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: String (UUID) from MSSQL to BINARY / Byte[] MySQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-UUID-from-MSSQL-to-BINARY-Byte-MySQL/m-p/2283962#M57761</link>
      <description>&lt;P&gt;IF:&lt;BR /&gt;output_row.Id = input_row.Id.getBytes();&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;result:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_2.png" style="width: 787px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/24795i7E3CC1D513470DD1/image-size/large?v=1.0&amp;amp;px=999" title="Screenshot_2.png" alt="Screenshot_2.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 14:36:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-UUID-from-MSSQL-to-BINARY-Byte-MySQL/m-p/2283962#M57761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-04T14:36:16Z</dc:date>
    </item>
  </channel>
</rss>

