Face to Face Java Interview Series 29

Face to Face Interview Series 29 hibernate questions

Face to Face Interview Series 29 hibernate questions for Java Developer position in big finance company. Below are questions:

1. Why do you need ORM frameworks?
2. What key points would you consider when you were asked to migrate JDBC based persistence to Hibernate?
3. Advantages and disadvantages of Hibernate?
4. Explain One-to-One and Many-to-One mapping in Hibernate?
5. Have you used Hibernate? Please explain?
6. What are difference object states in Hibernate?
7. What is Hibernate N + 1 problem?
8. How do your rate yourself with SQL?
9. Can you write really complex queries?
10. Have you done any SQL performance tuning? What methods have to used?
11. What is the difference between hibernate load and get ?
12. What are proxies in hibernate ?
13. How do you generate hibernate mapping files?
14. Have you ever used any tools to generate mapping files?
15. What is your experience with Hibernate?
16. If you were to integrate Hibernate into an existing project what are the high-level steps to do so?
17. What is lazy loading and when you do used lazy loading in Hibernate?
18. How do you enable lazy loading in Hibernate?
19. Have you ever encountered LazyInitializationException ?
20. What are different ways to resolve LazyInitializationException in Hibernate?
21. When you connect to database using Hibernate can you briefly explain the steps?

Leave a Reply

Your email address will not be published. Required fields are marked *