ClickHouse

Testing

To test against ClickHouse docker test container set the platform to clickhouse in src/test/resources/application-test.yaml

Refer to docs / testing if application-test.yaml doesn't exist yet.

ebean:
  test:
    platform: clickhouse #, h2, postgres, mysql, oracle, sqlserver
    ddlMode: dropCreate # none | dropCreate | migrations | create
    dbName: test

The above will use the following defaults:

username:default
password:(empty)
port:8123
url:jdbc:clickhouse://localhost:{port}/{databaseName}
driver:ru.yandex.clickhouse.ClickHouseDriver
image:yandex/clickhouse-server:{version}