Problems with DB type Ms-Sql Server 2008 and JDBC Datasource in application

Hi,

When I try to set up “JDBC Datasource in: application” and “Database type: Ms Sql Server 2008” on Main Data Store option in Cuba Studio, the “Database type” value changes automatically to “Ms Sql Server 2005”, using jtds.jdbc driver with the consequent error when the application runs in local dev environment:

2021-04-07 17:28:54.021 ERROR [main] com.zaxxer.hikari.HikariConfig - Failed to load driver class net.sourceforge.jtds.jdbc.Driver from HikariConfig class classloader java.net.URLClassLoader@50b472aa
2021-04-07 17:28:54.033 ERROR [main] com.zaxxer.hikari.util.PropertyElf - Failed to set property driverClassName on target class com.zaxxer.hikari.HikariConfig

For a better understanding of the problem, there’s a video capture reproducing the problem.

The platform used is:
CUBA Platform version: 7.2.11
CUBA Studio plugin version: 15.3-202
IntelliJ version: CUBA Studio 2020.2

Is there any workaround to solve this problem?

Regards,

Hi! Thank you for reporting the problem! I have created new issue in our bugtracker.

1 Like

Great!.. good job Cuba-Platform support’s team!!. Solved problem.