R4R Team working to provide free of cost for experienced and freshers

Tutorials | Examples|Interview Questions and Answers|Java Tutorials| C Tutorials | C++ Tutorials | Spring Tutorials| Hibernate Tutorials | JSP Tutorials | Servelets Tutorials| C# Tutorials | PHP Tutorials etc , Basics | Download Software | Data Types | Variables | Constant | Storage & Classes | Operators | Decisions Making | Loops | Functions| Numbers | Arrays | Pointers | String | Datastructure | Expressions | Preprocessor Statement | I/O | Exception Handling | OOPs Tutorial | Classes and object |C++ Inheritance Overloading | Polymorphism | Abstraction | Encapsulation | Interfaces | Multithreading etc


Commonly used classes and interfaces
Previous Home Next

Commonly used classes and interfaces exposed by hibernate for application developer

  • Configurtion: Configuration object is used by the hibernate to stored configuration information in object form. Configuration information data is required by hibernate to connect to a database and information of classes that are to be managed by hibernate.
  • SessionFactory: It is a factory class which is used by application developer to create session.A part from this it can also be used to manage second level cache.
  • Session: This is a main interface throw which application eveloper interact.This interface provide method for persistance object,creating tansaction and query objects for each user a different session is provided.
  • Transaction: This interface is used by appliction developer to transact execution query.
  • Query: This interface is used by he application developer to execute HQL query. HQL is a object version of sql used by hibernate.
Previous Home Next