Page 1 of 1

Copy or duplicate Driver

PostPosted: Fri Mar 18, 2016 5:51 pm
by johnz
I would like to make a copy of the "Apache Hive" driver that supports a different version of the Hive jars.

Currently, if two connections are useing the same driver, they seem to be sharing the same driver instance.
That is, if one connection changes its "connection settings" and uses the "Edit Driver Settings", to for example change the driver Libraries, the other connection will see the driver change.

The work around is to make a user defined new driver, by hand copying over all the fields from the original driver.
Some driver fields are not available in new user defined drivers, such as "website" field and defaults

Is there a way to clone a driver?

Re: Copy or duplicate Driver

PostPosted: Tue Apr 05, 2016 7:46 am
by iceman1hu
I found a way:

I copied in shell the $HOME/.dbeaver/Project1/.dbeaver-data-sources.xml file from old project into $HOME/.dbeaver/Project2/.dbeaver-data-sources.xml and after a DBeaver restart the database connections appear under the new project.

Is there any solution through the interface?

Thanks
Istvan

Re: Copy or duplicate Driver

PostPosted: Tue Apr 05, 2016 10:32 am
by Serge
You can copy-paste connections in UI. But not drivers.