Registry / orm / hibernate-core

hibernate-core

JSON →
library5.5.6javamavenunverified

The `hibernate-core` module has been relocated to the `org.hibernate.orm` group; provides object-relational mapping for Java.

<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>5.5.6</version> </dependency>
INSTALL
IMPORT
SIG · HIBERNATE-CORE
H
hibernate-core
ormjavav5.5.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Session
org.hibernate.Session

Open a Hibernate Session using Configuration.

import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; public class HibernateExample { public static void main(String[] args) { SessionFactory factory = new Configuration().configure().buildSessionFactory(); Session session = factory.openSession(); // use session session.close(); } }
Debug
Known issues
breakingHibernate 5.x is deprecated; use Hibernate 6.x with new groupId org.hibernate.orm.
fix
Update dependency to org.hibernate.orm:hibernate-core:6.x and adapt to API changes.
affects: >=5.0.0
Upgrade
Version history
5.5.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
30
OpenAI (training)
1
Resources
hibernate-core — mvn dependency:get hibernate-core · libregistry