updated Hibernate tests
long types converted to int