From: Shiwei Zhang Date: 2006-12-19T22:12:33+09:00 Subject: Re: compare two objects without take its ID in consideration --------------030900010108050806080908 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Lobosque, Please use the method eql? for this purpose. If you use eql? you'll get true and if you use equal? you'll get false, under the case you mentioned. Shiwei (The views expressed are my own and not necessarily those of Oracle and its affiliates.) Lobosque Lucas wrote: >Is there a way to compare two objects without take its ID in >consideration? For example: > ># == ># > >It'll return false, because the object ID is different. But i want it to >return true, because the arguments (is it the right name?) are all >equal. > >Thanks > > > --------------030900010108050806080908--