as far as the spec goes deepcopy is an abstract method that is implemented by the EJB 
container.  I have not had any problems with this. 


-----Original Message-----
From: Tim Drury [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 16, 2000 9:13 AM
To: Orion-Interest
Subject: dependent object - deepCopy()?



I have an EJB, Contact, and a dependent object, Address.
I have the deployment descriptor setup using the <dependents>
and <relationships> area (based on another user's post).

When I deploy, Orion throws this message at me:

Error Compiling file <...>: The dependent class tfc.Address
should implement a "public abstract tfc.Address deepCopy()
method"

How do I implement this?  Where is the documentation on
this method?

I tried:

public Address deepCopy()
{
   Address a = new Address(this.street1, this.street2, ....);
   return a;
}

but I still got the same error upon deployment.

Any ideas?

-tim

Reply via email to