Hello!

                I need to reuse a Criteria object multiple times. This is what I want
to do:
        Criteria origCriteria;
        ...
        ...     
        Criteria newCriteria = origCriteria;
        //modify newCriteria
        ...        
        ...
        //do something with newCriteria
        ...
        ...
        //reuse the origCriteria

                When I do this all changes that I make to "newCriteria" reflects to
"origCriteria" I tried also : 
        newCriteria = origCriteria.clone();
but it is not working. :(  How can I copy "origCriteria" to
"newCriteria" but leave the original criteria intact?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to