Hi Richard, > Conclusion: Based on the arguments above, my opinion is that > we should not do > any UUID "magic" in the templates themselves. What do you think?
OK, I agree, but: How do I specify that I don't want to have the primary key attribute as an argument to ejbCreate()? If I want to do the key generation magic internally to the bean, I can't allow the caller to pass in an "id" or something like that. Cheers... Matthias > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Richard Kunze > Sent: Friday, August 01, 2003 4:37 PM > To: [EMAIL PROTECTED] > Subject: Re: [Andromda-devel] New EJB cartridge > > ... > I have to disagree here. For one, UUIDs are not always > appropriate (example: A > "User" entity with the login name as primary key, or any > entity with a > complex primary key). ... ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel