Hello, I'm not sure if we can implement MAP in JPA. I think it's nothing more than Unidirectional one to one mapping. Only difference is that you are using natural keys not surrogate keys. Maybe we should put effort on using natural keys instead of surrogate keys. Am I overlooking something very special and important on MAP?
Pavel On Thu, Dec 11, 2008 at 12:49 PM, Patrik Nordwall <[EMAIL PROTECTED]> wrote: > > It would be great if you can do this. Nobody else has signed up for it. > /Patrik > > > polly.c.chang wrote: >> >> Hi Patrik, >> >> I was just curious--is somebody working on this feature? If not, when do >> you think it might be done and how much work do you think it is to >> implement? >> >> I'm just trying to think ahead. As more people are starting to use what >> I've built on top of Sculptor, I'm sure that they are going to be wanting >> this feature. So I am just trying to figure out if this is coming soon or >> if I might need to build it myself. If I need to build it, then I want to >> know if this is a quick thing or something that requires more thought and >> planning. >> >> I imagine that the following parts need to change (as usual): >> >> * metamodel: Reference and Attribute need to be able to store the Map >> information. >> >> * dsl: the xtxt definition obviously needs to change for >> Reference and Attribute >> >> * generator: the DomainObject and Hibernate templates need to change. >> There also need to be changes in DslTransformation. >> >> * dsl.editor: maybe some extra validation? >> >> Do you think that this is a complex feature? Any other tips, hints, or >> warnings? >> >> Thanks, >> Polly >> >> >> >> >> Patrik Nordwall wrote: >>> >>> Yes, this is something we should support. I have added a request in jira: >>> http://www.fornax-platform.org/tracker/browse/CSC-250 >>> >>> >> >> > > -- > View this message in context: > http://www.nabble.com/Using-a-Map-in-an-entity-or-value-object-tp19380474s17564p20954003.html > Sent from the Fornax-Platform mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Fornax-developer mailing list > Fornax-developer@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fornax-developer > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer