When I was in college learning about web programming, they told us about Hibernate.
We used it for a while, I even had the chance to work with it in a real scenario in a company for almost 8 months. Now that I completely switched to Java EE 6, I use JPA for my ORM needs.
It has been a few months since I use it, but I don't really understand what are the differences between one and other. Why some people say one or other is better or worse? The way I do my mappings and annotations in both is almost the same.
Maybe you can solve some of my doubts:
What are the advantages and disadvantages of each?
Does Hibernate uses JPA or the other way around (do they depend on each other)?
From the point of view of features, what features does one have that does not have the other?
Any other differences between both?