Re: Ease of use for annotations

2007-06-30 Thread Andy Jefferson
It would be nice if we could have @Column(DEPARTMENT) instead of @Column(name=DEPARTMENT). I've no particular problem with that but would point out that when you need to specify more than just the column name you would have @Column(value=DEPARTMENT jdbc-type=BLOB) i.e value and not name (and

Re: Ease of use for annotations

2007-06-30 Thread Craig L Russell
Hi Andy, On Jun 29, 2007, at 11:58 PM, Andy Jefferson wrote: It would be nice if we could have @Column(DEPARTMENT) instead of @Column(name=DEPARTMENT). I've no particular problem with that but would point out that when you need to specify more than just the column name you would have

Re: Ease of use for annotations

2007-06-30 Thread Andy Jefferson
Hi Craig, This might be controversial, but my Annotations Feature Request #3 is to allow the annotation to declare which element is the default if there is only one value specified. In this case, it would be name. I was thinking of the same thing :-) Can't see why that should be

Ease of use for annotations

2007-06-29 Thread Craig L Russell
Another thing about annotations -- xml. In xml, we have field name=department column=DEPARTMENT/ or field name=department column name=DEPARTMENT/ /field In annotations, it's @Field ([EMAIL PROTECTED](name=DEPARTMENT)) Department department; or @Column(name=DEPARTMENT) Department