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.
mindas
source share