Is there a jdbc driver for SQL Server that can search for database instances on network?
        Posted  
        
            by djangofan
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by djangofan
        
        
        
        Published on 2009-07-02T18:58:47Z
        Indexed on 
            2010/04/02
            2:43 UTC
        
        
        Read the original article
        Hit count: 501
        
jdbc
|sql-server
Is there a jdbc driver for SQL Server that can search for database instances on network?
Just wanting to emulate "OSQL -L" from the JDBC driver. Dont want to have to call OSQL from JNI or something. I also don't want to have to write my own code for scanning a UDP port.
I want my Java application to be able to search for live SQL Servers and prompt me with a list of available servers. Isn't this a reasonable expectation for a JDBC driver? OSQL.exe can do it and so why not the JDBC driver?
© Stack Overflow or respective owner