I have started a new project with Hibernate. Is Hibernate annotation a better choice or is Hibernate XML mapping better?
I have used Hibernate with XML configuration
Annotations are newer, and are the standard way of doing for JPA applications.
I find them easier to use than XML, but it's a matter of taste and experience. Using them would make you
I've never been in a situation where I needed XML because annotations didn't allow me to do what I wanted.