top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Name some important interfaces of Hibernate framework?

+1 vote
438 views
Name some important interfaces of Hibernate framework?
posted Sep 6, 2017 by Neeraj Kumar

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

1. Session Interface : The basic interface for all hibernate applications. The instances are light weighted and can be created and destroyed without expensive process.

2. SessionFactory interface : The delivery of session objects to hibernate applications is done by this interface. For the whole application, there will be generally one SessionFactory and can be shared by all the application threads.

3. Configuration Interface : Hibernate bootstrap action is configured by this interface. The location specification is specified by specific mapping documents, is done by the instance of this interface.

4. Transaction Interface : This is an optional interface. This interface is used to abstract the code from a transaction that is implemented such as a JDBC / JTA transaction.

5. Query and Criteria interface : The queries from the user are allowed by this interface apart from controlling the flow of the query execution.

answer Sep 7, 2017 by Manikandan J
...