{"id":21170076,"url":"https://github.com/covenantsql/cql-java-driver","last_synced_at":"2025-06-17T05:02:44.056Z","repository":{"id":52635316,"uuid":"145948928","full_name":"CovenantSQL/cql-java-driver","owner":"CovenantSQL","description":"Java Driver for CovenantSQL","archived":false,"fork":false,"pushed_at":"2021-04-22T18:18:20.000Z","size":18992,"stargazers_count":2,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T05:02:43.506Z","etag":null,"topics":["connector","database-connector","driver"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CovenantSQL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-24T06:01:25.000Z","updated_at":"2019-08-28T03:45:35.000Z","dependencies_parsed_at":"2022-08-21T09:40:39.290Z","dependency_job_id":null,"html_url":"https://github.com/CovenantSQL/cql-java-driver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CovenantSQL/cql-java-driver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CovenantSQL%2Fcql-java-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CovenantSQL%2Fcql-java-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CovenantSQL%2Fcql-java-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CovenantSQL%2Fcql-java-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CovenantSQL","download_url":"https://codeload.github.com/CovenantSQL/cql-java-driver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CovenantSQL%2Fcql-java-driver/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260294442,"owners_count":22987620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["connector","database-connector","driver"],"created_at":"2024-11-20T15:55:58.564Z","updated_at":"2025-06-17T05:02:44.028Z","avatar_url":"https://github.com/CovenantSQL.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CovenantSQL-Java-Connector\n\nCovenantSQL-Java-Connector is a Type 4 Java JDBC driver for [CovenantSQL](https://covenantsql.io) database querying.\n\n## Adding CovenantSQL-Java-Connector to your build \n\nTo add a dependency using Maven, use the following:\n\n```xml\n        \u003cdependency\u003e\n            \u003cgroupId\u003eio.covenantsql\u003c/groupId\u003e\n            \u003cartifactId\u003ecql-java-connector\u003c/artifactId\u003e\n            \u003cversion\u003e1.0.1\u003c/version\u003e\n        \u003c/dependency\u003e\n```\n\nTo add a dependency using Gradle:\n\n```gradle\nrepositories {\n    maven {\n      url 'https://raw.github.com/CovenantSQL/cql-java-driver/mvn-repo'\n    }\n}\n\ndependencies {\n  compile 'io.covenantsql:covenantsql-java-connector:1.0-SNAPSHOT'\n}\n```\n\n## Use CovenantSQL-Java-Connector with MyBatis\n\nConfigure the dataSource like the following example:\n\n```xml\n\u003cdataSource type=\"POOLED\"\u003e\n  \u003cproperty name=\"driver\" value=\"io.covenantsql.connector.CovenantDriver\"/\u003e\n  \u003cproperty name=\"url\" value=\"jdbc:covenantsql://${host}:${port}/${database}\"/\u003e\n  \u003cproperty name=\"driver.key_path\" value=\"${key_path}\"/\u003e\n  \u003cproperty name=\"driver.cert_path\" value=\"${cert_path}\"/\u003e\n  \u003cproperty name=\"driver.sslmode\" value=\"${sslmode}\"/\u003e\n  \u003cproperty name=\"driver.ssl\" value=\"${ssl}\"/\u003e\n\u003c/dataSource\u003e\n```\n\nExplanation:\n 1. Use `io.covenantsql.connector.CovenantDriver` as the driver class.\n 2. Replace `host` variable with the adapter host address.\n 3. Replace `port` variable with the adapter port.\n 4. Replace `database` variable with the adapter.\n 5. Replace `key_path` variable with the https certificate private key path.\n 6. Replace `cert_path` variable with the https certificate file path.\n 7. Replace `sslmode` variable to use none/strict mode for https certificate check.\n 8. Set `ssl` variable to true/false to enable/disable https adapter connection.\n \nYou can see a runnable example [Here](./example/src/main/java/io/covenantsql/connector/example/mybatis).   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcovenantsql%2Fcql-java-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcovenantsql%2Fcql-java-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcovenantsql%2Fcql-java-driver/lists"}