"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; hibernate-devel@lists.sourceforge.net
Subject: Re: [Hibernate] Default values for collection of elements


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 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


-------------------------------------------------------
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

Reply via email to