Added example pattern for how to use Hibernate effectively.

Hibernate is just awful.