Google News
logo
Java Hibernates - Interview Questions
How to create hibernate projects in eclipse?
steps to create hibernate projects in eclipse
 
* First, create the java project in eclipse
* Download the hibernate from a website then it shows to your download hibernate library then hit into the hibernate after download, add jar files to hibernate.
* Add MySQL JDBC driver to file
* Then, Create a Persistent class with mapping information
* After creating persistence class then again create  the Hibernate Configuration file
* Create a Utility class for initializing the SessionFactory
* Create Example code to load the data from Database
* After doing all the above points right-click on mouse u see run option then hit on the RUN
* Run the Example.
Advertisement