[GH-ISSUE #1286] Adding a new driver does not work #280

Closed
opened 2026-03-07 20:47:15 +03:00 by kerem · 3 comments
Owner

Originally created by @dgkim11 on GitHub (Nov 16, 2022).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/1286

Hi,

I need to add Sap Hana Jdbc driver to Cloudbeaver Community. I followed the guide document(https://github.com/dbeaver/cloudbeaver/wiki/Adding-new-database-drivers) but I can't see the new driver. This is my works.
I found "sap_hana" driver in plugin.xml in dbeaver. So, I used the driver for my Sap Jdbc driver.
Step1, I add a sap_hana folder in drivers directory of cloudbeaver with the following pom.xml,please refer to the attached file. (https://github.com/dbeaver/cloudbeaver/files/10018941/sap_hana.zip).
Step2. I added 'sap_hana' to the root pom.xml in drivers directory.
Step3, I updated plugin.xml file in bundle/io.cloudbeaver.resources.drivers.base directory. with the following items.



Step4. executed build.sh and I got the following message during building.
...
[INFO] drivers.sap_hana 1.0.0 ............................. SUCCESS [ 2.318 s]
...

Is there any missing or wrong task?

Thanks,
Dongkyun

Originally created by @dgkim11 on GitHub (Nov 16, 2022). Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/1286 Hi, I need to add Sap Hana Jdbc driver to Cloudbeaver Community. I followed the guide document(https://github.com/dbeaver/cloudbeaver/wiki/Adding-new-database-drivers) but I can't see the new driver. This is my works. I found "sap_hana" driver in plugin.xml in dbeaver. So, I used the driver for my Sap Jdbc driver. Step1, I add a sap_hana folder in drivers directory of cloudbeaver with the following pom.xml,please refer to the attached file. (https://github.com/dbeaver/cloudbeaver/files/10018941/sap_hana.zip). Step2. I added '<module>sap_hana</module>' to the root pom.xml in drivers directory. Step3, I updated plugin.xml file in bundle/io.cloudbeaver.resources.drivers.base directory. with the following items. <resource name="drivers/sap_hana"/> <bundle id="drivers.sap_hana" label="SAP Hana drivers"/> <driver id="generic:sap_hana"/> Step4. executed build.sh and I got the following message during building. ... [INFO] drivers.sap_hana 1.0.0 ............................. SUCCESS [ 2.318 s] ... Is there any missing or wrong task? Thanks, Dongkyun
kerem 2026-03-07 20:47:15 +03:00
Author
Owner

@kseniaguzeeva commented on GitHub (Nov 16, 2022):

Could you please give me a description what exactly have been wrong in your case (an error message etc.)? What have you received after finishing your steps?

<!-- gh-comment-id:1317173562 --> @kseniaguzeeva commented on GitHub (Nov 16, 2022): Could you please give me a description what exactly have been wrong in your case (an error message etc.)? What have you received after finishing your steps?
Author
Owner

@dgkim11 commented on GitHub (Nov 16, 2022):

I could not find any error message during build. The below is the log of build.sh
build-cloudbeaver.log
As you can see, the result was success.
Then, I executed deploy/cloudbeaver/run-server.sh and I expected to see the Sap hana driver on Cloudbeaver, but I could not see it like the below screen capture.
availableDrivers
I found sap_hana folder in server/drivers after building.
As I mentioned, to add the new driver, I created 'drivers/sap_hana' and pom.xml with the maven dependency in the folder.
Then, i updated plugin.xml to add the driver. The below file is the folders I updated.
아카이브.zip
Could you please let me know what is wrong?

<!-- gh-comment-id:1317823264 --> @dgkim11 commented on GitHub (Nov 16, 2022): I could not find any error message during build. The below is the log of build.sh [build-cloudbeaver.log](https://github.com/dbeaver/cloudbeaver/files/10026385/build-cloudbeaver.log) As you can see, the result was success. Then, I executed deploy/cloudbeaver/run-server.sh and I expected to see the Sap hana driver on Cloudbeaver, but I could not see it like the below screen capture. <img width="1489" alt="availableDrivers" src="https://user-images.githubusercontent.com/5905957/202315543-e1dd8fd2-cb22-4455-99e1-92b05179cc14.png"> I found sap_hana folder in server/drivers after building. As I mentioned, to add the new driver, I created 'drivers/sap_hana' and pom.xml with the maven dependency in the folder. Then, i updated plugin.xml to add the driver. The below file is the folders I updated. [아카이브.zip](https://github.com/dbeaver/cloudbeaver/files/10026434/default.zip) Could you please let me know what is wrong?
Author
Owner

@dgkim11 commented on GitHub (Nov 22, 2022):

I resolved this issue. The document of 'https://github.com/dbeaver/cloudbeaver/wiki/Adding-new-database-drivers' is not correct. I think this doc should be updated. There is Sap Hana driver already in Dbeaver. Do not use the generic plugin, but instead, you can find org.jkiss.dbeaver.ext.hana plugin. Use it in the plugin.xml of Cloudbeaver.

<!-- gh-comment-id:1324367019 --> @dgkim11 commented on GitHub (Nov 22, 2022): I resolved this issue. The document of 'https://github.com/dbeaver/cloudbeaver/wiki/Adding-new-database-drivers' is not correct. I think this doc should be updated. There is Sap Hana driver already in Dbeaver. Do not use the generic plugin, but instead, you can find org.jkiss.dbeaver.ext.hana plugin. Use it in the plugin.xml of Cloudbeaver.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#280
No description provided.