THANKS!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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/
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.
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
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
-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
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
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