1st pass at hibernate integration
not working yet