{"id":28243996,"url":"https://github.com/ololx/orm-patterns-instances","last_synced_at":"2026-04-07T08:31:44.310Z","repository":{"id":56395757,"uuid":"297248141","full_name":"ololx/orm-patterns-instances","owner":"ololx","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-28T13:22:01.000Z","size":202,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-29T00:50:25.803Z","etag":null,"topics":["active-jdbc","activejdbc","bean-validation","db-migration","docker","docker-compose","dockerfile","entity-manager","hibernate","jdbc-template","jdbctemplate","jpa-repository","liquibase","orm","orm-patterns","postgresql","spring","spring-boot","spring-boot-2","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ololx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-09-21T06:26:32.000Z","updated_at":"2025-02-14T15:51:22.000Z","dependencies_parsed_at":"2022-08-15T18:00:21.775Z","dependency_job_id":null,"html_url":"https://github.com/ololx/orm-patterns-instances","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ololx/orm-patterns-instances","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ololx%2Form-patterns-instances","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ololx%2Form-patterns-instances/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ololx%2Form-patterns-instances/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ololx%2Form-patterns-instances/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ololx","download_url":"https://codeload.github.com/ololx/orm-patterns-instances/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ololx%2Form-patterns-instances/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31506562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"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":["active-jdbc","activejdbc","bean-validation","db-migration","docker","docker-compose","dockerfile","entity-manager","hibernate","jdbc-template","jdbctemplate","jpa-repository","liquibase","orm","orm-patterns","postgresql","spring","spring-boot","spring-boot-2","spring-data-jpa"],"created_at":"2025-05-19T07:08:16.275Z","updated_at":"2026-04-07T08:31:44.288Z","avatar_url":"https://github.com/ololx.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# orm-patterns-instances\n\nThis project presents a several examples of the database layer realization of a `RESTful` service. Each module presents a small simple instance of the different `ORM Pattern` realizations.\n\n[![status](https://img.shields.io/badge/status-active-active?style=flat-square)](BADGES_GUIDE.md#status) [![last commit](https://img.shields.io/badge/last_commit-May_12,_2021-informational?style=flat-square)](BADGES_GUIDE.md#commit-date)\n\n[![license](https://img.shields.io/badge/license-MIT-informational?style=flat-square)](LICENSE)\n\n---\n\n## 📇 Table of Contents\n\n- [About](#about)\n- [Features](#feature)\n- [Getting Started](#getting-started)\n- [Built With](#built-with)\n- [Authors](#authors)\n- [Licensing](#licensing)\n\n##  📖 About\n\nThis is a collection of small and focused instances - each covering a single and well defined approach in the area of the java application development grouped by modules. Each module is supposed to provide a separate simple instance. \nIn this project each module presents a small simple instance of the database layer realization of a `RESTful` service.\nA strong focus of these is, of course, the different `ORM Pattern` realizations.\n\n### Modules\n\nThis project includes the follows modules:\n\n- [active-jdbc](active-jdbc/README.md) - is a simple realization of the `Active Records Pattern` via `ActiveJDBC` implementation in the `spring-boot` application;\n- [hibernate-jpa](hibernate-jpa/README.md) - is a simple realization of the `Data Mappting Pattern` via `Spring Data JPA` and `Hibernate` implementation in the `spring-boot` application.\n- [hibernate-jdbc-template](hibernate-jdbc-template/README.md) - is a simple realization of the `Data Mappting Pattern` via `JdbcTemplate` and `Hibernate` implementation in the `spring-boot` application.\n\n## 🎚 Features\n\n- The simple examples of the different `ORM Pattern` realizations.\n\n### Changelog\n\n- For more information on a releases, a features and a changes, please read the [changelog](CHANGELOG.md) notes.\n\n## 🚦 Getting Started\n\nThese instructions allow to get a copy of this project and run it on a local machine. \n\n### Prerequisites\n\nBefore using it, make sure that follows software are installed on the local machine:\n\n- **[Oracle JDK 8+](https://www.oracle.com/java/technologies/javase-downloads.html)** -  java development kit;\n- **[Maven 3+](https://maven.apache.org/)** - dependency management;\n- **[Docker Compose](https://docs.docker.com/compose/)** - tool for defining and running multi-container `Docker` applications.\n\nIf any of the listed software is not installed, then it can be installed by instruction as described below.\n\n1. #### Oracle JDK 8+\n\n   - Install Oracle JDK 8+ according to instructions from an [official](https://www.oracle.com/java/technologies/javase-downloads.html) instruction.\n\n2. #### Maven 3+\n\n   - Install Maven 3+ according to instructions from an [official](https://maven.apache.org/) source.\n\n3. #### Docker Compose\n\n   - Install PostgreSQL 9+ according to instructions from an [official](https://docs.docker.com/compose/install/) source.\n\n\n### Installing\n\nIn order to install it is quite simple to clone or download this repository.\n\n### Cloning\n\nFor the cloning this repository to a local machine, just use the follows link:\n\n```http\nhttps://github.com/ololx/orm-patterns-instances\n```\n\n### Using\n\nTo use it is necessary to:\n1 - Build the project.\n2 - Launch the instances.\n3 - Instrument if (for the `active-jdbc` module).\n\n### Building the project\n\nTo do the full build, execute maven goal `install` in the root directory by the following command:\n\n```bash\nmvn clean install\n```\n\n### Building a single module\n\nTo do the full build, execute maven goal `install` in the module directory by the following command:\n\n```bash\nmvn clean install\n```\n\n### Launching in command line\n\nTo do the run examples, execute maven goal `spring-boot:run` in the module directory by the following command:\n\n```bash\nmvn spring-boot:run\n```\n\n### Launching in IDE\n\nThis is a multi-module project. Each model is supposed to provide a separate example. \nThat's why when  you're working with an individual module, there's no need to import all of them (or build all of them) - you can simply import that particular module in either Eclipse, NetBeanse or IntelliJ IDEA and run each example  in IDE.\n\n### Instrumenting\n\nThe module `active-jdbc` must be instrumented before launching via `maven instrumentation plugin`\n\n## 🛠 Built With\n\n- **[Oracle JDK](https://www.oracle.com/java/technologies/javase-downloads.html)** -  java development kit;\n- **[Maven](https://maven.apache.org/)** - dependency management;\n- **[PostgreSQL 9+](https://www.postgresql.org/download/)** - database management system;\n- **[Docker Compose](https://docs.docker.com/compose/)** - tool for defining and running multi-container `Docker` applications.\n\n## ©️ Authors\n\n* **Alexander A. Kropotin** - *project work* - [ololx](https://github.com/ololx).\n\n## 🔏 Licensing\n\nThis project is licensed under the MIT license - see the [lisence](LICENSE) document for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fololx%2Form-patterns-instances","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fololx%2Form-patterns-instances","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fololx%2Form-patterns-instances/lists"}