[フレーム]
BT

InfoQ Software Architects' Newsletter

A monthly overview of things you need to know as an architect or aspiring architect.

View an example

We protect your privacy.

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Unlock the full InfoQ experience

Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources.

Log In
or

Don't have an InfoQ account?

Register
  • Stay updated on topics and peers that matter to youReceive instant alerts on the latest insights and trends.
  • Quickly access free resources for continuous learningMinibooks, videos with transcripts, and training materials.
  • Save articles and read at anytimeBookmark articles to read whenever youre ready.

Topics

Choose your language

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

Write for InfoQ

Feed your curiosity. Help 550k+ global
senior 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.

Rate this Article

Adoption
Style

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

We protect your privacy.

BT

AltStyle によって変換されたページ (->オリジナル) /