JBoss AS Question:
Download Questions PDF

Which Hibernate object wraps the JDBC Connection?

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?