We see a lot of web applications which stores and retrieves data in a database.Only in few of these we see hibernate being used.Should hibernate be used in each and every application that stores and retrieves data in a database or there are some situations where use of hibernate should be avoided.?
thanks
That's an odd question. Hibernate is popular, but it is only one of multiple solutions. Others include using a different ORM API, using no ORM, and using a No-SQL DB. Why do you think Hibernate should be used in all web apps?
Those are implementation questions - if any particular DB or DB API doesn't support it those directly you can always implement those on top of the DB API. But let's take a step a back: what prompted the original question? Are you trying to select a DB API for a web app project? Or a DB?
I am trying to make a sample application for practice which has Spring so thought of using hibernate to store the values in database and retrieve it. Thats how I got this question that should I use hibernate.I want to practice hibernate