I was asked in an interview with this question, and I answered as follows:
-Will be performance: - Effective requests. - caching of the 1st and 2nd levels. - Good caching gives better scalability. - Good database portability: - Changing the database is as simple as changing the dialect configuration. - Increased developer productivity: - Think only about object terms, not language query terms.
But I also feel that the systems fall into one of the following categories, and Hibernate may not be suitable for all these cases, I'm interested in your thoughts on this, do you agree with me? tell me when will use HB in the following case and why.
- Recording systems only:
- Only for reading:
- Write mainly systems:
- Read mainly systems:
Relations Rameau
source share