As any other framework Hibernate impose some restrictions. One of a very popular interview questions is:
"What kind of difficulties you've faced with Hibernate?"
For instance:
- Lazy one-2-one bidirectional is impossible.
- Lazy collection loading after session close. That happens when you use DAO + Spring transactions. You can read here about it.
- Troubles with concurrent update on clustered application
- N + 1 selecting problem
Question: may you supplement this humble list please?
P.S. I don't mean those difficulties when you are newcomer in Hibernate and don't now how to map many-2-many. I mean those difficulties that faced every experienced programmer while using this framework.