InfoQ Homepage News ORM Tool Hibernate 4.3 Released, Implementing JPA 2.1 Specification
ORM Tool Hibernate 4.3 Released, Implementing JPA 2.1 Specification
This item in japanese
Lire ce contenu en français
Dec 31, 2013 1 min read
by
Write for InfoQ
Feed your curiosity. Help 550k+ globalsenior developers
each month stay ahead.Get in touch
The final version of Hibernate ORM 4.3, a Java-based Object-Relational Mapping, ORM, framework, was recently released, bringing support for stored procedures and entity graphs. Hibernate 4.3 is a certified implementation of the JPA 2.1 Specification, JSR 338, released in May 2013.
Main focus for this release has been on support for the JPA 2.1 specification and the new features defined which include:
- Standardized support for working with stored procedure and function calls, across both providers and database vendors.
- Definition and execution of UPDATE and DELETE queries can now be made in a type-safe way.
- Entity listeners, for implementing lifecycle events in separate classes, may now use the CDI standard, (JSR-299), for injection of dependencies.
- AttributeConverters, which enable conversions of basic values between the representation in the database and in the corresponding objects.
- Entity Graphs for defining how an entity and its sub-elements are loaded. How a graph is loaded may also be changed dynamically.
- A standardized way of how schema generation is performed across providers together with a baseline of configuration settings all providers understand.
- Synchronization of persistence context with the current transaction can now be controlled via SynchronizationType.
- An object can now be constructed using argument values returned from a SQL query by using the @ConstructorResult annotation.
Other significant changes, not related to the new JPA specification, include:
- Increased support for OSGi environments. The plan is to further improve the support in Hibernate 5.
- Support for inline dirty checking, finding which entities state has changed, based on new bytecode enhancement support within Hibernate.
Documentation has been updated to correspond with the new version.
This content is in the Java topic
Related Topics:
-
Related Editorial
-
Related Sponsors
-
Popular across InfoQ
-
Microsoft Patches Critical ASP.NET Core Vulnerability with 9.9 Severity Score
-
GitHub Expands Copilot Ecosystem with AgentHQ
-
Redis Critical Remote Code Execution Vulnerability Discovered after 13 Years
-
Monzo’s Real-Time Fraud Detection Architecture with BigQuery and Microservices
-
AWS Launches Capabilities by Region Tool
-
Architecture Should Model the World as it Really is: a Conversation with Randy Shoup
-
Related Content
The InfoQ Newsletter
A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example