InterviewSolution
Saved Bookmarks
| 1. |
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 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 |
|