Skip to content

Add support for ClickHouse JDBC driver in enum DatabaseDriver #42799

@mirkoscotti

Description

@mirkoscotti

I am using DataSourceBuilder to create a JDBC data source with this fragment of code

DataSourceBuilder.create(Thread.currentThread().getContextClassLoader())
				.type(DriverManagerDataSource.class)
				.driverClassName(DatabaseDriver.fromJdbcUrl(url).getDriverClassName())
				.url(url)
				.username(username)
				.password(password)
				.build()

Unfortunately my URL is jdbc:clickhouse://mydatabase:myport and DatabaseDriver does not define an item

CLICKHOUSE("ClickHouse", "com.clickhouse.jdbc.ClickHouseDriver", .... )

I wonder if you could add the support for this kind of database. My Maven dependency is spring-boot-dependencies 3.3.4.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by another

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions