{"id":14987945,"url":"https://github.com/apache/openjpa","last_synced_at":"2025-05-16T10:08:27.098Z","repository":{"id":574261,"uuid":"206364","full_name":"apache/openjpa","owner":"apache","description":"Apache OpenJPA","archived":false,"fork":false,"pushed_at":"2025-05-01T06:41:20.000Z","size":39287,"stargazers_count":139,"open_issues_count":17,"forks_count":140,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-05-10T17:16:39.117Z","etag":null,"topics":["database","java","javaee","library","openjpa"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"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/apache.png","metadata":{"files":{"readme":"README.adoc","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,"zenodo":null}},"created_at":"2009-05-21T01:13:25.000Z","updated_at":"2025-05-01T06:46:05.000Z","dependencies_parsed_at":"2024-07-15T06:31:14.418Z","dependency_job_id":"d2acbac4-c4b2-4403-8b88-c6845ee946cd","html_url":"https://github.com/apache/openjpa","commit_stats":{"total_commits":5349,"total_committers":51,"mean_commits":"104.88235294117646","dds":0.8480089736399327,"last_synced_commit":"e8263f8f69920c3b2546c221193f4a8e71c8e083"},"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fopenjpa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fopenjpa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fopenjpa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fopenjpa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/openjpa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254509477,"owners_count":22082892,"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":["database","java","javaee","library","openjpa"],"created_at":"2024-09-24T14:15:46.466Z","updated_at":"2025-05-16T10:08:22.083Z","avatar_url":"https://github.com/apache.png","language":"Java","readme":"= Apache OpenJPA - README\n\n== Preface\nThank you for downloading this release of Apache OpenJPA.\n\nApache OpenJPA is an implementation of the Jakarta Persistence API 3.0 specification.\n\n\n== License\nThe content of this repository is licensed under Apache License 2.0\nhttp://www.apache.org/licenses/LICENSE-2.0\n\n== Further Information\n\nThe following files can be found in the openjpa-project subdirectory:\n\n* openjpa-project/BUILDING.txt\n* openjpa-project/CHANGES.txt\n* openjpa-project/RELEASE-NOTES.html\n\nFor documentation and project information, please visit our project site:\n    http://openjpa.apache.org/\n\n\n== Compiling\n\nThe best way to compile Apache OpenJPA yourself is to run the build against the default derby database.\n\n $\u003e mvn clean install -Dsurefire.excludes.locking=**/*\n\n== Testing against different Databases\n\nThe Apache OpenJPA project also contains a setup for testing against multiple databases.\nThe easiest way is to use Docker.\nWe assume that Docker is installed to be used by your current user.\nThe respective database image has to be started manually before starting the build.\nThe reason for not starting it as part of the build itself is to be able to look at the database content after the build did run.\n\n[TIP]\n====\n*Hint for running with Podman*\n\nSome distributions switched from native Docker to Podman.\nIf you get an error like `missing DOCKER_HOST` then you might try running the following command:\n\n  export DOCKER_HOST=\"unix:/run/user/$(id -u)/podman/podman.sock\"\n  podman system service -t 3600 \u0026\n  mvn ...\n====\n\nTo start e.g. a PostgreSQL Docker image you can simply invoke the following command.\nNote the -N Maven option which stands for 'non-recursive'.\nThis is used because the docker container is configured only at the root project but not at his children.\n\n mvn -N -Ptest-mysql-docker docker:start\n\nAfter that, you can execute your tests with the respective Maven profile\n\n mvn clean install -Ptest-mysql-docker\n\nOnce the Docker image for the database is not needed any longer one can stop and remove it:\n\n mvn -N -Ptest-mysql-docker docker:stop\n mvn -N -Ptest-mysql-docker docker:remove\n\n\nThe following Maven profiles do exist so far:\n\n* test-mysql-docker\n* test-mariadb-docker\n* test-postgresql-docker\n* test-mssql-docker\n* test-oracle-docker\n","funding_links":[],"categories":["数据库开发"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fopenjpa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fopenjpa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fopenjpa/lists"}