Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Usage of DTP - Questions
Usage of DTP - Questions [message #650214] Sun, 23 January 2011 02:34 Go to next message
akoeck is currently offline akoeck
Messages: 62
Registered: December 2010
Member
I want to use some features and components of DTP in my application. But I've got some question instead.

1.) First of all I want to use the Data Source Explorer, and it should display MySQL 5.5 databases,and local XML and CSV files. Can I achieve this by modifying the Data Source Explorer or do I have to build my own via Common Navigator Framework?

2.) The second question is, if I could get the components to work together with MySQL 5.5 with the correct JConnector?

3.) Where are the information about the databases like table names, primary key, constraints are saved, and could i write these information into my own model?

4.) How or where is the Database Connection saved, so that at start of the application the connection is already displayed in the DSE?
Re: Usage of DTP - Questions [message #650791 is a reply to message #650214] Wed, 26 January 2011 10:21 Go to previous messageGo to next message
akoeck is currently offline akoeck
Messages: 62
Registered: December 2010
Member
Ok, most of that i could answer with the DTP FAQ.

But I have some new questions.
When I want to create a new Connection profile this wizard is opening. Can I modify this wizard so that only shows the databases I'm supporting?

Is there also a tutorial or something similar describing how to create my own driver and connection profile?

[Updated on: Wed, 26 January 2011 10:21]

Report message to a moderator

Re: Usage of DTP - Questions [message #650843 is a reply to message #650791] Wed, 26 January 2011 14:18 Go to previous messageGo to next message
Brian Fitzpatrick is currently offline Brian Fitzpatrick
Messages: 495
Registered: July 2009
Senior Member
Glad you found the FAQ. :)

You can't really modify the wizard, but you can uninstall the databases
you don't support. There really isn't a programmatic way to hide
databases so far as I know.

As for how to create your own driver template & connection profile,
check these links out:
http://stevenmcherry.wordpress.com/2009/04/24/programmatical ly-creating-dtp-driver-and-profile-definitions/
http://fitzdtp.blogspot.com/2008/06/how-do-you-add-your-own- custom-driver.html
http://fitzdtp.blogspot.com/2008/08/dtp-sqlite-support-conti nued-on-to.html
http://fitzdtp.blogspot.com/2008/08/creating-actual-sqlite-c onnection.html
http://fitzdtp.blogspot.com/2008/08/creating-sqlite-connecti on-profile-ui.html

Hope that helps!
--Fitz

akoeck@gmx.de wrote:
> Ok, most of that i could answer with the http://wiki.eclipse.org/DTP_FAQ
>
> But I hae some new questions.
> When I want to create a new Connection profile this wizard is opening.
> Can I modify this wizard so that only shows the databases I'm supporting?
>
> Is there also a tutorial or something similar describing how to create
> my own driver and connection profile?
Re: Usage of DTP - Questions [message #650942 is a reply to message #650843] Thu, 27 January 2011 04:10 Go to previous messageGo to next message
akoeck is currently offline akoeck
Messages: 62
Registered: December 2010
Member
Thanks for your reply.

I found your blogentries yesterday already by myself. ;)

But what exactly do you mean with "uninstall the databases"?
How do I do this?

Am 26.01.2011 20:18, schrieb Brian Fitzpatrick:
> Glad you found the FAQ. :)
>
> You can't really modify the wizard, but you can uninstall the databases
> you don't support. There really isn't a programmatic way to hide
> databases so far as I know.
>
> As for how to create your own driver template & connection profile,
> check these links out:
> http://stevenmcherry.wordpress.com/2009/04/24/programmatical ly-creating-dtp-driver-and-profile-definitions/
>
> http://fitzdtp.blogspot.com/2008/06/how-do-you-add-your-own- custom-driver.html
>
> http://fitzdtp.blogspot.com/2008/08/dtp-sqlite-support-conti nued-on-to.html
> http://fitzdtp.blogspot.com/2008/08/creating-actual-sqlite-c onnection.html
> http://fitzdtp.blogspot.com/2008/08/creating-sqlite-connecti on-profile-ui.html
>
>
> Hope that helps!
> --Fitz
>
> akoeck@gmx.de wrote:
>> Ok, most of that i could answer with the http://wiki.eclipse.org/DTP_FAQ
>>
>> But I hae some new questions.
>> When I want to create a new Connection profile this wizard is opening.
>> Can I modify this wizard so that only shows the databases I'm supporting?
>>
>> Is there also a tutorial or something similar describing how to create
>> my own driver and connection profile?
Re: Usage of DTP - Questions [message #651627 is a reply to message #650942] Mon, 31 January 2011 18:11 Go to previous message
Brian Fitzpatrick is currently offline Brian Fitzpatrick
Messages: 495
Registered: July 2009
Senior Member
I mean uninstalling the plug-ins. Basically removing them from the
installation directory.

Alex K wrote:
> Thanks for your reply.
>
> I found your blogentries yesterday already by myself. ;)
>
> But what exactly do you mean with "uninstall the databases"?
> How do I do this?
Previous Topic:DerivedTable.queryTable not setted
Next Topic:Unable to create a new database connection in DSE
Goto Forum:
  


Current Time: Wed Apr 23 19:52:43 EDT 2014

Powered by FUDForum. Page generated in 0.01782 seconds