Sql Developer connector to Sql Server 2012 - error “Vendor code 207”

安稳与你 提交于 2019-12-07 01:58:38

问题


I am trying to connect from Sql Develper 4.0.3.16 to Sql Server 2012, with jTDS connector jtds-1.3.1.jar.

OS: Ubuntu 14.04

Java:

~$ java -version
java version "1.7.0_72"
Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)

In the create connection window, when I test the connection it is successful.

When I open the connection I can see all the databases. When I try to open a database that I am supposed to have a permission to open, I am getting the following error window:

Any ideas?

P.S. if Microsoft has a JDBC driver sqljdbc4-4.0.jar (which works for me when I connect from Java code to Sql Server 2012), then why do I have to use jTDS in order to connect Sql developer to Sql Server? It seems like the Microsoft jdbc driver is not accepted by Sql Developer when I try to used it as a connector.

Before clicking on +

After clicking on +


回答1:


As it's explained here, so far sql developer supports only up to sql server 2012. In my case I'm using 2014 version, which isn't supported.

UPDATE There've been several updates, which provide support to newer databases. Check them out, now I'm able to connect to my servers using SQL Developer.



来源:https://stackoverflow.com/questions/27931891/sql-developer-connector-to-sql-server-2012-error-vendor-code-207

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!