Our flagship product is a transaction logic library which runs under Hibernate, so we've come to learn quite a bit about Hibernate over the past year or two. A lot of our tech support questions turn out to be completely unrelated to our product, but rather to be Hibernate issues and misconceptions.
So we've decided to put together this
TOP TEN LIST OF HIBERNATE QUESTIONS
1 - Accessing objects outside of a transaction
This should probably be number one, two and three. Everyone has hit this problem a few times.
Eager fetching is often not a good solution.
Pre-fetch can work.
2 - Proxies
3 - Long vs. long -- autoboxing doesn't solve all your problems