Popular Posts

Thursday, May 10, 2012

Hibernate advance level/difficult interview questions & answers


Some are common, but some are very core technical, senior level questions:

1) What's difference / comparison between hibernate and Ibatis? & JPA?
2) Whats lazy-loading in hibernate?
3) How to implement query in hibernate.
4) How to configure cache in hibernate.
5) Difference between load and get method
6) What are the configuration files; Can we have more than one configuration files, How application is aware of them.
7) How to define relationship of Objects in hibernate
8) Caching in Hibernate.
9) What is Hibernate SessionFactory
10) How to define mapping in Hibernate.

11) what are 3 states of object in Hibernate
12) How to reattach the detached object in Hibernate.
Ans) Session.merge(obj)

13) Integration of spring with hibernate?
14) what is lazy initialization?
15) what is n+1 problem in hibernate

16) Life cycle / stages of hibernate entities / objects.
Ans) Transient, Persistent, Removed & detached.
http://www.site.lalitbhatt.com/hibernate-entities-life-cycle

17) How can we create session in hibernate
18) How many configuration file in hibernate
19) How will you configure Hibernate in you app?
20) Collections supported by Hibernate

21) Inheritance in Hibernate.
22). Optimistic locking in Hibernate.

23) Design Patterns in Hibernate.
Ans - hibernate uses / based upon Data Mapper.
http://stackoverflow.com/questions/1308096/which-pattern-does-hibernate-follow
http://martinfowler.com/eaaCatalog/dataMapper.html

Answers to follow.

22 comments:

Rajapriya R said...

great one

job oriented java training | java training course contents | java training topics | best java j2ee training institute in chennai

Muthukumar Prakash said...

Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more .
java training in chennai

Java Online Training said...

Nice and Valuable information you explained in this article I loved it more, it useful for me a lot. Bookmarked your site.
Regards,
Java Online Training | Java Online Training in India | Java Online Training India | Java Online Training in Hyderabad | Java Online Training Hyderabad | Java Training in Hyderabad | Java Training in India | Java Training Institutes in India

srihariparu said...

Really nice post.Thanks for sharing.
Android Project Center in Chennai | Android Project Center in Velachery

srihariparu said...

Great post and informative blog.it was awesome to read, thanks for sharing this great content to my vision. This is a great inspiring article.I am pretty much pleased with your good work. You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post..

Best Python Training in Chennai | Python Certification Training Centers in Chennai | Python Exams in Chennai | Python Exam Center in Chennai

deepti said...

Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…This is a great inspiring article.I am pretty much pleased with your good work. You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post..


Best Python Training in Chennai | Python Certification Training Centers in Chennai | Python Exams in Chennai | Python Exam Center in Chennai

srihariparu said...

Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…
Embedded System Training Institute in Kanchipuram | Embedded Training Center in Kanchipuram

srihariparu said...

Great post....Thank you for posting the great content……I found it quiet interesting, hopefully you will keep posting such blogs…Keep updating your creative and awesome blog.

Best Python Exam Center in Chennai | Python Certification Training in Chennai | Python Training in Chennai | Python Exams in Chennai

srihariparu said...

This is a great inspiring article.I am pretty much pleased with your good work. You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post,.Thank You For Sharing This Information..
Best CCNA Training Institute in Chennai | CCNA Training Center in Velachery

ajay said...

Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…
Best Linux Training Institute in Kanchipuram | No.1 Linux Training Center in Kanchipuram

deepti said...

Great post and informative blog.it was awesome to read, thanks for sharing this great content to my vision. This is a great inspiring article.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post..
Best Python Exam Center in Chennai | Python Certification Training in Chennai | Python Training in Chennai | Python Exams in Chennai

srihariparu said...

Your article is really amazing with useful information you are shared,its very helpful for everyone.Thanks a lot for sharing such an informative information.keep updating..
Best Python Exam Center in Chennai | Python Exams in Chennai | Python Exams in Velachery

srihariparu said...

Very informative post and useful post so happy to read this article share it for everyone.Pretty post. Whatever we accumulated data from the web journals, we ought to actualize that in basically then no one but we can comprehend that precise thing obviously.

Linux Training Institute in Chennai | Linux Training Institute in Velachery

srihariparu said...

Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…
Best Java Training Institute in Chennai | Java Training in Velachery

srihariparu said...

It’s really a nice and helpful piece of information. I’m satisfied that you just shared this helpful information with us. Please stay us informed like this. Thanks for sharing.
MatLab Training Institute in Chennai | MatLab Training in Velachery

jaya devan said...

Good Post. Thanks you so much for that. Can you Share the Interview Questions for Matlab Course Training.

Xplore IT Corp said...

Hey Nice Blog!! Thanks For Sharing!!!Wonderful blog & good post.Its really helpful for me, waiting for a more new post. Keep Blogging!
best java training in coimbatore
php training in coimbatore

Sam Daniel said...
This comment has been removed by the author.
jvimala said...

Hey, would you mind if I share your blog with my twitter group? There’s a lot of folks that I think would enjoy your content. Please let me know. Thank you.
AWS Training in Chennai | Best AWS Training in Chennai
Data Science Training in Chennai | Best Data Science Training in Chennai
No.1 Python Training in Chennai | Best Python Training in Chennai
RPA Course Training in Chennai
No.1 RPA Training in Chennai | Best RPA Training in Chennai
No.1 Digital Marketing Training in Chennai

Sam Daniel said...

Wonderful Blog. Keep Posting.
Advanced Excel Training in Chennai
Corporate Excel Training in Mumbai
Advanced Excel Training in Bangalore
Power BI Training in Chennai
Corporate Tableau Training
Corproate Excel Training Delhi, Gurgaon, Noida

Rathinam said...

Well done! Your explanation way is very attractive for me and I like more tips from your great post. Surely I will share your great post for my friends and this is very useful for freshers. Keeping the great work!
Oracle Training in Chennai
Oracle Training institute in chennai
Social Media Marketing Courses in Chennai
Tableau Training in Chennai
Primavera Training in Chennai
Unix Training in Chennai
Oracle DBA Training in Chennai
Power BI Training in Chennai
Oracle Training in Chennai
Oracle Training institute in chennai

Nisha San said...

Amazing article. Your blog helped me to improve myself in many ways thanks for sharing this kind of wonderful informative blogs in live.
javascript training in chennai | javascript training institute in chennai | javascript course in chennai | javascript certification in chennai | best javascript training in chennai |