RandomSec/extensions/database
dependabot[bot] a1090bfa19
build(deps): bump google-http-client-jackson2 from 1.40.0 to 1.40.1 (#4201)
Bumps [google-http-client-jackson2](https://github.com/googleapis/google-http-java-client) from 1.40.0 to 1.40.1.
- [Release notes](https://github.com/googleapis/google-http-java-client/releases)
- [Changelog](https://github.com/googleapis/google-http-java-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-http-java-client/compare/v1.40.0...v1.40.1)

---
updated-dependencies:
- dependency-name: com.google.http-client:google-http-client-jackson2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 11:09:31 +02:00
..
licenses database extension with classpath fix 2018-01-13 20:24:56 -06:00
module Translated using Weblate (Swedish) 2021-09-10 17:33:13 +02:00
src/com/google/refine/extension/database Adjust the condition of the port number (#3954) 2021-06-07 09:22:46 +02:00
tests Fix database extension test suite when run without SQL servers 2021-09-20 20:10:46 +02:00
.eclipse-pmd database extension with classpath fix 2018-01-13 20:24:56 -06:00
.eslintrc.json database extension with classpath fix 2018-01-13 20:24:56 -06:00
.travis.yml database extension with classpath fix 2018-01-13 20:24:56 -06:00
pom.xml build(deps): bump google-http-client-jackson2 from 1.40.0 to 1.40.1 (#4201) 2021-10-12 11:09:31 +02:00
README.md Update the README.md for database extension (#3916) 2021-05-18 00:34:58 +02:00

This project is an OpenRefine extension for importing database data using JDBC. For exporting to a database, other code can be found under folder OpenRefine/main/src/com/google/refine/exporters/sql

Adding support for other database vendors

  1. You'll want to register an additional Database Service: https://github.com/OpenRefine/OpenRefine/blob/master/extensions/database/src/com/google/refine/extension/database/DatabaseService.java
  2. Provide the connection and service classes, look at the PostgreSQL one or MySQL one as examples: https://github.com/OpenRefine/OpenRefine/tree/master/extensions/database/src/com/google/refine/extension/database
  3. Then wire up the interface with defaults as desired: https://github.com/OpenRefine/OpenRefine/blob/master/extensions/database/module/scripts/index/database-source-ui.js#L93
  4. Add drivers manually to the classpath, or update the pom file to provide them as dependencies as other DB libraries are done: https://github.com/OpenRefine/OpenRefine/blob/master/extensions/database/pom.xml