Re: [Modelj-user] Bug when running demo on oracle + feature proposals.
Status: Beta
Brought to you by:
tom_tessier
|
From: Tom T. <tom...@ho...> - 2003-05-31 00:53:40
|
Hi Piotr! Thanks for the heads-up on the oracle reserved word.. I also that's a good idea about specifying the size field of strings as an optional param.. maybe it will make it in the next release. As for generating 1-1 relationships as though they were 1-N, I'm not sure I like that idea. Any opinions? Tom >From: Piotr Walendziak <pwa...@ya...> >To: mod...@li... >Subject: [Modelj-user] Bug when running demo on oracle + feature proposals. >Date: Wed, 28 May 2003 01:21:58 -0700 (PDT) >MIME-Version: 1.0 >Received: from sc8-sf-list2.sourceforge.net ([66.35.250.206]) by >mc9-f37.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Wed, 28 May >2003 01:22:12 -0700 >Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] >helo=sc8-sf-list1.sourceforge.net)by sc8-sf-list2.sourceforge.net with >esmtp (Exim 3.31-VA-mm2 #1 (Debian))id 19KwCd-0008TK-00; Wed, 28 May 2003 >01:22:31 -0700 >Received: from web9603.mail.yahoo.com ([216.136.129.182])by >sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian))id >19KwC6-0001MJ-00for <mod...@li...>; Wed, 28 May 2003 >01:21:58 -0700 >Received: from [62.89.78.130] by web9603.mail.yahoo.com via HTTP; Wed, 28 >May 2003 01:21:58 PDT >X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP >Message-ID: <200...@we...> >Sender: mod...@li... >Errors-To: mod...@li... >X-BeenThere: mod...@li... >X-Mailman-Version: 2.0.9-sf.net >Precedence: bulk >List-Help: <mailto:mod...@li...?subject=help> >List-Post: <mailto:mod...@li...> >List-Subscribe: ><https://lists.sourceforge.net/lists/listinfo/modelj-user>,<mailto:mod...@li...?subject=subscribe> >List-Id: <modelj-user.lists.sourceforge.net> >List-Unsubscribe: ><https://lists.sourceforge.net/lists/listinfo/modelj-user>,<mailto:mod...@li...?subject=unsubscribe> >List-Archive: ><http://sourceforge.net/mailarchive/forum.php?forum=modelj-user> >Return-Path: mod...@li... >X-OriginalArrivalTime: 28 May 2003 08:22:12.0562 (UTC) >FILETIME=[3D4C9320:01C324F2] > >Hello! > >First I would like to thank for developing this >project.I think it is a great approach for developing >flexible end-to-end apps. > >1.I was running your demo on oracle and I have >discovered following problem: >There couldn't be created table for 'User' bean >because 'user' is a reserved word in oracle. > >2.You could add a nice feature as length property for >string attributes, because now it is created with >default length. I think it is only change in >jbosscmp-jdbc.vm: >#foreach ($bean in $beans) > <entity> > <ejb-name>$bean.name</ejb-name> > <table-name>$bean.name.toUpperCase()</table-name> >#foreach ($attribute in $bean.attribute) >#if ( ( $attribute.type.toLowerCase() == 'string' ) && >$attribute.length != '' ) > <cmp-field> > <field-name>${attribute.name}</field-name> > <jdbc-type>VARCHAR</jdbc-type> > <sql-type>VARCHAR($attribute.length)</sql-type> > </cmp-field> >#end >#end > >3.Link-to-single-object could be also modelled better, >now I think I can model this only by child >relationship collection with own constraint that it >contains only one element.Better would be to have it >modelled as complex attribute (reference to bean). > > >Best regards > >Piotr Walendziak > >===== >Piotr Walendziak >e-mail: pwa...@ya... > >__________________________________ >Do you Yahoo!? >Yahoo! Calendar - Free online calendar with sync to Outlook(TM). >http://calendar.yahoo.com > > >------------------------------------------------------- >This SF.net email is sponsored by: ObjectStore. >If flattening out C++ or Java code to make your application fit in a >relational database is painful, don't do it! Check out ObjectStore. >Now part of Progress Software. http://www.objectstore.net/sourceforge >_______________________________________________ >Modelj-user mailing list >Mod...@li... >https://lists.sourceforge.net/lists/listinfo/modelj-user _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |