Eclipse Project

Go to the project properties, set the JDBC driver and the package. This package is where the Hibernate mapping files will be created.

Hibernate

The HiberClipse plugin will connect in the database through the hibernate.properties or the hibernate.cfg.xml. You just need to put the hibernate.properties in a source folder on your project. Then, the HiberClipse will find it and open a connection.