{"id":17318397,"url":"https://github.com/olavloite/spanner-jdbc","last_synced_at":"2025-09-05T18:49:56.210Z","repository":{"id":57738093,"uuid":"83904401","full_name":"olavloite/spanner-jdbc","owner":"olavloite","description":"JDBC Driver for Google Cloud Spanner","archived":false,"fork":false,"pushed_at":"2020-09-15T09:47:01.000Z","size":2031,"stargazers_count":38,"open_issues_count":13,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-14T14:15:26.718Z","etag":null,"topics":["google-cloud-spanner","jdbc"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olavloite.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":"2017-03-04T15:44:22.000Z","updated_at":"2020-09-15T09:47:06.000Z","dependencies_parsed_at":"2022-08-25T20:41:50.449Z","dependency_job_id":null,"html_url":"https://github.com/olavloite/spanner-jdbc","commit_stats":null,"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olavloite%2Fspanner-jdbc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olavloite%2Fspanner-jdbc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olavloite%2Fspanner-jdbc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olavloite%2Fspanner-jdbc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olavloite","download_url":"https://codeload.github.com/olavloite/spanner-jdbc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248894943,"owners_count":21179153,"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":["google-cloud-spanner","jdbc"],"created_at":"2024-10-15T13:19:42.624Z","updated_at":"2025-04-14T14:15:34.763Z","avatar_url":"https://github.com/olavloite.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Status\n[![Build Status](https://travis-ci.org/olavloite/spanner-jdbc.svg?branch=master)](https://travis-ci.org/olavloite/spanner-jdbc)\n[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=nl.topicus%3Aspanner-jdbc\u0026metric=alert_status)](https://sonarcloud.io/dashboard/index/nl.topicus%3Aspanner-jdbc)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=nl.topicus%3Aspanner-jdbc\u0026metric=coverage)](https://sonarcloud.io/dashboard/index/nl.topicus%3Aspanner-jdbc)\n[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nl.topicus%3Aspanner-jdbc\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard/index/nl.topicus%3Aspanner-jdbc)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=nl.topicus%3Aspanner-jdbc\u0026metric=security_rating)](https://sonarcloud.io/dashboard/index/nl.topicus%3Aspanner-jdbc)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=nl.topicus%3Aspanner-jdbc\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard/index/nl.topicus%3Aspanner-jdbc)\n\n# DEPRECATED\n\n**Note: There is now a Google backed open source JDBC driver for Google Cloud Spanner.**\nIt is recommended that you use that driver. It can be found here: https://github.com/googleapis/java-spanner-jdbc\n\nThis community driver will continue to exist in its current form. It will however not implement any new features that Cloud Spanner might add in the future.\n\n## spanner-jdbc\nCommunity Open Source JDBC Driver for Google Cloud Spanner\n\nInclude the following if you want the thick jar version that includes all (shaded) dependencies. This is the recommended version unless you know that the transitive dependencies of the small jar will not conflict with the rest of your project.\n\n\u003cdiv class=\"highlight highlight-text-xml\"\u003e\u003cpre\u003e\n\u0026lt;\u003cspan class=\"pl-ent\"\u003edependency\u003c/span\u003e\u0026gt;\n \t\u0026lt;\u003cspan class=\"pl-ent\"\u003egroupId\u003c/span\u003e\u0026gt;nl.topicus\u0026lt;/\u003cspan class=\"pl-ent\"\u003egroupId\u003c/span\u003e\u0026gt;\n    \t\u0026lt;\u003cspan class=\"pl-ent\"\u003eartifactId\u003c/span\u003e\u0026gt;spanner-jdbc\u0026lt;/\u003cspan class=\"pl-ent\"\u003eartifactId\u003c/span\u003e\u0026gt;\n    \t\u0026lt;\u003cspan class=\"pl-ent\"\u003eversion\u003c/span\u003e\u0026gt;1.1.6\u0026lt;/\u003cspan class=\"pl-ent\"\u003eversion\u003c/span\u003e\u0026gt;\n\u0026lt;/\u003cspan class=\"pl-ent\"\u003edependency\u003c/span\u003e\u0026gt;\n\u003c/pre\u003e\u003c/div\u003e\n\nDownloads for both the current and older versions can be found here: https://github.com/olavloite/spanner-jdbc/releases\n\nBuilding your own version can be done using:\n\n`mvn install -DskipITs`\n\n(See the section [Building](#building) for more information on this)\n\n## JPA and Hibernate\nThis driver can be used with JPA and Hibernate. It is however recommended to use the officially supported driver at https://github.com/googleapis/java-spanner-jdbc in combination with the [officially supported Hibernate dialect](https://github.com/GoogleCloudPlatform/google-cloud-spanner-hibernate).\n\n## Building\nThe driver is by default a 'thick' jar that contains all the dependencies it needs. The dependencies are shaded to avoid any conflicts with dependencies you might use in your own project. Shading and adding the dependencies to the jar is linked to the `post-integration-test` phase of Maven. This means that you could build both a thin and a thick jar to use with your project, but please be aware that only the thick jar version is supported. If you decide to use the thin jar you need to supply the dependencies yourself.\n\n### Building a thick jar (default)\n\n`mvn install -DskipITs`\n\nSkipping the integration tests while building is necessary as these will try to connect to a default Cloud Spanner instance (or Cloud Spanner emulator) to run the tests on. The key file for authenticating on these default instances are not included in the source code.\n\n### Building a thin jar (not recommended)\n\n`mvn package`\n\nThis will give you a jar containing only the compiled source of the JDBC driver without the necessary dependencies. You will have to supply these yourself. This is not the recommended way of using the driver, unless you know what you are doing.\n\n\n### Credits\nThis application uses Open Source components. You can find the source code of their open source projects along with license information below.\n\nA special thanks to Tobias for his great JSqlParser library.\nProject: JSqlParser https://github.com/JSQLParser/JSqlParser \nCopyright (C) 2004 - 2017 JSQLParser Tobias\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folavloite%2Fspanner-jdbc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folavloite%2Fspanner-jdbc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folavloite%2Fspanner-jdbc/lists"}