Re: Do I need to create reference objects when storing object?

2004-01-29 Thread Jurica Viskovic
THANKS! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Do I need to create reference objects when storing object?

2004-01-28 Thread Armin Waibel
Hi, In the previous versions of OJB it wasnt necessary to create reference object when storing object that has reference but when I try the same thing with OJB 1.0 RC5 the FK fields are set by OJB to null. Is creating the reference object the right thing to do or is there some way to

Re: Do I need to create reference objects when storing object?

2004-01-26 Thread Jurica Viskovic
Thanks Armin for taking the time Ok, this is my reporitory_user.xml class-descriptor class=model.obrazci.Bmg21 table=MG21 field-descriptor id=1 name=mg21_xx column=MG21_XX jdbc- type=INTEGER primarykey=true/ field-descriptor id=2 name=mg21_id column=MG21_ID jdbc- type=VARCHAR/

Re: Do I need to create reference objects when storing object?

2004-01-26 Thread Armin Waibel
Hi Jure, in a first scan I found - an 'access' attribute in reference-descriptor of Bmg21. I think reference-descriptor doesn't support such an attribute. - in reference-descriptor you set auto-update 'false'. Thus OJB will not store references automatic and set mg21_id, mg21_str to null.

Re: Do I need to create reference objects when storing object?

2004-01-26 Thread Jurica Viskovic
Hy Armin Thank you for replaying so quickly. About the 'access' attribute in reference-descriptor of Bmg21. That's my stupidity because I read in some blog that it could help and I forgotten to move it later on. Object Bmt05 object exists. So there is no problem there. Going through the

Re: Do I need to create reference objects when storing object?

2004-01-26 Thread Armin Waibel
Hi again, I will write some tests for the problem and try to fix it (if possible ;-)) before new release. regards, Armin Jurica Viskovic wrote: Hy Armin Thank you for replaying so quickly. About the 'access' attribute in reference-descriptor of Bmg21. That's my stupidity because I read

RE: Do I need to create reference objects when storing object?

2004-01-26 Thread Manukyan, Sergey
-Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 5:04 AM To: OJB Users List Subject: Re: Do I need to create reference objects when storing object? Hi Jure, in a first scan I found - an 'access' attribute in reference-descriptor of Bmg21. I think

Re: Do I need to create reference objects when storing object?

2004-01-24 Thread Armin Waibel
Hi Jure, Jurica Viskovic wrote: Please help! In the previous versions of OJB it wasnt necessary to create reference object when storing object that has reference but when I try the same thing with OJB 1.0 RC5 the FK fields are set by OJB to null. Is creating the reference object the

Do I need to create reference objects when storing object?

2004-01-22 Thread Jurica Viskovic
Please help! In the previous versions of OJB it wasnt necessary to create reference object when storing object that has reference but when I try the same thing with OJB 1.0 RC5 the FK fields are set by OJB to null. Is creating the reference object the right thing to do or is there some way to