{"id":13300120,"url":"https://github.com/ingogriebsch/sample-spring-data-jpa-simple-repository","last_synced_at":"2026-05-03T11:31:19.142Z","repository":{"id":37986824,"uuid":"152602845","full_name":"ingogriebsch/sample-spring-data-jpa-simple-repository","owner":"ingogriebsch","description":"This sample shows you how to implement a simple repository with Spring Data JPA (and Spring Boot)","archived":false,"fork":false,"pushed_at":"2023-06-14T22:44:14.000Z","size":130,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T12:16:57.919Z","etag":null,"topics":["example","h2-database","java","sample","spring","spring-boot","spring-data","spring-data-jpa"],"latest_commit_sha":null,"homepage":"","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/ingogriebsch.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}},"created_at":"2018-10-11T14:13:26.000Z","updated_at":"2022-10-24T06:49:12.000Z","dependencies_parsed_at":"2022-08-29T17:13:32.507Z","dependency_job_id":null,"html_url":"https://github.com/ingogriebsch/sample-spring-data-jpa-simple-repository","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ingogriebsch/sample-spring-data-jpa-simple-repository","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ingogriebsch%2Fsample-spring-data-jpa-simple-repository","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ingogriebsch%2Fsample-spring-data-jpa-simple-repository/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ingogriebsch%2Fsample-spring-data-jpa-simple-repository/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ingogriebsch%2Fsample-spring-data-jpa-simple-repository/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ingogriebsch","download_url":"https://codeload.github.com/ingogriebsch/sample-spring-data-jpa-simple-repository/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ingogriebsch%2Fsample-spring-data-jpa-simple-repository/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32567143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["example","h2-database","java","sample","spring","spring-boot","spring-data","spring-data-jpa"],"created_at":"2024-07-29T17:40:24.298Z","updated_at":"2026-05-03T11:31:19.122Z","avatar_url":"https://github.com/ingogriebsch.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Data JPA simple repository sample\n[![Actions Status](https://github.com/ingogriebsch/sample-spring-data-jpa-simple-repository/workflows/build/badge.svg)](https://github.com/ingogriebsch/sample-spring-data-jpa-simple-repository/actions)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=de.ingogriebsch.samples%3Asample-spring-data-jpa-simple-repository\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=de.ingogriebsch.samples%3Asample-spring-data-jpa-simple-repository)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=de.ingogriebsch.samples%3Asample-spring-data-jpa-simple-repository\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=de.ingogriebsch.samples%3Asample-spring-data-jpa-simple-repository)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=de.ingogriebsch.samples%3Asample-spring-data-jpa-simple-repository\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=de.ingogriebsch.samples%3Asample-spring-data-jpa-simple-repository)\n[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=de.ingogriebsch.samples%3Asample-spring-data-jpa-simple-repository\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=de.ingogriebsch.samples%3Asample-spring-data-jpa-simple-repository)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=de.ingogriebsch.samples%3Asample-spring-data-jpa-simple-repository\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=de.ingogriebsch.samples%3Asample-spring-data-jpa-simple-repository)\n[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)\n\nThis sample shows how to implement a simple repository with Spring Data JPA (and Spring Boot).\n\n## How to build and run\nIf you want to see the implementation in action, simply follow these steps:\n\n*   First, make sure that you have Java 8 or later installed and an established Internet connection.\n*   Then, clone this Git repository an `cd` into the project folder.\n*   Now invoke `./mvnw spring-boot:run` and wait a moment.\n\nAfter the project is built and the Spring Boot service is running you can hit the following urls to act with the service:\n\n*   [http://localhost:8080](http://localhost:8080) allows to access this site.\n*   [http://localhost:8080/h2-console](http://localhost:8080/h2-console) allows to access to the underlying h2 database. Please check the log output to grab the correct JDBC URL.\n\n## Most important annotations and classes\nA collection of the most important annotations and classes that are necessary to implement this use case. \n\n*   [@GeneratedValue](https://javaee.github.io/javaee-spec/javadocs/javax/persistence/GeneratedValue.html)\n*   [@Id](https://javaee.github.io/javaee-spec/javadocs/javax/persistence/Id.html)\n*   [@Repository](https://docs.spring.io/spring-data/commons/docs/2.4.2/api/org/springframework/data/repository/Repository.html)\n*   [@Transactional](https://docs.spring.io/spring-framework/docs/5.3.2/javadoc-api/org/springframework/transaction/annotation/Transactional.html)\n*   [@DataJpaTest](https://docs.spring.io/spring-boot/docs/2.4.1/api/org/springframework/boot/test/autoconfigure/orm/jpa/DataJpaTest.html)\n\n## Used frameworks\nA collection of the mainly used frameworks in this project. \nThere are more, but they are not that present inside the main use case, therefore they are not listed here.\n\n*   [Spring Data JPA](https://docs.spring.io/spring-data/jpa/docs/2.4.2/reference/html/)\n*   [Spring Boot](https://docs.spring.io/spring-boot/docs/2.4.1/reference/htmlsingle/)\n\n## Additional guides\nThe following guides illustrate how to implement this and related use cases.\n\n*   [Accessing Data with JPA](https://spring.io/guides/gs/accessing-data-jpa/)\n\n## License\nThis code is open source software licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fingogriebsch%2Fsample-spring-data-jpa-simple-repository","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fingogriebsch%2Fsample-spring-data-jpa-simple-repository","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fingogriebsch%2Fsample-spring-data-jpa-simple-repository/lists"}