Easy learning with example program codes

what is sessionfactory in hibernate?

The SessionFactory object is created from the Configuration object. It is thread-safe object and used by all threads of the application. It is act as a factory for session objects and client for ConnectionProvider. It maintains the second level cache of the data.

Related topics

Please follow and like us:

Copyright © 2020 CodesJava Protection Status