Second data-source.xml

Feature requests and their debate

Second data-source.xml

Postby Tarias » Thu Sep 03, 2015 10:28 am

Hi,

I know that all data sources for DBeaver are stored into the .dbeaver-data-sources.xml file.
Is it possible to add a second optional file like .dbeaver-core-data-sources.xml, which
is not editable in DBeaver itself.

The reason is that I want to distribute a core data sources to my colleagues, but I don't want
to override their own added sources. Can you please extend DBeaver that it loads this second
data source if it exists.

Thank you very much

Regards
Tarias
 
Posts: 18
Joined: Wed May 13, 2015 8:05 am

Re: Second data-source.xml

Postby Serge » Thu Sep 03, 2015 6:28 pm

Yes, it makes sense. And easy to implement.

But I think it's better to have any number of extra config files. For instance all files with name starting with ".dbeaver-data-sources".
.dbeaver-data-sources-extra.xml, .dbeaver-data-sources-2.xml, etc.
I'll add this feature in the next version.
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: Second data-source.xml

Postby Tarias » Fri Sep 04, 2015 6:20 am

Thank you very much Serge

Best Regards
Tarias
 
Posts: 18
Joined: Wed May 13, 2015 8:05 am

Re: Second data-source.xml

Postby Tarias » Tue Sep 29, 2015 6:09 am

Hi Serge

If tried version 3.5 and created several data sources xml, but the program
only uses the original one. Do you one when this feature will be included?

Thank you

Best Regards
Tarias
 
Posts: 18
Joined: Wed May 13, 2015 8:05 am

Re: Second data-source.xml

Postby Serge » Tue Sep 29, 2015 7:02 am

Problem is in project contents refresh. I'll add auto-refresh in the next version.

Workaround: switch to Project Navigator view, select you project and press F5. Then restart DBeaver.
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb


Return to Feature Requests



Who is online

Users browsing this forum: Google [Bot] and 2 guests