How is middlegen going to do this decision in a proper way? Obviously it cant know that e.g. 'OrderStatus' is singularis unless it have a dictinary of some kind. (I could of course change it to orderstate). Unforunately there is a lot of non-pluraris words ending with a 's'.
I agree with Hal, reccomending the developer to not use pluraris is better. If they don't, its their problem. Yesterday i went through my tables and changed some of them to sigularis - but still I have some tables ending with 's', which is not pluraris and will never be :) BTW: I cant find the sources in cvs neither on sourceforge (except for the Source XReference). -Jon > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Aslak > Hellesoy > Sent: 12. desember 2002 16:59 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [Middlegen-user] cutting of my bean names > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Hal > > Deadman > > Sent: 12. desember 2002 16:48 > > To: [EMAIL PROTECTED] > > Subject: RE: [Middlegen-user] cutting of my bean names > > > > > > Isn't it generally understood to be poor naming to have plural names for > > database tables? Middlegen should probably give people the benefit of the > > While I might agree with you, I dont't think that's the reality. I have > never seen a legacy database without plural names in the table. That's the > situation, Middlegen tries to deal with it. It manages to deal with it in > most situations, but not all. > > > doubt and assume that any table names ending in S are not plural. I can't > > recall ever seeing a table that made it to production with a plural name. > > The pluralization is still important for 1-M and M-M CMR > > relationship field > > method names but table names should probably be left alone. > > > > Hal > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Aslak > > > Hellesoy > > > Sent: Thursday, December 12, 2002 9:19 AM > > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > > Subject: RE: [Middlegen-user] cutting of my bean names > > > > > > Middlegen tries to singularise/pluralise english words. When > > > it fails, you > > > must tell it what to do: > > > > > > http://sourceforge.net/mailarchive/forum.php?thread_id=1408018 > > > &forum_id=231 > > > > > > > May that be the reason of this error messag?: > > > > I Depend On: > > > > Depends On Me: org.jboss.deployment.DeploymentException: No > > > > ejb-relationship-ro > > > > le-name element found, ObjectName: > > > > jboss.j2ee:jndiName=smartpool.Accessprofileit > > > > emLocalHome,service=EJB > > > > state: FAILED > > > > I Depend On: > > > > Depends On Me: org.jboss.deployment.DeploymentException: No > > > > ejb-relationship-ro > > > > le-name element found, ObjectName: > > > > jboss.j2ee:jndiName=smartpool.Accounttransact > > > > ionLocalHome,service=EJB > > > > state: FAILED > > > > > > > > > > I don't see how that could be related. Maybe you can get help > > > with JBoss in > > > JBoss' own forums? > > > > > > Aslak > > > > > > > -Jon > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by: > > > > With Great Power, Comes Great Responsibility > > > > Learn to use your power at OSDN's High Performance Computing Channel > > > > http://hpc.devchannel.org/ > > > > _______________________________________________ > > > > middlegen-user mailing list > > > > [EMAIL PROTECTED] > > > > https://lists.sourceforge.net/lists/listinfo/middlegen-user > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: > > > With Great Power, Comes Great Responsibility > > > Learn to use your power at OSDN's High Performance Computing Channel > > > http://hpc.devchannel.org/ > > > _______________________________________________ > > > middlegen-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/middlegen-user > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: > > With Great Power, Comes Great Responsibility > > Learn to use your power at OSDN's High Performance Computing Channel > > http://hpc.devchannel.org/ > > _______________________________________________ > > middlegen-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/middlegen-user > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > middlegen-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/middlegen-user > > ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user