{"id":19438007,"url":"https://github.com/srotya/sidewinder-jdbc","last_synced_at":"2026-06-06T23:32:31.478Z","repository":{"id":90519541,"uuid":"132551710","full_name":"srotya/sidewinder-jdbc","owner":"srotya","description":"Sidewinder JDBC Server","archived":false,"fork":false,"pushed_at":"2018-05-08T04:32:38.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-07T21:26:08.219Z","etag":null,"topics":["jdbc","jdbc-driver","sidewinder","timeseries","tsdb"],"latest_commit_sha":null,"homepage":"https://sidewinder.srotya.com/","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/srotya.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-08T04:00:47.000Z","updated_at":"2018-05-08T04:32:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"8288c484-87af-4f5e-9af8-91a81961fb7f","html_url":"https://github.com/srotya/sidewinder-jdbc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srotya%2Fsidewinder-jdbc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srotya%2Fsidewinder-jdbc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srotya%2Fsidewinder-jdbc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srotya%2Fsidewinder-jdbc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srotya","download_url":"https://codeload.github.com/srotya/sidewinder-jdbc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240619442,"owners_count":19830206,"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":["jdbc","jdbc-driver","sidewinder","timeseries","tsdb"],"created_at":"2024-11-10T15:16:30.276Z","updated_at":"2025-02-25T07:16:19.030Z","avatar_url":"https://github.com/srotya.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sidewinder-JDBC Driver [Experimental]\nSidewinder now supports JDBC with SQL powered by [Apache Calcite](https://calcite.apache.org/) and JDBC powered by [Avatica Server](https://calcite.apache.org/avatica/). \n\n\n## Sidewinder JDBC configuration\n\n### Server Side\nSidewinder JDBC server is disabled by default, it can be enabled and configured using the following properties\n\n|Config         |Description                                            |\n|---------------|------------------------------------------------------ |\n|jdbc.enabled   |Enable/disable JDBC server. Default: false             |\n|jdbc.port      |Port number to run JDBC server on. Default: 1099       |\n\n```\nNote: minimum version 0.2.2 is needed for JDBC functionality\n```\n\n### Client Side\nSidewinder JDBC driver currently supports standard Avatica JDBC configuration can be found here: [https://calcite.apache.org/avatica/docs/client_reference.html](https://calcite.apache.org/avatica/docs/client_reference.html)\n\n## How to connect?\nSimply make the JDBC driver jar in classpath of your client application including applications like Tableau and configure connection using instructions above. \n\nSidewinder SQL is purely read-only and can be used only for select type statements, no DDL or DML operations can be executed via JDBC.\n\n```\nNote: Currently there is no support for authentication\n``` \n\n\n## Sample code\n\n```\nimport java.sql.Connection;\nimport java.sql.DatabaseMetaData;\nimport java.sql.DriverManager;\nimport java.sql.ResultSet;\nimport java.sql.SQLException;\n\n/**\n *\n */\npublic class App {\n\tpublic static void main(String[] args) throws SQLException {\n\t\tConnection connection = DriverManager.getConnection(\"jdbc:avatica:remote:url=http://localhost:1099\");\n\t\tDatabaseMetaData md = connection.getMetaData();\n\t\tResultSet rs = md.getTables(null, null, \"%\", null);\n\t\twhile (rs.next()) {\n\t\t\tSystem.out.println(rs.getString(2) + \"  \" + rs.getString(3));\n\t\t}\n\t\tconnection.close();\n\t}\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrotya%2Fsidewinder-jdbc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrotya%2Fsidewinder-jdbc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrotya%2Fsidewinder-jdbc/lists"}