{"id":36601841,"url":"https://github.com/ufukhalis/rxdb","last_synced_at":"2026-01-12T08:39:08.162Z","repository":{"id":44857938,"uuid":"194277829","full_name":"ufukhalis/rxdb","owner":"ufukhalis","description":"Reactive wrapper for JDBC calls.","archived":false,"fork":false,"pushed_at":"2022-01-21T23:26:15.000Z","size":53,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-14T15:48:36.275Z","etag":null,"topics":["database-driver","jdbc","reactive","reactor"],"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/ufukhalis.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":"2019-06-28T13:23:50.000Z","updated_at":"2024-05-03T09:37:54.000Z","dependencies_parsed_at":"2022-07-25T00:46:44.071Z","dependency_job_id":null,"html_url":"https://github.com/ufukhalis/rxdb","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ufukhalis/rxdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ufukhalis%2Frxdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ufukhalis%2Frxdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ufukhalis%2Frxdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ufukhalis%2Frxdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ufukhalis","download_url":"https://codeload.github.com/ufukhalis/rxdb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ufukhalis%2Frxdb/sbom","scorecard":{"id":907260,"data":{"date":"2025-08-11","repo":{"name":"github.com/ufukhalis/rxdb","commit":"9f879df798055d18a51a008b83d874d1c454f1e8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/25 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 16 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T17:47:14.397Z","repository_id":44857938,"created_at":"2025-08-24T17:47:14.397Z","updated_at":"2025-08-24T17:47:14.397Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["database-driver","jdbc","reactive","reactor"],"created_at":"2026-01-12T08:39:08.101Z","updated_at":"2026-01-12T08:39:08.157Z","avatar_url":"https://github.com/ufukhalis.png","language":"Java","readme":"[![Build Status](https://travis-ci.org/ufukhalis/rxdb.svg?branch=master)](https://travis-ci.org/ufukhalis/rxdb)\n[![Coverage Status](https://coveralls.io/repos/github/ufukhalis/rxdb/badge.svg?branch=master)](https://coveralls.io/github/ufukhalis/rxdb?branch=master)\n![Maven Central](https://img.shields.io/maven-central/v/io.github.ufukhalis/rxdb.svg)\n[![Join the chat at https://gitter.im/sahat/hackathon-starter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/rxdb-community/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n![Alt text](rxdb-logo-mini.png?raw=true \"RXDB\")\n\nRXDB\n===================\nA reactive library option for JDBC calls. In the background, it uses Reactor library (https://projectreactor.io).\n\nHow to Use\n------------\nFirstly, you should add latest `rxdb` dependency to your project.\n\n    \u003cdependency\u003e\n        \u003cgroupId\u003eio.github.ufukhalis\u003c/groupId\u003e\n        \u003cartifactId\u003erxdb\u003c/artifactId\u003e\n        \u003cversion\u003e0.3.0\u003c/version\u003e\n    \u003c/dependency\u003e\n    \nThen you need to add jdbc driver for your database which you want to connect.\n\nAfter, adding dependencies, you can create an instance from `Database` class.\n\n    Database database = new Database.Builder()\n            .maxConnections(5) // Default 10\n            .minConnections(2) // Default 5\n            .periodForHealthCheck(Duration.ofSeconds(5)) // Default 5 seconds\n            .jdbcUrl(\"jdbc:h2:~/test\") // In-memory db\n            .healthCheck(HealthCheck.H2) // Default HealthCheck.OTHER\n            .build();\n            \nUsing `Database` instance, you can send queries to your database.\n\nInserting a record to the table.\n    \n    final String insertSql = \"INSERT INTO table_name VALUES (?, ?, ?, ?)\";\n    Mono\u003cInteger\u003e resultMono = database.update(insertSql)\n            .bindParameters(1, \"Ufuk\", \"Halis\", 28)\n            .get();\n\n    \nFetching records from the table.\n    \n    final String selectSql = \"select * from table_name where id=?\";\n    Flux\u003cResultSet\u003e resultFlux = database.select(selectSql);\n            .bindParameters(1)\n            .get();\n\nAlso you can create transactional query like below.\n\n    final String insertSql = \"INSERT INTO REGISTER \" + \"VALUES (?, ?, ?, ?)\";\n    \n    Mono\u003cBoolean\u003e result = database.tx(insertSql)\n            .bindParameters(3, \"ufuk\", \"halis\", 28, 4, \"bob\", \"dylan\", 34)\n            .get();\n \nIn the above code, `insertSql` query will try to run two times regarding parameters to `bindParameters` method.\nIf an error occurs, it will throw an exception and changes will be rollback.\n\n\nYou can also map your records directly to Java Object too.\nFirstly, you should add `@Column` annotation to your pojo class like below.\n        \n    public class TestEntity {\n        @Column(value = \"id\")\n        private int id;\n    \n        @Column(value = \"first\")\n        private String first;\n    \n        @Column(value = \"last\")\n        private String last;\n    \n        @Column(value = \"age\")\n        private int age;\n        \n        // Getters and Setters\n    }\n    \nAfter, you can use your `database` instance like below.\n\n    Flux\u003cTestEntity\u003e result = database\n                    .select(selectSql)\n                    .get(TestEntity.class);\n                    \nAlso, if you would like to get only one result, you can use `findFirst` method.\n    \n    Mono\u003cTestEntity\u003e result = database\n                    .select(selectSql)\n                    .findFirst(TestEntity.class);\n\nNote\n---\n\nThis project is still under development. But you can use in your projects.\n\nFor more information about Project Reactor, check the site https://projectreactor.io\n\nFor more information about vavr.io, check the site http://vavr-io.github.io\n\nLicense\n---\nAll code in this repository is licensed under the Apache License, Version 2.0. See [LICENCE](./LICENSE).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fufukhalis%2Frxdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fufukhalis%2Frxdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fufukhalis%2Frxdb/lists"}