我正在使用hibernate,需要覆盖equals和hashCode()。我选择使用google-guava的equals和hashCode助手。我想知道我是否遗漏了什么。我有idImage和filePath的获取/设置方法。@Entity@Table(name="IMAGE")publicclassImageEntity{privateIntegeridImage;privateStringfilePath;@OverridepublicinthashCode(){returnObjects.hashCode(getFilePath());}@Overridepublicboolea