Questions tagged [hibernate]

An object-relational mapping (ORM) framework for the Java programming language.

Filter by
Sorted by
Tagged with
82 votes
6 answers
159k views

Service layer vs DAO -- Why both?

I have been working with SpringMVC, Hibernate, and some databases in a java web application example. There are a few different ones that do this, but this Spring 3 and hibernate integration tutorial ...
Jeff's user avatar
  • 1,854
7 votes
1 answer
1k views

Why were annotations introduced in Spring and Hibernate?

I would like to know why were annotations introduced in Spring and Hibernate? For earlier versions of both the frameworks book authors were saying that if we keep configuration in xml files then it ...
Chandrashekhar's user avatar