Bug 116415 - Package DTP as an "SQL Manager" replacement
Summary: Package DTP as an "SQL Manager" replacement
Status: RESOLVED FIXED
Alias: None
Product: Data Tools
Classification: Tools
Component: Connectivity (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 1.8   Edit
Assignee: Brian Fitzpatrick CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2005-11-15 04:57 EST by Oyvind Harboe CLA
Modified: 2010-03-10 12:52 EST (History)
1 user (show)

See Also:


Attachments
Initial cut of DTP RCP application (106.73 KB, application/octet-stream)
2009-04-08 12:35 EDT, Brian Fitzpatrick CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oyvind Harboe CLA 2005-11-15 04:57:26 EST
Microsoft SQL server comes with a not too impressive GUI "SQL manager".

However, this simple GUI has been very effective at reaching a broad audience
over the years because it has a very low threshold for doing basic tasks such as:

- exploring the database
- making simple modifications to the database model
- creating small database models

By simplifying the GUI, the DTP could be made to fill this role, only with
database & OS independance. 

Try finding an "SQL Manager" equivalent which covers MS SQL Server, MySQL &
PostgreSQL across Windows & Linux.  Not easy.

I took the DTP for a quick spin, and it is rather hard to get started:

- I found the Data Source Explorer view easily enough.
- I had a JDBC connection string + class and at this point this point I 
  was ready to start exploring my database. The first thing I'm asked to do
  is to create a "Database connection profile". I don't know what a "Database
  connection profile" is. This is a new concept. It would be much nicer if
  I was offered something familiar, like "Add JDBC connection".
- My JDBC connection string was in my Java project, which the modal requester 
  blocked access to.
- Next I have to enter a name for "Database connection profile". IMHO, 
  this requester is superfluous. It is possible to rename the connection 
  afterwards(DTP would then assign some default name like "untitled1").
  Since I'm unfamiliar with the "Database connection profile" 
  concept, I have no idea what to call it. As to giving a description... :-)
- The "Driver" concept is confusing. "JDBC driver" and "DTP Driver" are 
  different things. 
- I was able to add a "Connection profile" via my JDBC connection string. Ping
  works. However at this point I'm stuck. I have not yet been able to
  explore my database. I would have expected a "+" next to my connection 
  profile. Is this because Generic JDBC connections do not allow exploring
  the database? This was with an MS SQL Server.

It appears to me that the DTP has a much broader scope than just exploring
databases. This causes a challenge in the user interface w.r.t. not introducing
new concepts any earlier than necessary. 

E.g. The user may be familiar with JDBC conections. At which point should new
concepts be introduced that allows other kinds of data sources/connections? It
could be months or years before the user needs anything else than his JDBC
connections.
Comment 1 Oyvind Harboe CLA 2005-11-15 16:03:58 EST
http://www.eclipse.org/rcp might be useful here.
Comment 2 Rob Cernich CLA 2006-04-17 13:03:38 EDT
Changed this to assigned by mistake.

Reading the description I find it difficult to locate a defect or enhancement request other than "package DTP as a SQL manager replacement," which is very broad and vague, and DTP components be usable within a minimal RCP environment.  Please clarify.

Thanks,
Rob
Comment 3 Oyvind Harboe CLA 2006-04-18 04:12:53 EDT
(In reply to comment #2)
> Changed this to assigned by mistake.
> 
> Reading the description I find it difficult to locate a defect or enhancement
> request other than "package DTP as a SQL manager replacement," which is very
> broad and vague, and DTP components be usable within a minimal RCP environment.
>  Please clarify.

You have understood me correctly.

This request is analogous to the "Package Eclipse CDT as Insight killer" and the same arguments apply.


https://bugs.eclipse.org/bugs/show_bug.cgi?id=39640


> 
> Thanks,
> Rob
> 
Comment 4 Brian Fitzpatrick CLA 2008-08-08 12:14:20 EDT
This is in line with one of the goals for Galileo and should be investigated.
Comment 5 Brian Fitzpatrick CLA 2009-04-08 12:35:57 EDT
Created attachment 131311 [details]
Initial cut of DTP RCP application

This is an initial cut of a possible DTP RCP application. Basically think just the DTP Database Development perspective without the rest of Eclipse. Hopefully it will become more than this, but I think this is a good start.

Big thanks go to Enrico Schenk of Ingres, who got me going with an initial contribution that I munged a bit and included here.
Comment 6 Brian Fitzpatrick CLA 2009-04-08 12:37:15 EDT
Enrico, can you help with this a bit? You mentioned that you really pared down the RCP app you guys did so it was a fairly small footprint. Any help you can provide along those lines would be great.
Comment 7 Oyvind Harboe CLA 2009-04-11 12:11:06 EDT
A really *great* application that has this nailed down is

http://www.squirrelsql.org/

Perhaps an idea to touch base with those guys before you break your back trying to make an open source competitor?
Comment 8 Brian Fitzpatrick CLA 2009-04-13 09:29:16 EDT
I understand that. But honestly we're not trying to compete, just provide an alternative to use existing DTP tools. 
Comment 9 Brian Fitzpatrick CLA 2009-04-13 09:29:39 EDT
It wouldn't be a bad idea to touch base with them however, so thanks for that idea. :)
Comment 10 Brian Fitzpatrick CLA 2009-09-02 11:39:03 EDT
Setting to Helios (1.8) target milestone
Comment 11 Brian Fitzpatrick CLA 2010-03-10 12:52:24 EST
I have delivered this to the Enablement directory in CVS. It's available. Running into issues exporting it at the moment, but the code is there.