Hi Chad, Saturday, April 30, 2005, 2:01:29 AM, you wrote:
CBJ> [ http://jira.andromda.org/browse/HIB-16?page=history ] CBJ> Chad Brandon closed HIB-16: CBJ> --------------------------- CBJ> Resolution: Fixed CBJ> This was closed already, but since this backup is old CBJ> (unfortunately), I need to close this issue again. >> Component Support >> ----------------- >> >> Key: HIB-16 >> URL: http://jira.andromda.org/browse/HIB-16 >> Project: Hibernate Cartridge >> Type: New Feature >> Versions: 3.0RC1 >> Reporter: Davin Coleman >> Assignee: Chad Brandon >> Fix For: 3.0 RC2 >> Attachments: UsageofMonetarAmount.jpg, >> andromda-src-3.0-RC2-SNAPSHOT with EmbeddedValues.zip >> >> The Hibernate cartridge should support Hibernate components. I >> propose that an association marked as composition should identify >> the component. >> The component attributes should be persisted within the same >> table as the containing element. has this already been changed in the sources? What if a user has an old DB schema where a composition is a foreign key relationship and NOT mapped into the same table? Is there a tagged value to switch off this new kind of mapping? Personally, I think the component mapping is a good thing, unless the component class is fairly simple. By the way: What if the component class (see class B in the example below) owns a collection of objects of another class C? Does Hibernate handle this correctly? A and B have to share the same table AB, C must have its own table with foreign key to the AB table. Example: A <.>-----> (1) B <.>-------> (n) C Cheers... Matthias --- Matthias Bohlen "Consulting that helps project teams to succeed..." Internet: http://www.mbohlen.de/ [EMAIL PROTECTED] Phone: +49 (170) 772 8545 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Andromda-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-devel
