Site Navigation
Blog Navigation
Search
Sponsored Links

Categories
Archives
Oracle SQL Developer, jtds driver, and SQL Server 2005

So I’ve been having this bug lately with Oracle SQL Developer…

It started because the SQL Studio that comes with SQL Server 2005 *blows*.  It appears to be written in managed code, is a memory hog, and is slow as frozen dog shit.  So, given that I had been doing some oracle stuff and had SQL Developer sitting on my system, I decided to use that.  For awhile, all was good, and right with the world.

Then some ass in IT decided to move all of our dev databases from servername to servername\servername2005.  I tried to go in and reconfigure my servers in SQL Developer only to find that there was no way to specify the instance name for SQL Server connections using the jtds driver.

I googled this, and found a workaround which was to use 1433;instance=instancename in the port box.  This allowed me to connect, but most of the tables were missing.  So I went back to using SQL server’s shitty utility to get my work done.

I fired up SQL Developer again today to get some oracle work done and it had an update for the jtds driver, so I decided to give it a try again.  Still nothing, but I was renewed in my search for a solution.  I finally found one…instead of 1433;instance=instancename in the port box, I used 1433/databasename;instance=instancename in there.  Now all my tables show up just fine.

Sanity once again restored.


Posted April 11, 2008 at 12:33 pm in fixes Permalink
Comments
6 Comments posted.

On 4/22/08 at 7:06 am, Jon Harvey proclaimed...

Thank you very much!


On 5/7/08 at 12:33 pm, Glenn proclaimed...

Thank you very much

After wasting the equivalent of 2 to 3 days trying to connect sqldeveloper to sqlserver, the
1433/databasename;instance-instancename
worked like a charm. The best I could get out of the oracle forums as to install the jtds driver - and that was it.

May 7


On 7/9/08 at 8:21 pm, Richard proclaimed...

Thanks, it’s incredible that’s not in the documentation.

I’m trying to use sqldeveloper migration stuff, being unable to connect to sqlsvr was rather limiting.


On 8/15/08 at 2:07 pm, Marichele proclaimed...

Thank you so much!
First time using sqlserver and toad costs too much.


On 12/9/08 at 2:04 pm, Eric proclaimed...

a bit off topic here, but why can i connect to SQL2005 using Oracle SQL Developer and jtds, but it appears to be read-only? I can not add a table, edit a table, add views, etc. no option is even displayed to do so.


On 12/11/08 at 3:03 pm, Tom proclaimed...

Other than making sure you have the privileges to do those things, as well as making sure the DB isn’t in some sort of maintenance mode, I’d consult google, or better yet, a MSSQL expert.

Sorry I couldn’t be of more help ^_^;;



Leave a comment:

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>