Re: [Hibernate] Default values for collection of elements

2005-08-23 Thread Emmanuel Bernard
Max, some defaults are already different from hbm and we have more info I guess. I had that in mind, but the rule has to be pretty primitive: remove an extra s if in small letter and if the property size is more than 1 add an exception for children, bijoux, choux, genoux, cayoux, ... It should

Re: [Hibernate] Default values for collection of elements

2005-08-23 Thread Max Rydahl Andersen
Then use element or value and be done with it ;) Or how about eltval? /max Max, some defaults are already different from hbm and we have more info I guess. I had that in mind, but the rule has to be pretty primitive: remove an extra s if in small letter and if the property size is more

RE: [Hibernate] Default values for collection of elements

2005-08-23 Thread Gavin King
Can you de-pluralize the name of the association? I guess that is too hard... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Tuesday, 23 August 2005 4:39 PM To: hibernate-devel@lists.sourceforge.net Subject: [Hibernate] Default