This tutorial is helpful to understand how hibernate work in MyEclipse.
MyEclipse Hibernate Introduction:
MyEclipse is an open-standard technology to provide a development environment
for different sources as java ,J2EE,web,UML,XML and databases.
It also include open source Eclipse platform. Hibernate is ORM based persistence technologies of java, having exciting features to work in place of JDBC.
Now we are going to explain step by step how hibernate run in MyEclipse-
1.Creating a connection to our database :First step is to connect database with which we want to build our application. For example, take MYSQL database.
2.Creating a Hibernate-enabled Project: Now we have database
connection so the second thing to create Hibernate enabled project.
For creating hibernate project, we need to create any supportive type base projects, like a java or web project.
and then you can add hibernate capabilities.
3. Reverse-engineering employee table into Hibernate (Java) objects :Now
we did database connection and properly configured a project so the next is
to tell MyEclipse to reverse-engineer our database table into Hibernate object.
Liked it! Share this Tutorial