{"id":39497852,"url":"https://github.com/clarin-eric/linkchecker-persistence","last_synced_at":"2026-04-05T20:01:27.652Z","repository":{"id":37535320,"uuid":"475764798","full_name":"clarin-eric/linkchecker-persistence","owner":"clarin-eric","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-22T15:33:30.000Z","size":480,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-03-31T16:36:15.208Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clarin-eric.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-30T07:22:03.000Z","updated_at":"2026-02-12T19:43:44.000Z","dependencies_parsed_at":"2023-10-05T13:15:48.474Z","dependency_job_id":"f2697931-1887-40e1-9e40-5f1b7c00e697","html_url":"https://github.com/clarin-eric/linkchecker-persistence","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/clarin-eric/linkchecker-persistence","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarin-eric%2Flinkchecker-persistence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarin-eric%2Flinkchecker-persistence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarin-eric%2Flinkchecker-persistence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarin-eric%2Flinkchecker-persistence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clarin-eric","download_url":"https://codeload.github.com/clarin-eric/linkchecker-persistence/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarin-eric%2Flinkchecker-persistence/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31448216,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T15:22:31.103Z","status":"ssl_error","status_checked_at":"2026-04-05T15:22:00.205Z","response_time":75,"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":"2026-01-18T05:43:55.766Z","updated_at":"2026-04-05T20:01:27.632Z","avatar_url":"https://github.com/clarin-eric.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linkchecker Persistence API\n\n## Introduction\nThe linkchecker persistence API (LPA) is a project, based on [Spring data JPA 2.7.10](https://spring.io/projects/spring-data-jpa), which serves as a common persistence layer for the following projects:\n   - [Clarin Curation Dashboard](https://github.com/clarin-eric/curation-dashboard)\n   - [Link Checker](https://github.com/clarin-eric/linkchecker)\n   - [Link Checker API](https://github.com/clarin-eric/linkchecker-api)\n   - [Virtual Language Observatory](https://github.com/clarin-eric/VLO)\n   \n## Set up   \n\nWhen you load LPA as a dependency into your Spring boot parent project, you have to specify a database connection there.  \nA typical entry in the application.yml of your project would look like this:\n\n```\nspring:\n   datasource:\n      url: jdbc:mariadb://\u003cdatabse server address\u003e:3306/\u003cyour database\u003e\n      username: \u003cyour database user\u003e\n      password: \u003cyour database user's password\u003e\n      driver-class-name: \u003cyour database driver class\u003e\n   jpa:\n      hibernate:\n         ddl-auto: none\n```\n\nSpring data JPA uses the Hikari connection pool by default. Hikari specific properties can be set by:\n\n```\nspring:\n   datasource:\n      hikari:\n         \u003chikari-property\u003e: \u003cvalue\u003e\n```\nFor details on Hikari properties, have a look on the [Hikari Readme page](https://github.com/brettwooldridge/HikariCP#frequently-used), please. \n\n\n## Important notes\n\n   - linkchecker-persistence is using a schema.sql file to set up database structure with tables and views. The SQL script works for H2 and MariaDB and we strongly discourage an automatic setup via hibernate.ddl-auto=create.    \n\n   - version 0.0.6+ uses the hibernate-enhance-maven-plugin to allow lazy fetching for toOne associations. This is basically important when you lookup a significant number of Url instances \n   since otherwise for each instance a query is send to the database to look up the associated Status instance. **If you use another persistence API than hibernate, which is currently \n   the default in Spring data JPA, you should make sure lazy loading for toOne associations.**     \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarin-eric%2Flinkchecker-persistence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclarin-eric%2Flinkchecker-persistence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarin-eric%2Flinkchecker-persistence/lists"}