Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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: Wed Jul 23 17:47:18 EDT 2025

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

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

Back to the top