Hibernate impl

Pa pull master. :)))