Before getting your hands dirty with examples/tutorials, First you need to understand what hibernate helps achieve as a ORM Framework. Next you need to understand the core reasons why hibernate came into existence, this will give you an insight into when to use hibernate and when not to use hibernate.
Once these 2 aspects are understood well, you can look at Hibernate Tutorial. This tutorial should give you fair idea about all core features supported by hibernate. Further as you work on various projects, you might want to explore more intricate features of hibernate(which the tutorial might not cover), you can post/read queries around your usecase on stackoverflow.
Although its not a mandate, but the combination of Spring + hibernate is considered to be ideal for any enterprise architecture. When should we use Hibernate along with Spring and also what is the advantage? This article should further clarify usage of spring & hibernate together. As you gain experience and work on different enterprise applications, you will see more of spring being used. Spring is proving to be a more reliable framework for many architects/enterprise apps. There is a lot that spring offers to us developers. Hence i would strongly recommend you to get a head start into spring early in your career.
A word of caution here that although spring might seem to provide for your usecase, it might also be a over kill. Hence evaluate your options well before making spring as the solution for all your problems / needs.
Welcome to the world of ORM’s & hopefully to spring. All the best!
No comments:
Post a Comment