Feel free to post it to the list! We will review it!
thanks, Thomas
TINE Houari (OBJECTIVA) wrote:
Hi,
No it's a personnal work. I finish tests and I propose it to anyone...
Houari
-----Message d'origine-----
De : Rice Yeh [mailto:[EMAIL PROTECTED] Envoy� : lundi 24 f�vrier 2003 12:46
� : OJB Users List
Objet : Re: easy 1-1, 1-m association and inheritance
Hi, Have this modification already checked into cvs repository?
Regards, Rice
--- "TINE Houari (OBJECTIVA)" <[EMAIL PROTECTED]> wrote:
Hi,
I have modied the source code of OJB to enable mapping 1:1 and 1:m association without adding variable instance (that model fk) in business object. I also adding the possiblity to allow automatically inheriance without any effort. For later, the idea is to model extended classes as 1:1 association with blank name. Actually, this changes work fine for loading. For updating and deleting, tests are under way. Houari TINE.
-----Message d'origine-----
De : TINE Houari (OBJECTIVA)
[mailto:[EMAIL PROTECTED] Envoy� : mercredi 19 f�vrier 2003 14:01
� : [EMAIL PROTECTED]
Objet : dirty 1-1 association
Hi,
In the thesis "Javal baseeruv objektide p�sivuse
kiht Jakamar" p. 17, there
is a good sentence:
"Adding persistence into the classes themselves is
not always possible -
they might be third party components." But OJB violates this principles
by forces introducing a
link modeling foreign
key for 1-1 association and inheritence.
For 1-1 association from A to B, it is necessary to
add a reference (calss
B) in class A to model the association: OK. But adding an integer (for
example) to model a database
foreig in the class A
is a very very bad thing. There is any way to avoid
that monstrosity.
Houari TINE
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
