CodesJava

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

Sign Up/ Sign In
Ask a Question


Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki