{"id":16416062,"url":"https://github.com/phax/ph-db","last_synced_at":"2026-04-07T21:02:00.494Z","repository":{"id":20072443,"uuid":"23341299","full_name":"phax/ph-db","owner":"phax","description":"Java library with some basic DB API (neither JDBC nor JPA)","archived":false,"fork":false,"pushed_at":"2026-03-27T15:36:27.000Z","size":1492,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-28T00:51:47.546Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/phax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2014-08-26T06:29:50.000Z","updated_at":"2026-03-27T15:36:55.000Z","dependencies_parsed_at":"2023-09-26T12:31:03.429Z","dependency_job_id":"7d210c18-5462-43ed-9904-8ff019799df2","html_url":"https://github.com/phax/ph-db","commit_stats":null,"previous_names":["phax/ph-db-api"],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/phax/ph-db","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phax%2Fph-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phax%2Fph-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phax%2Fph-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phax%2Fph-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phax","download_url":"https://codeload.github.com/phax/ph-db/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phax%2Fph-db/sbom","scorecard":{"id":730725,"data":{"date":"2025-08-11","repo":{"name":"github.com/phax/ph-db","commit":"7e5211c64a756d53ecbe56d750f0d3393142e0f1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/maven.yml:1","Info: no jobLevel write permissions found"],"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":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/phax/ph-db/maven.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/phax/ph-db/maven.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/phax/ph-db/maven.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned"],"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/maven.yml:29"],"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":"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"}}]},"last_synced_at":"2025-08-22T14:20:20.339Z","repository_id":20072443,"created_at":"2025-08-22T14:20:20.340Z","updated_at":"2025-08-22T14:20:20.340Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31528751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"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":[],"created_at":"2024-10-11T07:08:17.580Z","updated_at":"2026-04-07T21:02:00.488Z","avatar_url":"https://github.com/phax.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ph-db\n\n\u003c!-- ph-badge-start --\u003e\n[![Sonatype Central](https://maven-badges.sml.io/sonatype-central/com.helger.db/ph-db-parent-pom/badge.svg)](https://maven-badges.sml.io/sonatype-central/com.helger.db/ph-db-parent-pom/)\n[![javadoc](https://javadoc.io/badge2/com.helger.db/ph-db-api/javadoc.svg)](https://javadoc.io/doc/com.helger.db/ph-db-api)\n\u003c!-- ph-badge-end --\u003e\n\nJava library with some common DB API, a special JDBC version and a JPA version based on EclipseLink.\n\nLicensed under the Apache 2.0 license.\n\n# Maven usage\n\nAdd the following to your pom.xml to use this artifact, where `x.y.z` is to be replaced with the last released version:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.helger.db\u003c/groupId\u003e\n  \u003cartifactId\u003eph-db-api\u003c/artifactId\u003e\n  \u003cversion\u003ex.y.z\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.helger.db\u003c/groupId\u003e\n  \u003cartifactId\u003eph-db-jdbc\u003c/artifactId\u003e\n  \u003cversion\u003ex.y.z\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.helger.db\u003c/groupId\u003e\n  \u003cartifactId\u003eph-db-jpa\u003c/artifactId\u003e\n  \u003cversion\u003ex.y.z\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nNote: prior to v8.0.0 the group ID was `com.helger`\n\n# News and noteworthy\n\nv8.1.3 - 2026-04-07\n* Extended `IJdbcConfiguration`, `JdbcConfiguration` and `JdbcConfigurationConfig` with connection pooling parameters: max connections, max wait, between eviction runs, min evictable idle, and remove abandoned timeout\n* `DataSourceProviderFromJdbcConfiguration` now directly handles the pooling parameter in a standard way\n* Added optional `flywayHistoryTable` parameter to `IFlywayConfiguration` for customizing the Flyway history table name\n\nv8.1.2 - 2026-02-22\n* Updated to Apache Commons Pool 2.13.1\n* Updated to Apache Commons DBCP 2.14.0\n* Updated to EclipseLink 4.0.9\n* `DBResultField` constructor now takes an empty String as well\n* Renamed `EDatabaseSystemType.MSSQL` to `SQLSERVER`\n\nv8.1.1 - 2025-12-10\n* Added specific support for Oracle Timestamp handling\n\nv8.1.0 - 2025-11-16\n* Updated to ph-commons 12.1.0\n* Using JSpecify annotations\n\nv8.0.1 - 2025-09-19\n* Added new class `DBSystemHelper`\n\nv8.0.0 - 2025-08-25\n* Requires Java 17 as the minimum version\n* Updated to ph-commons 12.0.0\n* Updated to MySQLConnector/J 9.4.0\n* Changed the Maven group ID from `com.helger` to `com.helger.db`\n\nv7.1.0 - 2025-04-11\n* Updated to Apache Commons Pool 2.12.1\n* Added new enum `EDatabaseSystemType`\n* Added new package `com.helger.db.api.flyway`\n* Added new package `com.helger.db.api.config`\n\nv7.0.6 - 2024-09-20\n* Updated to Protobuf 4.28.2 to fix CVE-2024-7254\n\nv7.0.5 - 2024-08-09\n* Updated to MySQLConnector/J 9.0.0\n* Updated to Protobuf 4.x\n\nv7.0.4 - 2024-03-27\n* Updated to ph-commons 11.1.5\n* Updated to MySQLConnector/J 8.3.0\n* Updated to Apache Commons DBCP 2.12.0\n* Created Java 21 compatibility\n\nv7.0.3 - 2023-12-10\n* Updated all dependencies\n\nv7.0.2 - 2023-07-31\n* Updated to ph-commons 11.1\n\nv7.0.1 - 2023-01-12\n* Updated to MySQLConnector/J 8.0.31 with new Maven coordinates\n* Updated to Protobuf 3.21.12\n\nv7.0.0 - 2023-01-09\n* Using Java 11 as the baseline\n* Updated to ph-commons 11\n* Updated to EclipseLink 4.0.0\n\nv6.7.4 - 2022-02-21\n* Updated to H2 2.0.210\n* Fixed a `NullPointerException` in CLOB handling\n\nv6.7.3 - 2021-11-24\n* Updated to MySQLConnector/J 8.0.25\n* Added new class `DBValueHelper`\n* Added new class `AbstractJDBCEnabledManager`\n\nv6.7.2 - 2021-09-19\n* Updated to Apache Commons Pool 2.11.1\n* Extended the `DBExecutor` API slightly\n\nv6.7.1 - 2021-08-20\n* Updated to ph-commons 10.1\n* Updated to MySQLConnector/J 8.0.25\n* Updated to Apache Commons DBCP 2.9.0\n* Updated to Apache Commons Pool 2.10.0\n* Extended `DBResultRow` with additional methods\n\nv6.7.0 - 2021-04-06\n* Added option to enabled/disable the connection state handling (and disabled it by default)\n\nv6.6.0 - 2021-03-21\n* Updated to ph-commons 10\n* Updated to EclipseLink 2.7.8\n* Updated to MySQLConnector/J 8.0.23\n* Added new class `ConnectionFromDataSource` that has increased flexibility\n\nv6.5.0 - 2020-11-27\n* Added conversion from CLOB to String - thanks to GG\n* Commented out the parameter check in favour of the default JDBC driver - thanks to GG for pointing that out\n* Removed the usage of `Optional` in the `DBExecutor` to more easily differentiate between \"Error\" and \"Not found\"\n\nv6.4.0 - 2020-11-02\n* Updated to MySQLConnector/J 8.0.21\n* Improved debug logging in `DBExecutor`\n* Made `DBExecutor` consistently not thread-safe\n* Made some `DBExectur` methods static\n\nv6.3.1 - 2020-09-30\n* Updated to Apache Commons Pool 2.9.0\n* Updated to Apache Commons DBCP 2.8.0\n\nv6.3.0 - 2020-08-24\n* Renamed `AbsractConnector` to `AbstractDBConnector`\n* Removed `AbstractDBConnector.getDatabaseName`\n* Added class `AbstractDBConnector`\n* Dropped some specific connector implementations\n\nv6.2.1 - 2020-08-20\n* Updated to EclipseLink 2.7.7\n* Updated to Apache Commons Pool 2.8.1\n* Updated DBResultRow API\n\nv6.2.0 - 2020-04-23\n* Updated to Apache Commons Pool 2.8.0\n* Updated to MySQLConnector/J 8.0.19\n* Updated to EclipseLink 2.7.6\n* Extended JDBCHelper return types\n* Added simple transaction support in `DBExecutor`\n* Updated to ph-commons 9.4.1\n\nv6.1.5 - 2019-10-25\n* Updated to Apache Commons Pool 2.7.0\n* Updated to Apache Commons DBCP 2.7.0\n* Updated to MySQLConnector/J 8.0.18\n* Updated to H2 1.4.200\n* Updated to EclipseLink 2.7.5\n* The `EclipseLinkLogger` logs all error levels below `WARNING` as `Info`\n\nv6.1.4 - 2019-03-27\n* Updated to H2 1.4.199\n* Replacing \"javax.persistence 2.2.1\" with \"jakarta.persistence 2.2.2\"\n\nv6.1.3 - 2019-03-12\n* Updated to EclipseLink 2.7.4\n* Updated to MySQLConnector/J 8.0.15\n* Updated to Apache Commons Pool 2.6.1\n* Updated to Apache Commons DBCP 2.6.0\n* Updated to H2 1.4.198\n\nv6.1.2 - 2018-11-22\n* Updated to EclipseLink 2.7.3\n* Updated to MySQLConnector/J 8.0.13\n* Updated to ph-commons 9.2.0\n\nv6.1.1 - 2018-07-24\n* Fixed OSGI ServiceProvider configuration\n* Updated to EclipseLink 2.7.2\n* Updated to Apache Commons DBCP 2.5.0\n* Updated to Apache Commons Pool 2.6.0\n* Catching an throwing Exception only (instead of Throwable)\n\nv6.1.0 - 2018-04-23\n* Updated to Apache Commons DBCP 2.2.0\n* Updated to EclipseLink 2.7.1\n* `JPAEnabledManager` now has the possibility to disable the execution time warning\n\nv6.0.0 - 2017-12-20\n* Updated to ph-commons 9.0.0\n* Updated to H2 1.4.196\n* Updated to EclipseLink 2.7.0\n* Updated to Apache Commons Pool2 2.5.0\n\nv5.0.1 - 2016-08-21\n* Updated to ph-commons 8.4.x\n\nv5.0.0 - 2016-06-11\n* Requires at least JDK8\n\n---\n\nMy personal [Coding Styleguide](https://github.com/phax/meta/blob/master/CodingStyleguide.md) |\nIt is appreciated if you star the GitHub project if you like it.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphax%2Fph-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphax%2Fph-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphax%2Fph-db/lists"}