• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Months needed to self-learn hibernate using tutorials & books ?

 
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks,

I was interested in learning the ORM tool Hibernate by myself, self taught using the book Hibernate in Action.
I know the basic plot and why ORM is used etc.

But I want to get little better and be comfortable enough & be able to clear interviews in Hibernate.

Could you experienced guys shell out you 2 cents on:
- which topics/areas in Hibernate should I focus on ?
- How many MONTHS you think it should take me (if I give, say , 1-2 hours a day, considering an average brain)

-Kumar
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It depends what your starting point is. An irony of Hibernate is one reason it exists is to try to allow developers to not have to think about the database, but the more you understand about relational databases the better you understand why Hibernate does what it does. If you are comfortable writing database backed applications, OK with SQL, understand the main concepts of relational databases and OK with basic Java you should get up and running fairly quickly. Advanced use of Hibernate is fairly involved, and if you are looking to have this as a salable skill in interviews this is the bit I'd be aiming for. The ins and outs of Second level cachinq and the query cache for example, or the choices you can make to improve performance via association mapping decisions and fetch strategies in HQL or Criteria searching. Some knowledge of the various session management and mapping patterns is a good thing to know, as is knowledge about interceptors.

How long this will take I can't say. Writing example applications with a decent book beside you (and Hibernate in Action is pretty good) is the best way to go. Also, ask questions here. There are a lot of people in this forum with quite a bit of Hibernate experience.
 
Kr Manish
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Paul.
Others who would like to share their experiences , please ?
 
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Kumar Manish wrote:Thanks Paul.
Others who would like to share their experiences , please ?



I worked with plain JDBC for some years. Then we had to design a new module for some new kind of data. So we decided that trying to invent a new style of data access would be a good investment for some of our developers. We knew that JBoss internally uses Hibernate. We also knew that we must migrate an old host application to Java. (ADABAS/NATURAL on AS400 => Java/JBoss etc.)
We started with that little project to learn about Hibernate. Just step by step. Map a table and do read/write/update. Sooner or later you will have to take a look on many-to-one and Co. Step by step. If you run into certain performance problems (like n+1-SELECTS) take the next step.

If you use Hibernate and don't know how to solve a problem using "JPA-style" but you know a solution that uses plain JDBC, you can use that. You don't need to know everything about Hibernate when you want to use it. Not knowing some functions in Hibernate cannot be a blocker for your project. You can exchange it with plain JDBC, learn how to do it in Hibernate and have a look at the problem later. We learned the next steps of "Hibernate" when we came to a new problem. Learning just-in-time. ;-)
 
Kr Manish
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for sharing :-)
Anyone who has gauged how much months it took & which topics etc which are essential ?
 
The only cure for that is hours of television radiation. And this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic