hivernate 3.5.1.FINAL and many fixes