{"id":20828809,"url":"https://github.com/perty/h2example","last_synced_at":"2025-07-17T02:06:23.143Z","repository":{"id":137743930,"uuid":"573432629","full_name":"perty/h2example","owner":"perty","description":"An example using H2 as database engine, storing on file.","archived":false,"fork":false,"pushed_at":"2023-01-01T19:19:50.000Z","size":65,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T07:44:36.381Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/perty.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-12-02T13:01:04.000Z","updated_at":"2023-04-23T09:20:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7b513ae-639d-426e-83b9-14757cab49d0","html_url":"https://github.com/perty/h2example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/perty/h2example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perty%2Fh2example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perty%2Fh2example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perty%2Fh2example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perty%2Fh2example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perty","download_url":"https://codeload.github.com/perty/h2example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perty%2Fh2example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265559911,"owners_count":23788094,"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":[],"created_at":"2024-11-17T23:18:30.548Z","updated_at":"2025-07-17T02:06:23.090Z","avatar_url":"https://github.com/perty.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# H2 example with Spring boot\n\n## Purpose\n\nTry using H2 to store data in a file easily. Evaluate how this works with schema migration by Flyway. Evaluate if it is feasible for running in cheap cloud environment, such as [fly.io](https://fly.io), instead of Postgres in a separate process.\n\nDeployment with a Docker image that has the datastore mounted.\n\nUse this in a class for beginners. \n\n## Notes\n\nThe file path can not be relative, it has to be absolute.\n\nThe H2 console works although not the prettiest thing seen. Can it be made simpler for beginners? It is built in JSP! Oops.\n\nUsing IntelliJ's database tools seems to work fine, like any other database.\n\nIf I have a connection to the file-db already, I can't start a new process that connects to it. File is probably locked, good.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperty%2Fh2example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperty%2Fh2example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperty%2Fh2example/lists"}