{"id":21359013,"url":"https://github.com/pedrycz/nohibernate-core","last_synced_at":"2025-03-16T06:24:43.023Z","repository":{"id":69423448,"uuid":"89126045","full_name":"pedrycz/nohibernate-core","owner":"pedrycz","description":"Non-relational data mapping for Hibernate, useful for persisting Java interfaces","archived":false,"fork":false,"pushed_at":"2017-05-04T13:23:28.000Z","size":80,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T18:51:34.349Z","etag":null,"topics":["hibernate","java","nosql","sql"],"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/pedrycz.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-23T07:53:34.000Z","updated_at":"2019-11-11T11:16:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"a6957e15-26eb-46b6-a7a3-c6895fa3b686","html_url":"https://github.com/pedrycz/nohibernate-core","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrycz%2Fnohibernate-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrycz%2Fnohibernate-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrycz%2Fnohibernate-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrycz%2Fnohibernate-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedrycz","download_url":"https://codeload.github.com/pedrycz/nohibernate-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243834031,"owners_count":20355365,"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":["hibernate","java","nosql","sql"],"created_at":"2024-11-22T05:26:10.360Z","updated_at":"2025-03-16T06:24:42.990Z","avatar_url":"https://github.com/pedrycz.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"NoHibernate\n==========\n\nNoHibernate provides mapping of Hibernate managed entities in non-relational way. It is especially useful for storing in database interfaces with many different child classes, which is almost impossible with pure Hibernate.\n\n[![](https://jitpack.io/v/ppedrycz/nohibernate-core.svg)](https://jitpack.io/#ppedrycz/nohibernate-core)\n\n### Gradle setup\n```gradle\nrepositories {\n    ...\n    maven {\n        url 'https://jitpack.io'\n    }\n}\n\ndependencies {\n    ...\n    compile(\"com.github.ppedrycz:nohibernate-core:0.2\")\n}\n```\n\n### Maven setup\n```xml\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003ejitpack.io\u003c/id\u003e\n        \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.github.ppedrycz\u003c/groupId\u003e\n        \u003cartifactId\u003enohibernate-core\u003c/artifactId\u003e\n        \u003cversion\u003e0.2\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n### Library initialization\n```Java\npublic class MyApplication {\n    public static void main(String[] args) {\n        \n        NoHibernateUtils.setClassLoader(MyApplication.class.getClassLoader());\n        \n        /* rest of your code */\n\n    }\n}\n```\n\n### Example usage\n```Java\npublic class Geometry { /* fields, getters, setters */ }\npublic class Point extends Geometry { /* fields, getters, setters */ }\npublic class Rectangle extends Geometry { /* fields, getters, setters */ }\npublic class Circle extends Geometry { /* fields, getters, setters */ }\npublic class Square extends Geometry { /* fields, getters, setters */ }\npublic class Polygon extends Geometry { /* fields, getters, setters */ }\npublic class Triangle extends Geometry { /* fields, getters, setters */ }\n\n@Entity\npublic class Sprite {\n\n    /* constructors, other fields, getters, setters */\n\n    @Type(type = NoHibernate.Type.BASIC)\n    private Geometry geometry;\n\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrycz%2Fnohibernate-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedrycz%2Fnohibernate-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrycz%2Fnohibernate-core/lists"}