clickhouse-java icon indicating copy to clipboard operation
clickhouse-java copied to clipboard

Configure oracle WebLogic server with clickhouse-jdbc driver.

Open Lelik13a opened this issue 5 years ago • 6 comments

In config file jdbcdrivers.xml required attribute: URLHelperClassname. `<Driver

Database="ClickHouse"

Vendor="Yandex"

Type="Type 4"

DatabaseVersion="Any"

ForXA="false"

ClassName="ru.yandex.clickhouse.ClickHouseDriver"

URLHelperClassname=???

TestSql="SELECT 1">`

Lelik13a avatar Mar 11 '20 06:03 Lelik13a

Can you use regular Java EE DataSource? Then you won't need the WebLogic specific things. See for example Weblogic manual

enqueue avatar Mar 11 '20 07:03 enqueue

Is there any progress of using Clickhouse JDBC driver with the WebLogic server? Most interested in the ability to send SQL queries from OBIEE Server using the date literal functionality like: Select * from clickhouse.table where date_column= {d'2020-01-01'}

bas-ter avatar May 29 '20 14:05 bas-ter

Finally I used clickhouse ODBC driver with weblogic. Its works.

Lelik13a avatar Jun 03 '20 13:06 Lelik13a

Did you get an error like this: SMA: Maximum-Sys-Allocation Exceeded (2415919681 > 2147483647)? I'm getting this error while trying to execute this SQL statement with string column: select USER_NAME from aaa1; SMA: Maximum-Sys-Allocation Exceeded (2415919681 > 2147483647) terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc

bas-ter avatar Jun 03 '20 13:06 bas-ter

No.

Lelik13a avatar Jun 03 '20 16:06 Lelik13a

@Lelik13a how did you connect odbc with clickhouse?

TunaBozkirr avatar Apr 05 '23 05:04 TunaBozkirr