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 values for collection of elements 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<String> getElements() {...} create a MyClass_elements table having a MyClass_id column (default for EJB3) and an 'elt' column 'elt' is the default for HBM, but 'elements' might be a better one. Any opinion, better defaults? ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel