• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate Interview Questions  RSS feed

 
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?
 
author
Bartender
Posts: 4093
21
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).
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please give me the hint of answer
 
ranger
Sheriff
Posts: 17314
11
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
 
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
 
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.
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this..Hibernate FAQs
 
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"?
 
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!
 
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
Boost this thread!