adspace
Answer Posted / Rakesh Kumar Lohani
"The key components of Hibernate are: 1) Session: The primary interface for interacting with the database. It represents a single unit of work and manages caches, transactions, and database connections. 2) Transaction: A set of operations that are executed atomically, ensuring data integrity. 3) Connection Pool: A collection of database connections that can be reused to improve performance. 4) Query: A way to retrieve or manipulate data from the database. Hibernate supports both SQL and Criteria API for querying. 5) Configuration: The configuration file (hibernate.cfg.xml or hbm.xml) that contains settings for connecting to the database, mapping classes to tables, and other configurations.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers