Hi Enrique, Let me warn you that the Source Generator was (and is still) not meant to be used for Castor JDO. Keith added some weeks ago some convenient methods for JDO users but it is only the first step in the integration of generated code that are specific to a JDO usage. The current effort is based on finishing the features for the XML side and fixing the current bugs...and it will begin by the integration of the binding file in the coming weeks (it seems to me that I saying that sentence for ages now and no one will believe me but trust me the binding file is almost ready ;+)). What you report is not a bug but rather an enhancement request so feel free to share your ideas on what will be needed for a JDO user. You can even open a bugzilla to share your ideas with everyone interested in it.
Arnaud -----Original Message----- From: Enrique Rodr�guez [mailto:erodriguez@;nht-norwick.net] Sent: Wednesday, November 13, 2002 6:19 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] Castor Source Generator cross-referenced bug number What i tried to say, pardon for my english if it was the problem, is that in the code generated by castor SourceGen, when yo have a 1:N relation, the master class have a vector of objects, you can add objects with the method addXXXXXXXX(MyObject vMyObject). This methof look like this: ��� public void addMyObject (MyObject vMyObject) ������� throws java.lang.IndexOutOfBoundsException ��� { ������� _vMyObjectList.add(vMyObject); ������� ��� } //-- void addMyObject (MyObject vMyObject) And, it should be like this, if you like to use castor JDO (assuming MyFather 1-->N MyObject) ��� public void addMyObject (MyObject vMyObject) ������� throws java.lang.IndexOutOfBoundsException ��� { ������� _vMyObjectList.add(vMyObject); ������� � vMyObject.setMyFather(this); ������� ��� } //-- void addMyObject (MyObject vMyObject) When i add this, to the code generated by castor, i get StackOverflowException, whe Castor is trying to validate In the MyObjetcClassDescriptor the field MyFather. Hope I explained it well. Any comments??????? Regards, Enrique. -----Mensaje original----- De: Arnaud Blandin [mailto:blandin@;intalio.com] Enviado el: mi�rcoles, 13 de noviembre de 2002 17:31 Para: [EMAIL PROTECTED] Asunto: Re: [castor-dev] Castor Source Generator cross-referenced bug number Hi Enrique, What do you mean by cross reference? Can you post a test that demonstrates the problem? Arnaud -----Original Message----- From: Enrique Rodr�guez [mailto:erodriguez@;nht-norwick.net] Sent: Wednesday, November 13, 2002 5:13 PM To: [EMAIL PROTECTED] Subject: [castor-dev] Castor Source Generator cross-referenced bug number What is the bug number for this bug???? how is the work on it??? Regards, Enrique. ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: ������� unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
