checking hibernate