JBoss AS Question:

Download Job Interview Questions and Answers PDF

Which Hibernate object wraps the JDBC Connection?

JBoss Interview Question
JBoss Interview Question

Answer:

The Session interface wraps a JDBC Connection. This interface is a single threaded object which represents a single unit of work with application and persistent database. It's retrieved by the SessionFactory's openSession() method

Download JBoss Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between Hibernate and EJB 3? Do not you think EJB 3 is just a clone of Hibernate?Is the Session Factory Thread safe?