Make work with hibernate 4
update readme