Bug 214014 - No schema in Data Source Explorer for SQL 2000
Summary: No schema in Data Source Explorer for SQL 2000
Status: NEW
Alias: None
Product: Data Tools
Classification: Tools
Component: Enablement (show other bugs)
Version: 1.5.1   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: future   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2007-12-29 04:52 EST by Spec Dev CLA
Modified: 2009-08-27 15:11 EDT (History)
4 users (show)

See Also:


Attachments
screenshot (96.95 KB, image/png)
2007-12-29 04:52 EST, Spec Dev CLA
no flags Details
connection configuration 1 (48.76 KB, image/x-png)
2008-01-26 18:42 EST, Spec Dev CLA
no flags Details
connection configuration 2 (23.20 KB, image/x-png)
2008-01-26 18:43 EST, Spec Dev CLA
no flags Details
eclipse config 1 (138.35 KB, image/x-png)
2008-01-26 18:43 EST, Spec Dev CLA
no flags Details
eclipse config 2 (138.13 KB, image/x-png)
2008-01-26 18:43 EST, Spec Dev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Spec Dev CLA 2007-12-29 04:52:59 EST
Created attachment 85928 [details]
screenshot

Build ID: M20071023-1652

Steps To Reproduce:
1. create a connection profile to SQL 2000
2. connect
3. no schema displayed in Data Source Explorer


More information:
I am using Eclipse Version: 3.3.1.1 J2EE version with all the latest updates (including the latest DTP, EMF, and GEF).

I am not able to get the schema information in Data Source Explorer for a SQL 2000 database.
Note: SQL 2000 does not define schemas, rather table reside under "dbo" (default schema).
Comment 1 Neil Hauge CLA 2008-01-02 09:28:12 EST
Is this a problem in all of your catalogs or just the one referenced in the screenshot?  

Assigning this to DTP group for further investigation.
Comment 2 John Graham CLA 2008-01-02 10:58:58 EST
Please check your eclipse\features directory for:

* org.eclipse.datatools.enablement.msft.feature

if present, let us know the version/date stamp appended on that feature (the part after _)

Also, you'll want to look in eclipse\plugins for:

org.eclipse.datatools.enablement.msft.*

plug-ins. Depending on your DTP version, there would be either 2 or 3 of these. Again, please let us know the version/date stamp for these plug-ins.

AFAIK, MSFT SQL Server 2000 should display tables and columns at least.
Comment 3 Brian Fitzpatrick CLA 2008-01-14 14:16:59 EST
Hey Neil...

Quick question... The fact that there are no schemas appearing in the DSE may be symptomatic of one of two things... If the databaseName is not specified in the JDBC URL, I've seen this occur. And if that's the case, user names seem to have a default catalog associated with them and if the default isn't set to the catalog you're looking for, you won't see any schemas for that catalog. 
Comment 4 Spec Dev CLA 2008-01-26 18:41:46 EST
Sorry for the delayed reply and thanks for the help.

Attached are more screenshoot with with connection info and eclipse configurations.

1. all the schemas have the same issue.
2. the user has been set as dbo for all schemas.
3. the Northwind database was set as the user's default schema.

Comment 5 Spec Dev CLA 2008-01-26 18:42:54 EST
Created attachment 87957 [details]
connection configuration 1
Comment 6 Spec Dev CLA 2008-01-26 18:43:15 EST
Created attachment 87958 [details]
connection configuration 2
Comment 7 Spec Dev CLA 2008-01-26 18:43:34 EST
Created attachment 87959 [details]
eclipse config 1
Comment 8 Spec Dev CLA 2008-01-26 18:43:54 EST
Created attachment 87960 [details]
eclipse config 2
Comment 9 Brian Fitzpatrick CLA 2008-03-25 13:50:09 EDT
After looking more closely at your driver configuration, it appears you're not using the MSSQL driver from Microsoft, which is probably the root of the problem. Can you try it with Microsoft's driver and also provide a link to where I can get the other driver you're using?
Comment 10 Spec Dev CLA 2008-03-26 06:58:02 EDT
(In reply to comment #9)

Brian, I am using the JTDS drivers: http://jtds.sourceforge.net/

I do have the DataDirect drivers for MS SQL 2000.
Or do you need me to test with the MS SQL Server 2005 JDBC Driver 1.2? Or both?

I will make another test this coming weekend.

Thanks.
Comment 11 Jesper Moller CLA 2008-03-26 08:37:24 EDT
I think this a dupe of bug 208776 which also concerns jTDS on SQL Server 2000.
It was fixed in 1.5.2 and 1.6 (M4 ot M5 I think), so if you are still on 1.5.1 that could be the explanation.
Comment 12 Brian Fitzpatrick CLA 2008-04-18 11:17:19 EDT
I just tested with the latest Ganymede (1.6) codeline and jTDS and I get all the bells and whistles to show up in the DSE. Can you try it with 1.5.2 and 1.6 when you get a chance, like Jesper suggested?
Comment 13 Brian Fitzpatrick CLA 2008-07-02 13:55:31 EDT
Has anyone had a chance to try this with the 1.6 version of DTP (Ganymede release)?