Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Interview Questions

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to prepare for an upcoming interview on hibernate. Does anybody have any good question bank on hibernate?
 
Scott Selikoff
author
Saloon Keeper
Posts: 4014
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Ranga Reddy shreya
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please give me the hint of answer
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A good simple question is where should your configuration have the tags for One-to-many relationships, The parent or the child?

Mark
 
Anup Sabbi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at the questions i have complied here:
http://www.anupsabbi.com/index.php?content=articles/interview_questions/hibernate.html
 
Nishant Verma
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. The list was very helpful.
 
Nishant Verma
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. The list was very helpful.
 
Avtomat Kalashnikov
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this..Hibernate FAQs
 
Bougnon Kipre
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Anup Sabbi:
Take a look at the questions i have complied here:
http://www.anupsabbi.com/index.php?content=articles/interview_questions/hibernate.html


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
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks!
 
Vinay Singh
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic