atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Pancholi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-1212) In Apache Meta model I would like to set socket timeout while connecting with the database
Date Wed, 05 Oct 2016 10:36:21 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15548336#comment-15548336
] 

Ashish Pancholi commented on ATLAS-1212:
----------------------------------------

I am using the latest version of Apache Meta-model and trying to connect with SQL Server using
{code} 
DriverManager.getConnection(String url,
        String user, String password) throws SQLException
{code}
 but it stuck for 6 hours now therefore I need to set a socket time out. I saw a method 
{code}
public static void setLoginTimeout(int seconds) {
        loginTimeout = seconds;
}
{code}

Does it for the setting a socket time out? Please help. Thanks in advance. 


> In Apache Meta model I would like to set socket timeout while connecting with the database
> ------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-1212
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1212
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Ashish Pancholi
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message