File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Hibernate Interview Questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Interview Questions" Watch "Hibernate Interview Questions" New topic

Hibernate Interview Questions

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
I am trying to prepare for an upcoming interview on hibernate. Does anybody have any good question bank on hibernate?

SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3753

What's the differences between Hibernate and JDO and which is superior? (loaded question)

Thinking of what I would ask if interviewing on the subject...

1. Name types of inheritence models and describe how they work? (such as vertical inheritence, horizontal, etc)

2. Study some hibernate files and write a query based on some set of information.

3. How would you go about creating hibernate classes and XML on a new set of tables? (hint: think code generation).

[OCA 8 Book] [Blog]
Ranga Reddy shreya
Ranch Hand

Joined: Oct 20, 2004
Posts: 30
please give me the hint of answer

Enjoy life .
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

A good simple question is where should your configuration have the tags for One-to-many relationships, The parent or the child?


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Anup Sabbi

Joined: Mar 20, 2006
Posts: 1
Take a look at the questions i have complied here:
Nishant Verma
Ranch Hand

Joined: Jun 14, 2006
Posts: 41
Thanks. The list was very helpful.

"Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover." - Mark Twain
Nishant Verma
Ranch Hand

Joined: Jun 14, 2006
Posts: 41
Thanks. The list was very helpful.
Avtomat Kalashnikov

Joined: Dec 25, 2005
Posts: 9
Check this..Hibernate FAQs
Bougnon Kipre

Joined: Sep 13, 2007
Posts: 21
Originally posted by Anup Sabbi:
Take a look at the questions i have complied here:

In your useful link above, there was this question/answer below

Q: How can you make a property be read from the database but not modified in anyway (make it immutable)?
A: By using the insert="false" and update="false" attributes.

While I agree with update="false", I have reservation about insert="false".
How could insert the original value into that column if insert="false"?
manco capac

Joined: Dec 11, 2004
Posts: 7
Hibernate Interview Questions

The above link takes me to are real estate page. I am still interested in
seeing Interview Questions on Hibernate, is there a new link?

Vinay Singh
Ranch Hand

Joined: Dec 15, 2004
Posts: 174
There are three tests on Hibernate Interview and concepts. After you give the test , you can see the results and a graph as to how you have fared with other candidates.

Hibernate Interview questions

Hibernate Interview questions

Hibernate Essential quiz

Technical quiz and interview questions   SCJP 6 mock practice test
I agree. Here's the link:
subject: Hibernate Interview Questions
It's not a secret anymore!