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.

33 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 |

deepti said...

I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.
Embedded Training Institute in Chennai | Embedded Training in Velachery

srihariparu said...

This is really too useful and have more ideas from yours. keep sharing many techniques and thanks for sharing the amazing article.
MatLab Training Institute in Chennai | MatLab Training Center in Velachery

deepti said...

Really nice post. Thank you for sharing amazing information.
BluePrism Training Institute in Chennai | BluePrism Training in Velachery

srihariparu said...

Really nice post. Thank you for sharing your amazing information and informative article,its really useful for us.keep updating such a wonderful blog..
Embedded Training Institute in Chennai | Embedded Training Center in Velachery

deepti said...

Very informative and interesting blog, it was so good to read and useful to improve my knowledge as updated one,keep updating..This Concepts is very nice Thanks for sharing..
Selenium Training Institute in Chennai | Selenium Training Center in Velachery | Selenium Courses in T.Nagar

srihariparu said...

Thanks for sharing your great information..Its really very impressive and informative content.keep updating...
Linux Certification Training Institute in Chennai | Linux Training in Velachery | Online Linux Training in Madipakkam

srihariparu said...

Amazing blog. Thank you for sharing. The information you shared is very effective for learners I have got some important suggestions from it..
Blue Prism Training Institute in Chennai | Blue prism Certification Training in Velachery | Blue Prism Training Center in Adyar

deepti said...

Pretty article! I found some useful information in your blog, it was amazing to read, thanks for sharing this great content to my vision...
Embedded Training Institute in Chennai | Embedded Training in Velachery | Embedded Certification Training in Velachery

srihariparu said...

Excellent blog. Thank you for sharing. The information you shared is very effective for learners I have got some important suggestions from it..
MatLab Training Institute in Chennai | MatLab Training in Velachery | MatLab Training in Taramani

deepti said...

Thanks for sharing this great article! That is very interesting I love reading and I am always searching for informative articles like this..
Cisco Certification Training in Chennai | Cisco Certification Courses in OMR | Cisco Certification Exams in Velachery

srihariparu said...

Wow!!..What an excellent informative post, its really useful.Thank you so much for sharing such a awesome article with us.keep updating..
VMware Certification Training in Chennai | VMware Training Institute in Velachery | VMware Certification Courses in Medavakkam