Yeah it would probably be a tagged value that allowed one to specify if they
wanted a hibernate component or a normal entity generated when composition
was specified, it just needs to be added to the hbm.xml templates.  I guess
the only advantage is speed somewhat since you don't have to do a join...we
effectively have the same thing with 2 tables (in a one-to-one) since
cascade deletes are made when composition is specified as well, its just not
in one table like the hibernate component would be.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wouter Zoons
Sent: Friday, January 28, 2005 5:09 PM
To: [email protected]
Subject: RE: [Andromda-user] HowTo: class composition TO hibernate component
-> possible?

I see .. hmm, how would that translate into the spring cartridge ? since
composition affects the eager/lazy loading strategy choice there

Would the spring cartridge generate the same mappings as the hibernate
cartridge if we would have such a feature ?

> -----Original Message-----
> From: Chad Brandon [mailto:[EMAIL PROTECTED]
> Sent: Saturday, January 29, 2005 1:05 AM
> To: [EMAIL PROTECTED]; '[EMAIL PROTECTED]'; andromda-
> [EMAIL PROTECTED]
> Subject: RE: [Andromda-user] HowTo: class composition TO hibernate
> component -> possible?
> 
> No actually I think associations (with composition) would be correct, it
> just allows the composed object to be part of the same table instead of
> making it a different table (just different implementation database wise).
> 




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to