{"id":51398746,"url":"https://github.com/kenpb/wait-for-oracledb","last_synced_at":"2026-07-04T04:38:04.596Z","repository":{"id":188146715,"uuid":"143784914","full_name":"kenpb/wait-for-oracledb","owner":"kenpb","description":"A simple utility to wait for Oracle 11g availability/table population in a docker-compose setup","archived":false,"fork":false,"pushed_at":"2018-08-08T15:33:11.000Z","size":3680,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-08-14T02:30:58.367Z","etag":null,"topics":["docker","docker-compose","oracle-11g","wait-for-it"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kenpb.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}},"created_at":"2018-08-06T21:25:12.000Z","updated_at":"2023-08-14T02:31:01.491Z","dependencies_parsed_at":"2023-08-14T02:41:02.229Z","dependency_job_id":null,"html_url":"https://github.com/kenpb/wait-for-oracledb","commit_stats":null,"previous_names":["kenpb/wait-for-oracledb"],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/kenpb/wait-for-oracledb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenpb%2Fwait-for-oracledb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenpb%2Fwait-for-oracledb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenpb%2Fwait-for-oracledb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenpb%2Fwait-for-oracledb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kenpb","download_url":"https://codeload.github.com/kenpb/wait-for-oracledb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenpb%2Fwait-for-oracledb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35110270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["docker","docker-compose","oracle-11g","wait-for-it"],"created_at":"2026-07-04T04:38:03.971Z","updated_at":"2026-07-04T04:38:04.586Z","avatar_url":"https://github.com/kenpb.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wait-for-oracle\n\nA small Docker utility to check the availability or existence of tables and records in a dependent Oracle database, tested with [Oracle 11g](https://hub.docker.com/r/sath89/oracle-xe-11g/).\n\nIt uses maven, the OJDBC driver is included under the `driver` folder, to build just run `mvn package`.\n\nTo use in a project copy both, the jar file (the one that's not prefixed with `original-`) at the `target` folder and the bash script in the `bin` directory to a location in your project, add as entrypoint to your docker file among the lines of the supplied example.\n\n```sh\nusage: wait-for-oracle host user password command [-q query] [-d delay] [-e --exceptions]\n -c,--command \u003carg\u003e   The command to run after the verification success.\n -d,--delay \u003carg\u003e     The delay between tries.\n -e,--exceptions      Show the exception messages with the retry message.\n -h,--host \u003carg\u003e      The JDBC connection string. iex:\n                      jdbc:oracle:thin:@localhost:1521:xe\n -p,--pass \u003carg\u003e      The database password.\n -q,--query \u003carg\u003e     The query to verify the database integrity.\n -u,--user \u003carg\u003e      The username for the databases.\n```\nAdd in the docker file for example:\n```dockerfile\n    volumes:\n      - ./docker/wait-for-oracle.jar:/wait-for-oracle.jar\n      - ./docker/wait-for-oracle:/wait-for-oracle\n    entrypoint: [\"./wait-for-oracle\", \"-h\", \"jdbc:oracle:thin:@oracle:1521:xe\", \"-u\", \"system\", \"-p\", \"system\", \"-c\", \"\\\"java -Djava.security.egd=file:/dev/./urandom -jar /app.jar\\\"\"]\n```\n## TODO\n* Still working in the README\n* Handle args better in the script\n* Default connection and credentials\n* Maybe it doesn't actually need the bash script?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenpb%2Fwait-for-oracledb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenpb%2Fwait-for-oracledb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenpb%2Fwait-for-oracledb/lists"}