Copy or duplicate Driver

Note: please leave bug reports and feature requests on

Copy or duplicate Driver

Postby johnz » Fri Mar 18, 2016 5:51 pm

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?
johnz
 
Posts: 4
Joined: Wed Mar 16, 2016 7:24 pm

Re: Copy or duplicate Driver

Postby iceman1hu » Tue Apr 05, 2016 7:46 am

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
iceman1hu
 
Posts: 2
Joined: Tue Apr 05, 2016 7:36 am

Re: Copy or duplicate Driver

Postby Serge » Tue Apr 05, 2016 10:32 am

You can copy-paste connections in UI. But not drivers.
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb


Return to Support



Who is online

Users browsing this forum: No registered users and 16 guests