Hibernate Job Interview Questions

Answer  
# 1 The Session interface is the primary interface used by Hibernate applications. It is a single-threaded, short-lived object representing a conversation between the application and the persistent store. It allows you to create query objects to retrieve persistent objects.

Session session = sessionFactory.openSession();
Session interface role:

* Wraps a JDBC connection
* Factory for Transaction
* Holds a mandatory (first-level) cache of persistent objects, used when navigating the object graph or looking up objects by identifier
Answer Submitted by: Admin
Is This Answer Correct?    2 Yes 0 No
Submit New Question Place Your Answer

Previous Interview QuestionNext Interview Question
What are the Core interfaces are of Hibernate framework?What role does the SessionFactory interface play in Hibernate?

Top: What role does the Session interface play in Hibernate?
Hibernate Job Interview Question


Top Frequently Asked Hibernate Question
Frequently Asked Hibernate Job Interview Question


Top Frequently opened Java Programing Job Interview categories
Most popular Java Programing Job Interview categories

Comments About What role does the Session interface play in Hibernate?

Share your valuable opinions, ideas and suggestions about What role does the Session interface play in Hibernate?
While placing your comment your email address is required but won't be published any where else; Personal information will be kept confidential; we do not sell or release our respective visitors private information.
  1. Webmaster 23rd of May 2012

    Webmaster Said

    Tell us what you feel about What role does the Session interface play in Hibernate?
    All comments will be published after review. No login or registration is required to post a comment on What role does the Session interface play in Hibernate? We offer and invite you to submit your valuable comment now; Please be respectful of others when commenting. Insulting others, self-promotional comments, website promotional comments, marketing stuff, SEO Techniques, SMS-style content and off-topic comments will not be approved at this information portal.
    So start sharing your thoughts regarding What role does the Session interface play in Hibernate?
    Thank you.

Leave a Comment

Leave a Comment
  1.  Enter This Verification Code  Regenerate Verification Code  



Your reply will be added to the comment above (Below any other replies to this comment) -

Top Comments About: What role does the Session interface play in Hibernate?
Comments on What role does the Session interface play in Hibernate?

 
Top of Link batk to What role does the Session interface play in Hibernate?
Link batk to What role does the Session interface play in Hibernate?