Hibernate的功能分为许多模块,旨在隔离依赖关系(模块化)。
hibernate-core
The main (core) Hibernate module. Defines its ORM features and APIs as well as the various integration SPIs.
hibernate-envers
Hibernate’s historical entity versioning feature
hibernate-spatial
Hibernate’s Spatial/GIS data-type support
hibernate-osgi
Hibernate support for running in OSGi containers.
hibernate-agroal
Integrates the Agroal connection pooling library into Hibernate
hibernate-c3p0
Integrates the C3P0 connection pooling library into Hibernate
hibernate-hikaricp
Integrates the HikariCP connection pooling library into Hibernate
hibernate-vibur
Integrates the Vibur DBCP connection pooling library into Hibernate
hibernate-proxool
Integrates the Proxool connection pooling library into Hibernate
hibernate-jcache
Integrates the JCache caching specification into Hibernate, enabling any compliant implementation to become a second-level cache provider.
hibernate-ehcache
Integrates the Ehcache caching library into Hibernate as a second-level cache provider.
The release bundle is structured as follows:
lib/required/
directory contains the hibernate-core
jar and all of its dependencies. All of these jars are required to be available on your classpath no matter which features of Hibernate are being used.lib/envers
directory contains the hibernate-envers
jar and all of its dependencies (beyond those in lib/required/
and lib/jpa/
).lib/spatial/
directory contains the hibernate-spatial
jar and all of its dependencies (beyond those in lib/required/
)lib/osgi/
directory contains the hibernate-osgi
jar and all of its dependencies (beyond those in lib/required/
and lib/jpa/
)lib/jpa-metamodel-generator/
directory contains the jar needed for generating the Criteria API type-safe Metamodel.lib/optional/
directory contains the jars needed for the various connection pooling and second-level cache integrations provided by Hibernate, along with their dependencies.原文:https://www.cnblogs.com/hosealyu1996/p/10672683.html