A JDBC database driver for github.com/chirst/cdb
- Download the
.jar
file for this repository. - Create a user driver in DataGrip. Provide the
.jar
file and select the driver classcom.cdb.Cdb
. - Under the "Advanced" tab provide
--enable-preview --enable-native-access=ALL-UNNAMED
for the VM options. This is necessary because this driver uses the Java foreign function memory API (a preview feature) to invoke CDB's C interface. - Once the driver is created, create a datasource with the driver. Select "No
Auth" for the authentication and provide a filename for your database in the
URL field.
:memory:
is a good option if you don't want to create a database file.