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.

47 comments:

Unknown said...

great one

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

Unknown 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

Unknown 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

jvimala 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

deepti said...

Excellent article written in understandable way. thanks for sharing. join our,..
PCB Designing Training Institute in Chennai | PCB Training Center in Velachery | PCB Designing Courses in Perungudi

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..
Embedded System Training Institute in Chennai | Embedded Training in Velachery | Embedded Courses in T.nagar

deepti said...

Great post.Thanks for one marvelous posting! I enjoyed reading it;The information was very useful.Keep the good work going on!!
Tally Training Institute in Chennai | Tally Training in Velachery | Best Tally Courses in Guindy | Tally Training Center in Pallikaranai

srihariparu 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..
Web Designing and Development Training in Chennai | Web Designing Training Center in Velachery | Web Design Courses in Pallikaranai

deepti said...

Awesome post.. Really you are done a wonderful job.thank for sharing such a wonderful information with us..please keep on updating..
PCB Designing Training Institute in Chennai | PCB Training Center in Velachery | PCB Design Courses in Thiruvanmiyur

srihariparu said...

Your article is really an wonderful with useful content, thank you so much for sharing such an informative information. keep updating.
MultiMedia Training Center in Chennai | MultiMedia Training Courses in Velachery | MultiMedia Training Institutes in OMR

Reshma said...

Get inspired by your blog. Keep doing like this....
Ethical Hacking Course in Chennai
Ethical hacking course in bangalore
Ethical hacking course in coimbatore
Ethical Hacking Training in Bangalore
Certified Ethical Hacking Course in Chennai
Ethical Hacking in Bangalore
Hacking Course in Bangalore
Ethical Hacking institute in Bangalore
Selenium Training in Bangalore
Software Testing course in Bangalore

sasi said...

I appreciate you for this blog. More informative, thanks for sharing with us.
Salesforce Training in Chennai
salesforce training in bangalore
Salesforce Course in Chennai
salesforce institute in bangalore
salesforce developer training in chennai
salesforce course in bangalore
Python Training in Bangalore
Angularjs Training in Bangalore

januma said...

Very interesting article.Helps to gain knowledge about lot of information. Thanks for posting information in this blog...
Java Training Institute in Chennai | Java Training Center in Velachery | Advanced java Courses in Porur

srihariparu said...

Thanks for sharing this valuable information to our vision, if anyone looking a Web Designing Training Institute in Chennai | Web Design Training Center in Velachery | WebDesign Courses in Taramani

Manju said...

Really superb post..Amazing content.Thanks for posting such a wonderful blog..keep updating..
Embedded Project Center in Chennai | Embedded Project Center in Velachery | Embedded Projects in Madipakkam | Embedded Projects Institute in Pallikaranai

deepti said...

Great article Glad to find your blog,awesome blog with informative content.Thanks for sharing.
Final Year Project Center in Chennai | Final Year Projects in Velachery | Final Projects for all domain Center in Velachery | Final Year projects for BE in Chennai

Manju said...

Really is very interesting and informative post, I saw your website and get more details..Nice work. Thanks for sharing your amazing article with us..
Image Processing Project Center in Chennai | Image Processing projects in Velachery | Image Processing Projects for BE in Velachery | Image Processing projects for ME in Velachery | Image processing projects in Chennai

srihariparu said...

Pretty blog, so many ideas in a single site, thanks for the informative article, keep updating more article.
Android Project Center in Chennai | Android Project Center in Velachery | Android Projects for BE in Velachery | Android Projects for ME in Pallikaranai