[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4300":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":40,"readmeContent":41,"aiSummary":42,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":43,"discoverSource":44},4300,"hibernate-orm","hibernate\u002Fhibernate-orm","hibernate","Idiomatic persistence for Java and relational databases","http:\u002F\u002Fhibernate.org",null,"Java",6440,3763,295,155,0,2,3,15,6,41,"Apache License 2.0",false,"main",true,[27,28,7,5,29,30,31,32,33,34,35,36,37,38,39],"database","envers","jakarta-persistence","jakartaee","java","jdbc","jpa","object-relational-mapper","object-relational-mapping","orm","persistence","persistence-framework","sql","2026-06-12 02:01:01","== Hibernate ORM\n\nimage:https:\u002F\u002Fimg.shields.io\u002Fmaven-central\u002Fv\u002Forg.hibernate.orm\u002Fhibernate-core.svg?label=Maven%20Central&style=for-the-badge[Maven Central,link=https:\u002F\u002Fcentral.sonatype.com\u002Fsearch?namespace=org.hibernate.orm&sort=name]\nimage:https:\u002F\u002Fimg.shields.io\u002Fjenkins\u002Fbuild?jobUrl=https%3A%2F%2Fci.hibernate.org%2Fjob%2Fhibernate-orm-pipeline%2Fjob%2Fmain%2F&style=for-the-badge[Build Status,link=https:\u002F\u002Fci.hibernate.org\u002Fjob\u002Fhibernate-orm-pipeline\u002Fjob\u002Fmain\u002F]\nimage:https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FRevved%20up%20by-Develocity-06A0CE?style=for-the-badge&logo=gradle[Develocity,link=https:\u002F\u002Fdevelocity.commonhaus.dev\u002Fscans?search.rootProjectNames=Hibernate%20ORM]\nimage:https:\u002F\u002Fimg.shields.io\u002Fendpoint?url=https:\u002F\u002Fraw.githubusercontent.com\u002Fjvm-repo-rebuild\u002Freproducible-central\u002Fmaster\u002Fcontent\u002Forg\u002Fhibernate\u002Form\u002Fhibernate-core\u002Fbadge.json&style=for-the-badge[Reproducible Builds,link=https:\u002F\u002Fgithub.com\u002Fjvm-repo-rebuild\u002Freproducible-central\u002Fblob\u002Fmaster\u002Fcontent\u002Forg\u002Fhibernate\u002Form\u002Fhibernate-core\u002FREADME.md]\nimage:https:\u002F\u002Ftestpilot.oracle.com\u002Fords\u002Ftestpilot\u002Fbadges\u002Fgithub\u002Fhibernate\u002Fhibernate-orm[Oracle Test Pilot,link=https:\u002F\u002Ftestpilot.oracle.com\u002F]\n\nHibernate ORM is a powerful object\u002Frelational mapping solution for Java, and makes it easy to develop persistence logic for applications, libraries, and frameworks.\n\nHibernate implements JPA, the standard API for object\u002Frelational persistence in Java, but also offers an extensive set of features and APIs which go beyond the specification.\n\nSee https:\u002F\u002Fhibernate.org\u002Form\u002F[Hibernate.org] for more information.\n\n== Continuous Integration\n\nSee link:MAINTAINERS.md#ci[MAINTAINERS.md] for information about CI.\n\n== Building from sources\n\nThe build requires at least JDK 25, and produces Java 17 bytecode.\n\nHibernate uses https:\u002F\u002Fgradle.org[Gradle] as its build tool. See the _Gradle Primer_ section below if you are new to\nGradle.\n\nContributors should read the link:CONTRIBUTING.md[Contributing Guide].\n\nSee the guides for setting up https:\u002F\u002Fhibernate.org\u002Fcommunity\u002Fcontribute\u002Fintellij-idea\u002F[IntelliJ] or\nhttps:\u002F\u002Fhibernate.org\u002Fcommunity\u002Fcontribute\u002Feclipse-ide\u002F[Eclipse] as your development environment.\n\n== Gradle Primer\n\nThe Gradle build tool has amazing documentation.  2 in particular that are indispensable:\n\n* https:\u002F\u002Fdocs.gradle.org\u002Fcurrent\u002Fuserguide\u002Fuserguide_single.html[Gradle User Guide] is a typical user guide in that\nit follows a topical approach to describing all of the capabilities of Gradle.\n* https:\u002F\u002Fdocs.gradle.org\u002Fcurrent\u002Fdsl\u002Findex.html[Gradle DSL Guide] is unique and excellent in quickly\ngetting up to speed on certain aspects of Gradle.\n\nWe will cover the basics developers and contributors new to Gradle need to know to get productive quickly.\n\nNOTE: The project defines a https:\u002F\u002Fdocs.gradle.org\u002Fcurrent\u002Fuserguide\u002Fgradle_wrapper.html[Gradle Wrapper].\nThe rest of the section will assume execution through the wrapper.\n\n=== Executing Tasks\n\nGradle uses the concept of build tasks (equivalent to Ant targets or Maven phases\u002Fgoals). You can get a list of\navailable tasks via \n\n----\ngradle tasks\n----\n\nTo execute a task across all modules, simply perform that task from the root directory. Gradle will visit each\nsub-project and execute that task if the sub-project defines it. To execute a task in a specific module you can\neither:\n\n. `cd` into that module directory and execute the task\n. name the \"task path\". For example, to run the tests for the _hibernate-core_ module from the root directory\nyou could say `gradle hibernate-core:test`\n\n=== Common tasks\n\nThe common tasks you might use in building Hibernate include:\n\n* _build_ - Assembles (jars) and tests this project\n* _compile_ - Performs all compilation tasks including staging resources from both main and test\n* _jar_ - Generates a jar archive with all the compiled classes\n* _test_ - Runs the tests\n* _publishToMavenLocal_ - Installs the project jar to your local maven cache (aka ~\u002F.m2\u002Frepository). Note that Gradle\nnever uses this, but it can be useful for testing your build with other local Maven-based builds.\n* _clean_ - Cleans the build directory\n\n== Testing and databases\n\nTesting against a specific database can be achieved in 2 different ways:\n\n=== Using the \"Matrix Testing Plugin\" for Gradle.\n\nComing later…\n\n=== Using \"profiles\"\n\nThe Hibernate build defines several database testing \"profiles\" in `databases.gradle`. These\nprofiles can be activated by name using the `db` build property which can be passed either as\na JVM system prop (`-D`) or as a Gradle project property (`-P`). Examples below use the Gradle\nproject property approach.\n\n----\ngradle clean build -Pdb=pgsql_ci\n----\n\nTo run a test from your IDE, you need to ensure the property expansions happen.\nUse the following command:\n\n----\ngradle clean compile -Pdb=pgsql_ci\n----\n\n__NOTE: If you are running tests against a JDBC driver that is not available via Maven central be sure to\nadd these drivers to your local Maven repo cache (~\u002F.m2\u002Frepository) or (better) add it to a personal Maven repo server__\n\n=== Starting test databases locally as docker containers\n\nYou don't have to install all databases locally to be able to test against them in case you have docker available.\nThe script `docker_db.sh` allows you to start a pre-configured database which can be used for testing.\n\nAll you have to do is run the following command:\n\n----\n.\u002Fdocker_db.sh postgresql\n----\n\nomitting the argument will print a list of possible options.\n\nIf you need to keep multiple databases started by the script running, start them with `-k\u002F--keep-orphans` argument:\n\n----\n.\u002Fdocker_db.sh -k postgresql\n.\u002Fdocker_db.sh -k mysql\n----\n\nWhen the database is properly started, you can run tests with special profiles that are suffixed with `_ci`\ne.g. `pgsql_ci` for PostgreSQL. By using the system property `dbHost` you can configure the IP address of your docker host.\n\nThe command for running tests could look like the following:\n\n----\n.\u002Fgradlew test -Pdb=pgsql_ci \"-DdbHost=192.168.99.100\"\n----\n\nThe following table illustrates a list of commands for various databases that can be tested locally.\n\n|===\n|Database |`docker_db.sh` |Gradle command\n\n|H2\n|-\n|`.\u002Fgradlew test -Pdb=h2`\n\n|HSQLDB\n|-\n|`.\u002Fgradlew test -Pdb=hsqldb`\n\n|Apache Derby\n|-\n|`.\u002Fgradlew test -Pdb=derby`\n\n|MySQL\n|`.\u002Fdocker_db.sh mysql`\n|`.\u002Fgradlew test -Pdb=mysql_ci`\n\n|MariaDB\n|`.\u002Fdocker_db.sh mariadb`\n|`.\u002Fgradlew test -Pdb=mariadb_ci`\n\n|PostgreSQL\n|`.\u002Fdocker_db.sh postgresql`\n|`.\u002Fgradlew test -Pdb=pgsql_ci`\n\n|EnterpriseDB\n|`.\u002Fdocker_db.sh edb`\n|`.\u002Fgradlew test -Pdb=edb_ci`\n\n|Oracle\n|`.\u002Fdocker_db.sh oracle`\n|`.\u002Fgradlew test -Pdb=oracle_ci`\n\n|DB2\n|`.\u002Fdocker_db.sh db2`\n|`.\u002Fgradlew test -Pdb=db2_ci`\n\n|SQL Server\n|`.\u002Fdocker_db.sh mssql`\n|`.\u002Fgradlew test -Pdb=mssql_ci`\n\n|Sybase ASE (jTDS)\n|`.\u002Fdocker_db.sh sybase`\n|`.\u002Fgradlew test -Pdb=sybase_ci`\n\n|Sybase ASE (jConnect)\n|`.\u002Fdocker_db.sh sybase`\n|`.\u002Fgradlew test -Pdb=sybase_jconn_ci`\n\n|SAP HANA\n|`.\u002Fdocker_db.sh hana`\n|`.\u002Fgradlew test -Pdb=hana_ci`\n\n|CockroachDB\n|`.\u002Fdocker_db.sh cockroachdb`\n|`.\u002Fgradlew test -Pdb=cockroachdb`\n\n|TiDB\n|`.\u002Fdocker_db.sh tidb`\n|`.\u002Fgradlew test -Pdb=tidb`\n\n|Informix\n|`.\u002Fdocker_db.sh informix`\n|`.\u002Fgradlew test -Pdb=informix`\n|===\n\nTo stop a container started by `docker`, use the command\n\n[source]\n----\ndocker stop $container_name\n----\n\nNOTE:: Substitute `podman` command for `docker` if using `podman`\n\nE.g., to stop the mariadb container\n\n[source]\n----\ndocker stop mariadb\n----\n","Hibernate ORM 是一个针对Java和关系型数据库的持久化解决方案，它简化了应用程序、库和框架中的持久化逻辑开发。该项目实现了JPA（Java Persistence API）标准，并提供了超越该规范的一系列功能和API，支持对象-关系映射，使开发者能够以面向对象的方式操作数据库。Hibernate适合需要高效且灵活的数据持久化机制的应用场景，尤其是在构建企业级应用时，其强大的查询能力和事务管理能力尤为突出。","2026-06-11 02:59:29","top_language"]