Hi there! Can somebody please explain some things I'm not completely sure of ? I'm having problem when set proxy="true" with 1:n collection descriptor. I got "argument mismatch exception".. and I have no idea why. Here is the output: [DEFAULT] ERROR: Error in operation [set] of object [PersistentFieldPropertyImpl], java.lang.IllegalArgumentException [DEFAULT] ERROR: Declaring class [sk.euromove.goldeneye.projectmanagement.bos.Project] [DEFAULT] ERROR: Property Name [allSubsystems] [DEFAULT] ERROR: Property Type [java.util.Vector] [DEFAULT] ERROR: anObject was class [sk.euromove.goldeneye.projectmanagement.bos.Project] [DEFAULT] ERROR: aValue was class [org.apache.ojb.broker.accesslayer.CollectionProxy] java.lang.IllegalArgumentException: argument type mismatch rethrown as org.apache.ojb.broker.PersistenceBrokerException: argument type mismatch Caused by: java.lang.IllegalArgumentException: argument type mismatch
Everithing works fine, till I put proxy="true". 1) Don't you know what may cause this ? 2) proxy="true" means that when OBJECT is loaded using e.g. getObjectByQuery, asociated elements are not loaded/materialized imidiately, but only at request or call of .size() ? 3) The class participating in this relationship do not need to implement anything to be used in a collection proxy ? Thank you a lot. $kala. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
