bug fix,if two domain objeect is Transient, it's should compare by address.