Hibernation - Outside of an Object / Relational Mapping?

Looking at http://www.hibernate.org/ , it has this introductory text:

Historically, Hibernate has facilitated the storage and retrieval of Java domain objects through Object / Relational Mapping. Today, Hibernate is a collection of related projects allowing developers to use POJO domain models in their applications, which expand well beyond the object / relational mapping.

In other words: originally it was about ORM, now it is more than ORM.

Reading between the lines: ORM is not the only game in the city - there are new ways to approach these things that may work better.

When I go into the documentation, it still just describes it as an ORM library. Are there any good blog posts that give an overview of the specific new post-ORM approaches that have been taken, and how these features work and are intended to be used (and how / why they might be better than the "traditional" ORMs)?

+6
orm hibernate
source share
2 answers

It depends on how you define and what you expect from the ORM tool. I think of the ORM of what it just does, er, object to db mapping and vice versa. Hibernate is more a lot , for example:

  • caching (objects / requests, first / second level)
  • lazy loading
  • ability to replicate an object between two different data stores
  • declarative security
  • Criteria API
  • object mapping and XML
  • automatic circuit generation

The list can probably be included (if you are not sure yet, add Spring integration at the top). If you asked yourself ten years ago, no one would call these functions part of the classic ORM library.

We are so used to Hibernate now that people no longer notice that it has become a very rich framework . Obviously, most of these features come with a price , but you can always refuse to pay and stick to the basic ORM.

+1
source share

Reading between the lines: ORM is not the only game in the city - there are new ways to approach these things that may work better.

Reading is literal: they talk about โ€œrelated projectsโ€ that provide additional features, namely:

+1
source share

All Articles