<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
    <channel>
        <title>CUBRID Q&amp;A</title>
        <link>http://www.cubrid.org/?mid=questions</link>
        <description>CUBRID Q&amp;A</description>
        <language>en</language>
        <pubDate>Fri, 21 Oct 2011 02:37:10 -0800</pubDate>
        <lastBuildDate>Mon, 17 Jun 2013 00:34:43 -0800</lastBuildDate>
        <generator>XpressEngine 1.4.4.1</generator>
                        										        <item>
            <title>How to make JDBC driver fail faster if server is down?</title>
            <dc:creator>vbergmann</dc:creator>
            <link>http://www.cubrid.org/questions/329746</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/329746</guid>
                                    <description><![CDATA[<p>When trying to connect a server which is down, CUBRID hangs for a long time (at least several minutes) before finally reporting that the host cannot be reached. This is quite annoying when testing. Is there a way to make it respond faster? Setting a timeout? For example a connect property?<br /></p><p>The code I used:<br /></p><p></p><div editor_component="code_highlighter" code_type="Java" file_path="" description="" first_line="1" collapse="false" nogutter="false" nocontrols="false" style="border: #666666 1px dotted; border-left: #22aaee 5px solid; padding: 5px; background: #FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Class&lt;Driver&gt; driverClass = BeanUtil.forName(driverClassName);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Driver driver = driverClass.newInstance();<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; java.util.Properties info = new java.util.Properties();<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; info.put("user", "xyz");<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; info.put("password", "xyz");<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connection connection = driver.connect(url, info);</div><p></p><p>Regards,</p><p>Volker<br /></p>]]></description>
                        <pubDate>Wed, 18 Apr 2012 20:31:32 -0800</pubDate>
                        <category>JDBC</category>
                        <category>connection string</category>
                        <category>timeout</category>
                        <category>connection</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How to add alternative hosts to a connection string in ADO.NET?</title>
            <dc:creator>eye</dc:creator>
            <link>http://www.cubrid.org/questions/299585</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/299585</guid>
                                    <description><![CDATA[<p>In CUBRID it is possible to indicate alternative hosts (brokers) in the connection string as a measurement for broker fail-over. <a href="/manual/841/en/Connection%20Configuration" target="_self">JDBC manual</a> provides an example for this.</p><p>However, I could not find a way to pass alternative hosts to <a href="/wiki_apis/entry/connection-string" target="_self">ADO.NET connection string</a>. How can I do this?</p>]]></description>
                        <pubDate>Mon, 20 Feb 2012 20:14:57 -0800</pubDate>
                        <category>ADO.NET</category>
                        <category>connection string</category>
                        <category>broker</category>
                        <category>alternative host</category>
                                    <slash:comments>1</slash:comments>
                    </item>
            </channel>
</rss>
