[Hibernate] hibernateext/console

2005-08-23 Thread Max Rydahl Andersen
Hi, I was getting tired of just keeping a separate module for the console core just so the build process were stupid and even minor changes could be hour long work Thus hibernateext/console is now empty and moved into org.hibernate.eclipse to be with its friends (needs to be in the same ja

[Hibernate] JUnit Struts Hibernate Error

2005-08-23 Thread Luiz Godoy
Here is it, i´m trying to test an action, but the error seem to come from Hibernate.I´m using Eclipse IDE. testLoadPage(test.com.bm.pcs.corporativo.actions.TestFamiliaDNCAction)servletunit.struts.ExceptionDuringTestError: An uncaught exception was thrown during actionExecute() at servletunit.struts

[Hibernate] Default values for collection of elements

2005-08-23 Thread Emmanuel Bernard
I've finally implemented the most awaited features of annotations ever ( even before JDK 5 came out ;-) ): collection of primitive and core type. I'm wondering the appropriate defaults though: @Entity public class MyClass { @Id getId() {...} @OneToMany public Set getElements() {...} create

Re: [Hibernate] Default values for collection of elements

2005-08-23 Thread Max Rydahl Andersen
Hurray! ;) I'm +1 to have annotation-hbm features to be as similar to hibernate specific features. So "elt" sounds find by me. /max I've finally implemented the most awaited features of annotations ever ( even before JDK 5 came out ;-) ): collection of primitive and core type. I'm wond

RE: [Hibernate] Default values for collection of elements

2005-08-23 Thread Gavin King
"elt" is horrible :) Who fucking came up with that ridiculous default anyway? What an idiot. ... Oh, that's right -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Rydahl Andersen Sent: Tuesday, 23 August 2005 4:46 PM To: Emmanuel Bernard; hiber

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 v