Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Although it might be surprising, the first few things you need to get Hibernate running have nothing directly to do with Hibernate. They set up an environment in which the remaining examples work and have the pleasant side effect of building a solid foundation for any actual project you might be undertaking.
If you’re not already using Ant to manage the building, testing, running, and packaging of your Java projects, now is the time to start. The examples in this PDF are Ant-driven, so you’ll need a working Ant installation to run them and experiment with variations on your own system, which is the best way to learn.