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