<?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 Connecting Talend to an MS SQL Server DB always on  with 'applicationIntent=ReadOnly' in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Connecting-Talend-to-an-MS-SQL-Server-DB-always-on-with/m-p/2280141#M55071</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;i'm trying to connect to &amp;nbsp;Micorsoft SQL&amp;nbsp;&lt;SPAN&gt;Server DB&amp;nbsp; &lt;STRONG&gt;always on&lt;/STRONG&gt; with applicationIntent=ReadOnly from Talend ( in order to connect to the secondary&amp;nbsp; server and not to the primary&amp;nbsp; by using&amp;nbsp; "Availability groups" in sql server )&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;i'm using &lt;/SPAN&gt;Talend Big Data&amp;nbsp; Version: 6.5.1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But although&amp;nbsp;i have added&amp;nbsp;&amp;nbsp; '&lt;SPAN&gt;&lt;STRONG&gt;applicationIntent=ReadOnly' &lt;/STRONG&gt;in the string connection and replaced Talend competent&amp;nbsp;&amp;nbsp;to jdbc ( please see attachment),&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;when i checked in sql server, the talend user was connected to the wrong server ,&lt;/SPAN&gt;to the primary and not to the&amp;nbsp;&lt;SPAN&gt;secondary server.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What i tried so far:&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;&lt;SPAN&gt;Download&amp;nbsp; sqljdbc4.jar&amp;nbsp; and connect via tJDBCConnection&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2. setting&amp;nbsp;connection string as :&amp;nbsp; "jdbc:sqlserver://hostserver:1433;databaseName=mydb;&lt;STRONG&gt;applicationIntent=ReadOnly&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3.driver class:&amp;nbsp;"com.microsoft.sqlserver.jdbc.SQLServerDriver&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reference (didn't worked for me):&amp;nbsp;&lt;A href="http://kindleconsulting.com/blog/item/155-ms-sql-server-talend-applicationintent-readonly-disasater-recovery-mode.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://kindleconsulting.com/blog/item/155-ms-sql-server-talend-applicationintent-readonly-disasater-recovery-mode.html&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:23:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T03:23:25Z</dc:date>
    <item>
      <title>Connecting Talend to an MS SQL Server DB always on  with 'applicationIntent=ReadOnly'</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connecting-Talend-to-an-MS-SQL-Server-DB-always-on-with/m-p/2280141#M55071</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;i'm trying to connect to &amp;nbsp;Micorsoft SQL&amp;nbsp;&lt;SPAN&gt;Server DB&amp;nbsp; &lt;STRONG&gt;always on&lt;/STRONG&gt; with applicationIntent=ReadOnly from Talend ( in order to connect to the secondary&amp;nbsp; server and not to the primary&amp;nbsp; by using&amp;nbsp; "Availability groups" in sql server )&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;i'm using &lt;/SPAN&gt;Talend Big Data&amp;nbsp; Version: 6.5.1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But although&amp;nbsp;i have added&amp;nbsp;&amp;nbsp; '&lt;SPAN&gt;&lt;STRONG&gt;applicationIntent=ReadOnly' &lt;/STRONG&gt;in the string connection and replaced Talend competent&amp;nbsp;&amp;nbsp;to jdbc ( please see attachment),&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;when i checked in sql server, the talend user was connected to the wrong server ,&lt;/SPAN&gt;to the primary and not to the&amp;nbsp;&lt;SPAN&gt;secondary server.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What i tried so far:&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;&lt;SPAN&gt;Download&amp;nbsp; sqljdbc4.jar&amp;nbsp; and connect via tJDBCConnection&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2. setting&amp;nbsp;connection string as :&amp;nbsp; "jdbc:sqlserver://hostserver:1433;databaseName=mydb;&lt;STRONG&gt;applicationIntent=ReadOnly&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3.driver class:&amp;nbsp;"com.microsoft.sqlserver.jdbc.SQLServerDriver&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reference (didn't worked for me):&amp;nbsp;&lt;A href="http://kindleconsulting.com/blog/item/155-ms-sql-server-talend-applicationintent-readonly-disasater-recovery-mode.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://kindleconsulting.com/blog/item/155-ms-sql-server-talend-applicationintent-readonly-disasater-recovery-mode.html&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connecting-Talend-to-an-MS-SQL-Server-DB-always-on-with/m-p/2280141#M55071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:23:25Z</dc:date>
    </item>
  </channel>
</rss>

