On this page, I will walk through a few features of the plugin and how it is intented to work.
Create a Java project and add the jar containing the driver in the project's build path.
Start the wizard by clicking File >> New >> Other >> Hibernate >> Configuration File.
Select the default package for the file container and let the wizard do the rest.
Start the wizard by clicking File >> New >> Other >> Hibernate >> Mapping File.
Set the database information and click Refresh.
Select any tables you would like to create mapping files for.
Set the package you would like the business objects to reside in.
Select the mapping files in the navigator, right click and select Hibernate >> Add Mapping Reference.
Assuming a simple example like person, the following snippet is an example of how the generated code can be used:
// load the configuration file
PersonDAO dao = new PersonDAO();
// find all people
List people = dao.findAll();
// find a single person
Long id = new Long(3);
Person person = dao.load(id);
// update the person
// delete the person