RT,看到个解决办法,不知用的是那个JDK版本,目前5 6找不到
如下该用什么取代
 public boolean equals(Object x, Object y) throws HibernateException
      {
          // TODO Auto-generated method stub            if(x==y) return true;              return EqualsBuilder().append(x, y).isEquals();
    }public int hashCode(Object x) throws HibernateException
        {
              // TODO Auto-generated method stub
               return new HashCodeBuilder().append(x).toHashCode();
        }