What is used to specify db type used in application to hibernate?
Answers
Answered by
0
Configuration object is used to create a SessionFactory object which in turn configures Hibernate for the application using the supplied configuration file and allows for a Session object to be instantiated. The SessionFactory is a thread safe object and used by all the threads of an application.
Answered by
0
The configuration object is the correct answer to this question.
Explanation:
- The Configuration object is used to build a SessionFactory object that configures it.
- Hibernate for the client using the configuration file supplied and allows the Session entity to be instantiated.
- The SessionFactory is a threads safe resource used for all the processes of the program.
- In Hibernate dialects, SQL queries can be converted in an optimized way domestically on the basis of the load driver.
Learn more:-
brainly.in/question/7113980
Similar questions