{"id":21635246,"url":"https://github.com/stefangt44/object-relational-mapper","last_synced_at":"2026-04-11T20:39:03.035Z","repository":{"id":174292583,"uuid":"292067735","full_name":"stefanGT44/Object-Relational-Mapper","owner":"stefanGT44","description":"A simple ORM similar to Hibernate for generating MySQL-like queries, developed using annotations and aspects.","archived":false,"fork":false,"pushed_at":"2020-09-06T11:47:32.000Z","size":121,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T23:12:18.403Z","etag":null,"topics":["annotations","aspectj","orm"],"latest_commit_sha":null,"homepage":"","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/stefanGT44.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":"2020-09-01T17:47:30.000Z","updated_at":"2020-09-09T08:49:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"da89d419-3d3f-48e5-8334-c88ed5cd4d24","html_url":"https://github.com/stefanGT44/Object-Relational-Mapper","commit_stats":null,"previous_names":["stefangt44/object-relational-mapper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stefanGT44/Object-Relational-Mapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanGT44%2FObject-Relational-Mapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanGT44%2FObject-Relational-Mapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanGT44%2FObject-Relational-Mapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanGT44%2FObject-Relational-Mapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefanGT44","download_url":"https://codeload.github.com/stefanGT44/Object-Relational-Mapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanGT44%2FObject-Relational-Mapper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263628134,"owners_count":23490918,"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":["annotations","aspectj","orm"],"created_at":"2024-11-25T03:20:22.350Z","updated_at":"2025-10-17T12:03:45.058Z","avatar_url":"https://github.com/stefanGT44.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ObjectRelationalMapper\n\n## Overview\nA simple ORM, influenced by Hibernate and the Django ORM, for generating MySQL-like queries, developed using annotations, aspects and the Java reflect package.\n\n## Details\nEntities must have the @Table(), and attributes the @Column() annotation.\u003cbr\u003e\nBefore saving entities and adding elements to manyToMany relationships, aspectJ methods intercept the call and perform validation.\u003cbr\u003e\nAn entity must have strictly one @ID field.\u003cbr\u003e\n@ManyToMany fields must be of type ArrayList\\\u003cT\u003e, and elements being added are checked for type compatibility (T).\n  \n#### Supported annotations:\n* @Table(name)\n* @Column(name, required, notNull)\n* @Id\n* @IntegerField\n* @CharField(maxLength)\n* @MappedSuperclass\n* @ForeignKey\n* @ManyToMany\n\n## Example\n### Defined entities:\n![Alt text](images/1.png?raw=true \"\")\u003cbr\u003e\u003cbr\u003e\n![Alt text](images/2.png?raw=true \"\")\u003cbr\u003e\u003cbr\u003e\n![Alt text](images/3.png?raw=true \"\")\u003cbr\u003e\u003cbr\u003e\n![Alt text](images/b4.png?raw=true \"\")\u003cbr\u003e\u003cbr\u003e\n\n### Saving (inserting) entities:\n![Alt text](images/5.png?raw=true \"\")\u003cbr\u003e\n\n### Console output:\n![Alt text](images/b6.png?raw=true \"\")\n\n## Sidenote\nThis project was an assignment as part of the course - Advanced Java programming during the 7th semester at the Faculty of Computer Science in Belgrade.\n\n## Contributors\n- Stefan Ginic - \u003cstefangwars@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefangt44%2Fobject-relational-mapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefangt44%2Fobject-relational-mapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefangt44%2Fobject-relational-mapper/lists"}