{"id":21154984,"url":"https://github.com/forge/plugin-hibernate-tools","last_synced_at":"2026-03-07T21:01:59.247Z","repository":{"id":66768141,"uuid":"1582820","full_name":"forge/plugin-hibernate-tools","owner":"forge","description":"Database Reverse Engineering with Hibernate Tools","archived":false,"fork":false,"pushed_at":"2014-01-08T19:58:07.000Z","size":462,"stargazers_count":19,"open_issues_count":4,"forks_count":10,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-09-07T02:48:53.328Z","etag":null,"topics":[],"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/forge.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}},"created_at":"2011-04-07T15:02:39.000Z","updated_at":"2021-12-30T04:03:38.000Z","dependencies_parsed_at":"2023-02-20T11:15:32.196Z","dependency_job_id":null,"html_url":"https://github.com/forge/plugin-hibernate-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/forge/plugin-hibernate-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fplugin-hibernate-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fplugin-hibernate-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fplugin-hibernate-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fplugin-hibernate-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forge","download_url":"https://codeload.github.com/forge/plugin-hibernate-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fplugin-hibernate-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30231489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"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":[],"created_at":"2024-11-20T11:13:45.330Z","updated_at":"2026-03-07T21:01:59.229Z","avatar_url":"https://github.com/forge.png","language":"Java","readme":"Hibernate Plugin for Forge\n==========================\n\nA (for now) simple plugin that makes some of the features of Hibernate Tools availabl from within forge.\n\nInstallation\n============\n    forge install-plugin hibernate-tools\n\nHow to use\n==========\n\nBefore using make sure to copy your jdbc driver to $FORGE_HOME/lib\nsince otherwise Forge can't connect to your database.\n\nOn a project with the persistence facet you can do:\n\n$ generate-entities --url jdbc:hsqldb:localhost:9001 --driver org.hsqldb.jdbcDriver\n\nand it will use JDBC to connect to the database and generate JPA entities.\n\nCommands\n========\n\n[generate-entities] - Generate entities from a database.  \n\n[OPTIONS]  \n    [--table] - Table pattern to include. 'CUSTOMER' for specific table, 'CUST*' for substring match and '*' for all (the default)  \n    [--schema] - Schema pattern to include. Same syntax as for table  \n    [--catalog] - Catalog pattern to include. Same syntax as for table  \n    [--entityPackage] - Package to use for generated entities.  \n    [--driver] - Class name for JDBC driver  \n    [--url] - URL for JDBC connection  \n    [--user] - Username for JDBC connection  \n    [--password] - Password for JDBC connection  \n    [--detectManyToMany] - Detect many to many associations between tables.  \n    [--detectOneToOne] - Detect one-to-one associations between tables.  \n    [--detectOptimisticLock] - Detect optimistic locking tables, i.e. if a table has a column named 'version' with a numeric type optimistic locking will be setup for that table.  \n\nTODO's\n======\n\n * Use \"connection profiles\" instead having users to specify jdbc  \n   details everytime.  \n\n * Avoid shading so can remove the Loader class to circumvent what\n   looks like a bug in Weld for scanning shaded Freemarker jars.\n\n * Add support for remaining Hibernate Tool features such as template\n   path, reveng.xml files and possibly alternative generation options\n   than just JPA entities.\n    \n * World Domination","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforge%2Fplugin-hibernate-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforge%2Fplugin-hibernate-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforge%2Fplugin-hibernate-tools/lists"}