Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Database connection property file
Database connection property file [message #534765] Thu, 20 May 2010 05:38 Go to next message
Przemek B is currently offline Przemek B
Messages: 2
Registered: May 2010
Junior Member
Hello,

is there a way to create automatically a file, which user can copy somewhere into eclipse (or workspace metada) and have defined a connection to a database with specified driver?

I can not find any file, which would contain information about db connection I made by GUI...

We wanted in our company to configure eclipse automatically with specified connection, so the user can user it after copying some file, rather than configuring it by himself.

Thanks for any help.

Regards
Re: Database connection property file [message #534826 is a reply to message #534765] Thu, 20 May 2010 09:11 Go to previous messageGo to next message
Jane Thalen is currently offline Jane Thalen
Messages: 9
Registered: April 2010
Junior Member
I'm not sure if you can do it via config file, but you can do it programmatically through a plug-in with a startup extension. There is a good explanation here:

http://stevenmcherry.wordpress.com/2009/04/24/programmatical ly-creating-dtp-driver-and-profile-definitions/
Re: Database connection property file [message #534980 is a reply to message #534826] Thu, 20 May 2010 17:05 Go to previous message
Brian Fitzpatrick is currently offline Brian Fitzpatrick
Messages: 495
Registered: July 2009
Senior Member
Jane Thalen wrote:
> I'm not sure if you can do it via config file, but you can do it
> programmatically through a plug-in with a startup extension. There is a
> good explanation here:
>
> http://stevenmcherry.wordpress.com/2009/04/24/programmatical ly-creating-dtp-driver-and-profile-definitions/
>
>
Great link! I just added that one to the DTP Wiki. Thanks for pointing
it out and helping out Przemek!
Re: Database connection property file [message #597522 is a reply to message #534765] Thu, 20 May 2010 09:11 Go to previous message
Jane Thalen is currently offline Jane Thalen
Messages: 9
Registered: April 2010
Junior Member
I'm not sure if you can do it via config file, but you can do it programmatically through a plug-in with a startup extension. There is a good explanation here:

http://stevenmcherry.wordpress.com/2009/04/24/programmatical ly-creating-dtp-driver-and-profile-definitions/
Re: Database connection property file [message #597529 is a reply to message #597522] Thu, 20 May 2010 17:05 Go to previous message
Brian Fitzpatrick is currently offline Brian Fitzpatrick
Messages: 495
Registered: July 2009
Senior Member
Jane Thalen wrote:
> I'm not sure if you can do it via config file, but you can do it
> programmatically through a plug-in with a startup extension. There is a
> good explanation here:
>
> http://stevenmcherry.wordpress.com/2009/04/24/programmatical ly-creating-dtp-driver-and-profile-definitions/
>
>
Great link! I just added that one to the DTP Wiki. Thanks for pointing
it out and helping out Przemek!
Previous Topic:Database connection property file
Next Topic:Possible bug in deleting a db connection profile
Goto Forum:
  


Current Time: Tue Jul 29 17:08:50 EDT 2014

Powered by FUDForum. Page generated in 0.02286 seconds