Allow to add shared lib for all drivers
See original GitHub issueIs your feature request related to a problem? Please describe. My custom JDBC driver library depends on yet another jar (an SDK) that can only be loaded once, not per driver, and so I need to load it in a parent class loader, not as a driver-specific lib in drivers manager
Describe the solution you’d like A command-line option to prepend the parent class loader’s classpath
Describe alternatives you’ve considered
I tried dbeaver -vmargs -classpath /path/to/sdk/jar
and CLASSPATH=/path/to/sdk/jar dbeaver
but the SDK’s class that’s needed by the custom JDBC driver still can not be found.
Additional context Everything works if I load the SDK as a driver library, but this approach has unacceptable limitations including
- only one driver may be used concurrently because the SDK employs static variables
- some drivers can not be used at all because the SDK is not loaded by the parent class loader
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Extending with Shared Libraries - Jenkins
Any Folder created can have Shared Libraries associated with it. This mechanism allows scoping of specific libraries to all the Pipelines inside of...
Read more >Set up or join an iCloud Shared Photo Library in Photos on ...
Go to Settings > [your name] > iCloud > Photos, tap Shared Library, then follow the instructions onscreen to add participants and move...
Read more >shared library -- .so - linux device driver - Stack Overflow
Your shared library is to be used by user-space application, while the driver lives in the kernel. You don't link user-space apps directly...
Read more >How To Use Shared Libraries In A Jenkins Pipeline?
Instead of creating five different Jenkinsfiles, let's create one Jenkins pipeline library & share it across all Spring Boot applications.
Read more >Building And Using Static And Shared "C" Libraries
Compile a list of object files, then insert them all into a shared library file. However, there are two major differences:
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Implemented and will be available in DBeaver 21.2.4.
You can specify any amount of JAR files you want to use “globally”.
Hello @qrkourier,
Thanks for feature request.
We can provide a way to specify global libraries that will be shared between all drivers.