I am trying to map the object hierarchy below and it does not copy the contents:
public class A {
private B b;
public A() {
this.b = new B();
}
// getter and setter.
}
public class B {
private int[] array;
public B() {
array = new int[5];
}
// getter and setter.
}
public class C {
private int one;
private int two;
private int three;
private int four;
private int five;
// getters and setters.
}
Hello,
I am trying to map the object hierarchy below and it does not copy the contents:
This is the mapping XML used:
Any suggestions are welcome…
Cheers,
Raj.