Hey guys, I'm new to hibernate and I'm somehow confused about hot to use it. As far as I understood there exists two approaches for Hibernate implementation. one by using hibernate configuration file , mapping classes with their xmls (Netbeans has the auto generation system for all these stuff) and the second approach is done by using annotations and entity classes . So I'm just curious what is the advantage and disadvantage of each approach. would you please clarify me about these approaches? thanks ;-)
|