IndirectList: not instantiated
374647Apr 2 2003 — edited Oct 14 2005Just getting started with Toplink so I might have missed something obvious...
Get this error message "IndirectList: not instantiated". Have a Class A which holds a Vector of B:s in it.
This is the equvalient the two tables having a mapping table which maps A to any amount of B.
In toplink they have a M2M mapping type, with Transparant Indirection turned on.
The message appear when I do this
A a = (A) unitOfWork.readObject(A.class, new ExpressionBuilder().get("id").equal("1000"));
out.println(a.getBs());
Have I missed any type in instansiation or similar?
Thanks.