trying to wire up hibernate (unfinished yet)