Hi,

I've tried to clone an EO in Java, but I'm having no luck.

I get a strange error (something about copyWithZone) when I do this:

Address shipAddress;
Address customerAddress;

try {
    shipAddress = customerAddress.clone();
} catch (Exception e) {
    System.out.println("clone didn't work");
}


Essentially I want to do a "deep" clone as the Address class has a Province
and Country object inside of it (each with their own set of attributes).

I'm new to Java and WO, so I haven't done this sort of thing in Java yet.

Brendan Duddridge
ClickSpace Interactive Inc.
Calgary, AB
Canada

Reply via email to