JBoss AS Question:

Which Hibernate object wraps the JDBC Connection?

Tweet Share WhatsApp

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 PDF Read All 31 JBoss Questions
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?