Skip to main content


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 09:38 Go to next message
Przemek B is currently offline Przemek BFriend
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 13:11 Go to previous messageGo to next message
Jane Thalen is currently offline Jane ThalenFriend
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 21:05 Go to previous message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 500
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 13:11 Go to previous message
Jane Thalen is currently offline Jane ThalenFriend
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 21:05 Go to previous message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 500
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: Thu Apr 18 09:48:28 GMT 2024

Powered by FUDForum. Page generated in 0.02954 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top